Improving our processes for new contributors.
Orion Poplawski
orion at cora.nwra.com
Thu Jul 16 18:14:17 UTC 2015
On 07/16/2015 11:53 AM, Zbigniew Jędrzejewski-Szmek wrote:
> One thing which I find very annoying when creating new packages is the
> need to use bare rpmbuild commands. I find the split between
> ~/rpmbuild/{SPECS,SOURCES} anachronistic (*), and much prefer the
> fedpkg / distgit approach of having everything in one directory.
> I now usually use the single directory approach from the beginning:
> - git init new-package && cd new-pagkage
> - emacs new-package.spec &
> - spectool -g *spec
> - md5sum ... | tee sources
> - git add new-package.spec sources && git commit -m 'Initial version'
> - git remote add ssh://pkgs.fedoraproject.org/new-package.git
> - fedpkg --dist master {srpm,mockbuild,etc}
>
> Without the fake remote fedpkg fails. I am wondering if there is a way
> to achieve this in a simpler way, or if not, if it would be possible to
> modify fedpkg to support packages which are not part of Fedora out of the
> box. IMHO this would make the process easier and more consistent for
> new (or existing) contributors.
>
> Zbyszek
If I skip creating sources and the git remote add, everything seems to work
fine for me with "--dist f21" instead of "--dist master"
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane orion at nwra.com
Boulder, CO 80301 http://www.nwra.com
More information about the devel
mailing list