[sugar] release infrastructure

Marco Pesenti Gritti mpgritti
Thu May 22 04:56:49 EDT 2008


On Thu, May 22, 2008 at 1:30 AM, Wade Brainerd <wadetb at gmail.com> wrote:
> Hi, I'm wondering if you guys could provide a publicly accessible area
> on dev.laptop.org for releasing tar.bz2 and .xo files.  It's pretty
> cumbersome to upload files to the Wiki, and I'd rather not use private
> hosting.
>
> Also, is anyone working on a 'setup.py release' command?  What would
> it do?  Something like the following steps would be useful to me:
>
> 1. Verify no uncommitted changes exist (git status returns non-zero).
> 2. Increment version in activity/activity.info.
> 3. setup.py dist
> 4. setup.py tarball (or tar cjvf Bundle-Version.tar.bz2 -T MANIFEST)
> 5. git commit activity/activity.info
> 6. git tag -a Bundle-Version -m 'Bundle-Version release'
> 7. git push --all --tags
> 7. scp Bundle-Version.{tar.xo} dev.laptop.org:/pub/releases/
>

All sounds good to me. As Morgan suggested checkout the release
command, we can improve it.

I'd also like to have a way to automatically generate NEWS for the
release, from the git log. I had a script which took ticket numbers
from git log and fetched descriptions (subject) from dev.laptop.org,
it's pretty easy to do.

Marco



More information about the Sugar-devel mailing list