[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Savannah-hackers] newest releases
From: |
mathieu |
Subject: |
Re: [Savannah-hackers] newest releases |
Date: |
Mon, 22 Apr 2002 16:03:03 +0200 |
Le lun 22 avr 2002 à 15h25, Loic Dachary a écrit :
mathieu writes:
> using the news system, no ? So people can get news from the
> savannah-hosted project's activities.
>
> What do you think about it ?
Given that the File Release system is not activated, how would
it work ?
we can use the news system and a special "add a release" form > it
would produce a standard news entry for the project with a special
flag, and the box 'newest releases' on the savannah front page would be
made by looking at all the project news with that special flag.
On the savannah home would be shown the project name and version as a
link to the news on the concerned project.
About the file release system, I dont like it much either (I only
manage my project via scripts, so scp do the job better) but what we
can easily do is
- recommand that /upload file have a similar tree (for example
/upload/$project/$version/$package.$format (as .deb, .rpm)
- for project that follow well this kind of tree (to avoid PHP to do
too many test, we can simply recommand that project following it check
a box in a form in the project admin page), do some basic php to get
this showed in a similar way than the SF file release - and we can an
add a form that permit uploading new release via SSL (if feasible). if
it's not feasible, maybe we can propose a form that will give the use a
list of command to do the job, or give him a bash script générated from
the informations he gives on the form.
for example, on the form he give :
- project version
- location serveral package on this HD, as
/home/dudu/myproject/thisfile.tar.bz2 and
home/dudu/myproject/thisfile.tar.gz
And he will get a list of commands as
scp -v /home/dude/myproject/thisfile.tar.bz2
address@hidden:/upload/$project/$version/
scp -v /home/dude/myproject/thisfile.tar.gz
address@hidden:/upload/$project/$version/
or
while read file do
scp -v "$file"
address@hidden:/upload/$PROJECT/$VERSION/
done <<'EOF'
/home/dude/myproject/thisfile.tar.bz2
/home/dude/myproject/thisfile.tar.gz
EOF
and the job is done.
--
mathieu
(( http://humeur.coleumes.org ))
(( http://gpg.coleumes.org GPG KEY ))