Re: fedpkg prep

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/01/2010 08:16 PM, Garrett Holmstrom wrote:
> On 01-Sep-10 20:43, Matt McCutchen wrote:
>> Taking the dist value from the branch name is "magical" in the sense
>> that it imposes a new interpretation on an existing datum.  Taking it
>> from a file in the working tree designated for that specific purpose
>> (which I suppose should really be named "dist", not "branch") is not.  I
>> believe taking it from the git configuration file is an abuse of the git
>> configuration file, as I said in reply to Tom.
> 
> In either case one should have the ability to choose which distribution 
> to build for at the time of building without the need to monkey around 
> with branch configurations or configuration files so one can test builds 
> from a given branch on multiple distributions at once.  As far as I can 
> tell, when one wants to work on an update branch that applies to 
> multiple releases one can only use fedpkg to do builds by creating one 
> new branch for every release and then moving them all in lockstep. 
> Luckily one can still call koji or mock directly to bypass fedpkg.

So you're talking about doing a scratch build and using a different koji
target.  The fedpkg build command takes a --target (with --scratch)
which will tell it to use a different target.  scratch-build has this
too.  This should allow you to test with something that has already been
pushed, or by creating srpms and passing those to fedpkg (scratch-)build.


- -- 
Jesse Keating
Fedora -- Freedom² is a feature!
identi.ca: http://identi.ca/jkeating
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkyBVKwACgkQ4v2HLvE71NXVZACgkVqO0YV7AIZ+hzENfEgaluMH
/4YAn2kJdxxXs3Zd7Yb6v0gPhkbW4dxc
=38Zm
-----END PGP SIGNATURE-----
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux