[gPXE] Changes to Etherboot Project roles and responsibilities
Marty Connor
mdc at etherboot.org
Wed Apr 7 09:09:07 EDT 2010
On 4/7/10 8:18 AM, Michael Brown wrote:
> On Tuesday 30 March 2010 03:58:48 Marty Connor wrote:
>> In two weeks, you will lose privileged access to all Etherboot Project
>> resources. Specifically, you will no longer have access to your account
>> on our main project server rom.etherboot.org, project server, and you
>> will lose administrative access on other project resources.
>>
>> I am providing a two-week period before this deadline to give you time
>> to copy information to your own servers. Please do not delete
>> information from project resources. It will only create work for
>> myself and others to restore it from backup media.
>
> Marty,
>
> It's now one week since you wrote this message, not two. Please explain why
> you appear to have disabled my account on rom.etherboot.org already.
System monitoring detected and reported activities with serious security
implications for the server. Your account was involved. For forensic
purposes I disabled your account, and preserved its state.
> I still have private content on rom.etherboot.org (such as the sanbootconf
> repository and various scripts such as release.sh) that is not yet copied to
> my own servers.
I'm not sure how the /pub/scm/release.sh counts as "private content".
I have pasted it below verbatim. I do find the fact that you deleted
this short shell script from /pub/scm, thus breaking the git hooks
that use it, to be a curious thing to do.
As for other "private content", I assume you mean the remaining directories
in your home directory. These will be placed in a location you can securely
download them from.
> I was trusting you to keep to your publicly-announced word on this. Was this
> unreasonable of me?
> Michael
The security of project resources takes precedence in this situation.
Please do not attempt to gain further access to the server.
/ Marty /
#!/bin/sh
release_dir=$1
shift
formats="$*"
if [ -z "${release_dir}" ] || [ -z "${formats}" ] ; then
echo "Syntax: $0 release_dir format [format...]"
exit 1
fi
project_name=`basename ${release_dir}`
release_tags=`git tag -l 'v[0-9]*'`
[ -z "${release_tags}" ] && exit 0
for release_tag in ${release_tags} ; do
version=${release_tag:1}
tag_timestamp=`git log --pretty="format:%cD" -1 ${release_tag}`
for format in $formats ; do
output_file=${release_dir}/${project_name}-${version}${format}
[ -f ${output_file} ] && continue
echo Generating ${output_file}...
case $format in
.zip)
git_archive_format="zip"
git_archive_extra="-9"
post_process=cat
;;
.tar.bz2)
git_archive_format="tar"
git_archive_extra=""
post_process="bzip2 -9"
;;
.tar.gz)
git_archive_format="tar"
git_archive_extra=""
post_process="gzip -9"
;;
*)
echo "Unknown format ${format}"
exit 1
;;
esac
git archive --format=${git_archive_format} ${git_archive_extra} \
--prefix=${project_name}-${version}/ ${release_tag} \
| ${post_process} > ${output_file}
touch --date="${tag_timestamp}" ${output_file}
chmod -w ${output_file}
done
done
latest_tag=`for tag in ${release_tags}; do
git log --pretty="format:%ct ${tag}%n" -1 ${tag}
done | sort | tail -1 | cut -d" " -f2`
latest_version=${latest_tag:1}
for format in ${formats} ; do
ln -sf ${project_name}-${latest_version}${format} \
${release_dir}/${project_name}-latest${format}
done
More information about the gPXE
mailing list