Re: New release format for targetcli

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 22, 2011 at 10:42:31AM +0200, Jerome Martin wrote:
> Andy,
> 
> On Thu, Sep 22, 2011 at 6:58 AM, Andy Grover <agrover@xxxxxxxxxx> wrote:
> > Hi Jerome,
> > [...]
> > Sounds good, but please see:
> >
> > http://fedoraproject.org/wiki/Packaging:SourceURL
> >
> > Basically, RPM assumes an upstream download URL. If this is possible for
> > you to provide then it would make life a little easier.
> 
> I'll see what I can arrange.

The idea is that every project should do somewhat frequent (depending on
the development pace) releases, and do tarballs for that.  Pretty much
every software project I know works that way, and it really helps
packagers or anyone else consuming it.  For example for the xfs
userspace we have a script that does all the releasing in one go:

 - update the documentation with the release date
 - tag the git tree
 - build the tarball

Here's the script:

---
#!/bin/bash
#
# Automate generating a new release
#

version=${PKG_MAJOR}.${PKG_MINOR}.${PKG_REVISION}
date=`date +"%-d %B %Y"`

echo "Updating CHANGES"
sed -e "s/${version}.*/${version} (${date})/" doc/CHANGES > doc/CHANGES.tmp && \
	mv doc/CHANGES.tmp doc/CHANGES

echo "Commiting CHANGES update to git"
git commit -s -a -m "${version} release"

echo "Tagging git repository"
git tag -s -a -m "${version} release" v${version}

echo "Creating source tarball"
make dist

echo "Done."
echo "Please remember to push out tags using \"git push --tags\""

--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux