Closed Bug 400984 Opened 17 years ago Closed 16 years ago

stage shift-reloaded requirements for Camino

Categories

(mozilla.org :: FTP: Staging, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mark, Assigned: zach)

References

()

Details

Regarding http://www.justdave.net/dave/2007/10/22/stagemo-shift-reloaded/ and http://weblogs.mozillazine.org/preed/2007/09/ftpmo_shiftreloaded.html :

> The new server will have you chrooted into the staging area, and you will be
> limited to scp, sftp, rsync, and a small subset of file management commands
> (such as mv, cp, chmod, chown, chgrp, etc) invoked via ssh.

For Camino, we've got a couple of requirements on top of this:

 - We need to be able to rm.  For example, when we do release builds, we end
   up with directories like "nightly/latest-1.5.3" which we don't want to
   hang on to indefinitely, and so we rm these symlinks.  We also need to rm
   nightly/latest-WHATEVER when we dead-end branches, and we need to rm
   directories and files in tinderbox-builds when we change build machines
   and builds.  rm isn't included in the list above, I'm hoping that it was
   just an omission and that we will have access to rm and other useful file
   utlities like ls and mkdir.

 - We need to be able to build MD5SUMS files.  Right now, this is easy, we do
   (manually from an interactive shell on stage) md5sum * > MD5SUMS.  Ideally,
   this would be automated: any directory that has an MD5SUMS file will
   periodically see that file updated to incorporate new files, and any file
   that has had its checksum change can trigger an alert.  Currently, we
   have MD5SUMS files in releases and source.  I'd really prefer not having
   to compute an md5sum on some other computer and manually uploading a new
   MD5SUMS file to stage.
We're going to be moving on this really soon...  do you guys have figured out what you need yet?
I'm going to assume you figured something out at this point.  If you need help setting something else up, feel free to reopen.

For reference, the following commands are available inside the jail:

chgrp
chmod
chown
cp
ln
ls
mkdir
mv
rm
rmdir
rsync
scp
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.