?

Log in

No account? Create an account
February 9th, 2001 - LiveJournal Development [entries|archive|friends|userinfo]
LiveJournal Development

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

February 9th, 2001

directories [Feb. 9th, 2001|01:57 am]
LiveJournal Development

lj_dev

[bradfitz]
been reorganizing a lot of directories. /code now just talks about code, and /download is just for talking about clients and screenshots.... all the real files are at /files, which is the chroot for anonymous FTP now.

i have a lot of things moved over to the new directories, but not everything.... did all the /code, the win32 client, most the be client stuff (grahams: your client is now on the download page, thanks for uploading it).

i'm going to be getting it setup so that you guys can upload your stuff via ftp and then some cronjob will scan your directories periodically, look for changes, read a file called FILES or something that'll describe destinations/versions for files, then copy it to all the servers, as well as update web pages with latest versions and stuff. my goal is to make it as painless as possible for you guys to make your code and binaries available, without having to jump through hoops or step on each other's toes.

after the big party tomorrow, i'll finish setting up the new servers, then do this.

in the meantime, start uploadin' stuff. the more stuff you guys upload, the better idea of the directory structure i need to make and how i need to make my ftp->everywhere tool work.

piman, muerte-- i made you both directories. the complete list now is:

/home/devftp/bradfitz
/home/devftp/dystopia
/home/devftp/evan
/home/devftp/grahams
/home/devftp/martmart
/home/devftp/muerte
/home/devftp/piman
/home/devftp/revjim
/home/devftp/scottfreeman
/home/devftp/stompmgood
/home/devftp/visions

anybody else need access?
link11 comments|post comment

file syncin' [Feb. 9th, 2001|04:11 pm]
LiveJournal Development

lj_dev

[bradfitz]
people can upload stuff now and actually have it go somewhere now.

it works like this....

  • everybody can FTP in to ftp.livejournal.com with their LJ username/password
  • but, you need a directory to upload stuff into. ask for this.
  • then, if you want your stuff to go anywhere, you need a "dirsync" priv
  • every so often, a cron job (source) will run which copies stuff from your ftp roots and into all the different web/ftp server's doc roots.
  • existing files can only be replaced for a period of 2 hours, except files named changelog[.txt] or readme[.txt]. the idea is that 1) it's a support nightmare if there's multiple versions of the same filename floating around. the 2 hour grace period is just in case you fucked something up in the packaging. and 2) if your LJ username/password is compromised, people can't replace good binaries with trojans. (although they could upload new ones... yeah yeah)
  • Now, I'm adding a new priv which lets you specify in a LATEST file the latest version of your client and the different versions is can be downloaded in (source, rpm, deb, exe, zip, whatever...) and then the download page will be be updated with correct links into the files area, both HTTP and FTP.
fun fun. questions? comments? requests?

oh yeah, i made pretty .rpm and .deb apache icons...

link8 comments|post comment

navigation
[ viewing | February 9th, 2001 ]
[ go | Previous Day|Next Day ]