Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Site Anniversary and Repositories, Wiki

Name: Admin 2014-08-15 19:43

This site's anniversary is early next month. Have some repos to celebrate.

I've set up a public fossil repository, with wiki access. You are allowed to anonymously clone, commit, edit the wiki, submit tickets (feel free to submit tickets for site changes/suggestions/problems/etc), and so on.

I've made it so you need to login before you can read anything, so that it doesn't get indexed, but the account is shared.

Username: anon
Password: progrider
URL: https://progrider.org/fossil


Fossil is a little different, so here's a quick rundown on how to clone, sync, and commit.

First, run the following to create a local copy of the repo:

$ fossil --admin-user dev clone https://anon:progrider@progrider.org/fossil local-prog
Round-trips: 2 Artifacts sent: 0 received: 6
Clone finished with 550 bytes sent, 1925 bytes received
Rebuilding repository meta-data...
100.0% complete...
project-id: 46fc34ce9eda8159a9c1f29dec95405d24429364
admin-user: dev (password is "XXXXXX")


(the --admin-user option is just so that it doesn't end up taking your UNIX username as the commit username that shows on the wiki, set it to whatever you want; also the "XXXXXX" password above is for your LOCAL repo file, if you try to log into the "master" web repo with it, it won't work)

Then, make a directory that will be your working directory, open the fossil repo db and sync:

$ mkdir working
$ cd working
$ fossil open ../local-prog
$ fossil sync
password for anon: (put in 'progrider')
remember password (Y/n)? Y
Sync with http://anon@progrider.org/fossil
Round-trips: 1 Artifacts sent: 0 received: 0
Sync finished with 426 bytes sent, 335 bytes received


Now you're sync'd to the repo. Create files and work on them normally, then to commit just do:

$ fossil add hello.c
ADDED hello.c
$ fossil commit
Autosync: http://anon@progrider.org/fossil
Round-trips: 1 Artifacts sent: 0 received: 0
Pull finished with 348 bytes sent, 336 bytes received
vim "[...]/ci-comment-D41E8D28A175.txt"
New_Version: efd4d318ba8ec51a4863ccf3acf9f1d1737729d8
Autosync: http://anon@progrider.org/fossil
Round-trips: 1 Artifacts sent: 2 received: 0
Sync finished with 679 bytes sent, 384 bytes received


The editor in your $EDITOR variable will spawn. You can enter a commit message there. Then it will show the sync message above. Your changes will show in the remote repo and in the HTTP wiki/trac as well.

Run fossil update to update your local working copy with the sync'd repo.

Want a private repo?

If you want a repository that only you can commit to, but that others can read from (if you so choose), then you can have an SVN repository. Due to the way that fossil needs to be set up as a passthrough in nginx, I can't really dynamically create repos like I can with svnserve. I might be able to fix this eventually if I can add the required element to nginx's SimpleCGI module, but I'm going to bother for now. As far as git goes, I won't set it up because it's impossible to chroot securely due to needing to interact with ssh, so fuck that shit. All of these services are chrooted and anything I can't chroot doesn't get installed.

If you want a private SVN repo, post the username/password you want in this thread, but encrypt the request using the public key here: http://progrider.org/admin-pub.key

It only took an entire year. Maybe next year we'll have the Scheme BBS.

Name: Anonymous 2014-08-16 11:31

Admin-kike-sama, I can't get it to work.....

Name: >>8 2014-08-16 14:19

Okay, I figured it out. Cookies really are necessary, or you get the error in >>6.

I guess it's time to stop living in 1999 and just accept cookies already.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List