Does git tag -l not list that tag?
When you pulled, did you use --rebase and have unpushed changes in your branch?
Cheers,
Devan
On Tue, Apr 20, 2010 at 11:49 AM, Philippe Eveque
<philippe.eveque(a)gmail.com> wrote:
Hi,
I've just updated to the latest Master and I'm sure I'm missing something...
Now:
$make rpms does not work anymore as the rev need to be updated.
it just reports:
[...]
creating dist
tar -cf dist/cobbler-2.0.3.1.tar cobbler-2.0.3.1
gzip -f9 dist/cobbler-2.0.3.1.tar
removing 'cobbler-2.0.3.1' (and everything under it)
mkdir -p rpm-build
cp dist/*.gz rpm-build/
rpmbuild --define "_topdir %(pwd)/rpm-build" \
--define "_builddir %{_topdir}" \
--define "_rpmdir %{_topdir}" \
--define "_srcrpmdir %{_topdir}" \
--define "_specdir %{_topdir}" \
--define '_rpmfilename
%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm' \
--define "_sourcedir %{_topdir}" \
-ba cobbler.spec
error: File /home/eveque/src/cobbler/rpm-build/cobbler-2.0.3.2.tar.gz: No
such file or directory
make: *** [rpms] Error 1
[
Ok, need to move to tito now on.
But that would be nice the old command to build the rpms works with the new
system.
So I've installed tito from epel and tried to run
$ tito build --rpm
ERROR: Tag does not exist locally: [cobbler-2.0.3.2-1]
So I just realized I need the git tag command to return something valid...
Phil.
2010/4/15 Devan Goodwin <dgoodwin(a)rm-rf.ca>
>
> Just pushed some small changes to switch to using Tito to git tag our
> releases and do tgz + rpm builds.
>
>
http://github.com/dgoodwin/tito
>
> For anyone doing development, this just means you can run devel code
> off the latest git head, but install it via rpm if you'd prefer.
>
> 'tito build --rpm' will build the latest tagged release for your arch.
> 'tito build --rpm --test' will build test rpms off the latest git
> HEAD, great for devels who want to deploy via rpms.
>
> Once we go to do a new release:
>
> 'tito tag' will bump the version, auto-gen the spec file changelog
> from commit messages and give you a chance to edit it, then commit and
> git tag.
> 'tito build --srpm' will build a source rpm
>
> With some config changes we can get it set up to tito build --release
> will build the source rpm, commit changes to Fedora CVS and submit all
> the desired Koji builds. Let me know when, and I can help get this set
> up.
>
> I had to tag a new version to get this operational, you'll see a
> cobbler-2.0.3.2-1 tag out there, I don't intend for this to be a
> public release. (although it can be if we'd like to do one now) Will
> try to do some more work to cleanup build process in the coming weeks.
>
> Let me know if you hit any issues.
>
> Cheers,
>
> Devan
>
> --
> Devan Goodwin <dgoodwin(a)rm-rf.ca>
>
http://rm-rf.ca
> _______________________________________________
> cobbler-devel mailing list
> cobbler-devel(a)lists.fedorahosted.org
>
https://fedorahosted.org/mailman/listinfo/cobbler-devel
_______________________________________________
cobbler-devel mailing list
cobbler-devel(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler-devel