<feed xmlns='http://www.w3.org/2005/Atom'>
<title>fedora-packager.git/src/pyfedpkg, branch 5/ndim-misc</title>
<subtitle>fedpkg fixes</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ndim/public_git/fedora-packager.git/'/>
<entry>
<title>Have PackageModule require a path</title>
<updated>2011-02-05T00:24:12+00:00</updated>
<author>
<name>Hans Ulrich Niedermann</name>
<email>hun@n-dimensional.de</email>
</author>
<published>2011-01-22T15:34:20+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ndim/public_git/fedora-packager.git/commit/?id=4526d5b713fb36e30e79784b8f1182e6062b45b0'/>
<id>4526d5b713fb36e30e79784b8f1182e6062b45b0</id>
<content type='text'>
The definition of the --path argument to fedpkg in parse_cmdline()
already makes os.getcwd() the default value for args.path.

Thus, we can get rid of the code providing the very same default
for the path in PackageModule.__init__().

Also, make sure the path actually exists and is a directory.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The definition of the --path argument to fedpkg in parse_cmdline()
already makes os.getcwd() the default value for args.path.

Thus, we can get rid of the code providing the very same default
for the path in PackageModule.__init__().

Also, make sure the path actually exists and is a directory.
</pre>
</div>
</content>
</entry>
<entry>
<title>Run SRPM rpmbuild via fakeroot</title>
<updated>2011-02-05T00:24:12+00:00</updated>
<author>
<name>Hans Ulrich Niedermann</name>
<email>hun@n-dimensional.de</email>
</author>
<published>2011-01-21T14:47:34+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ndim/public_git/fedora-packager.git/commit/?id=67cb4cd783f2ac7dd78801b495d73bbeafd4462e'/>
<id>67cb4cd783f2ac7dd78801b495d73bbeafd4462e</id>
<content type='text'>
This avoids unnecessary lookup of non-existing users and
the resulting error messages in mock builds.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This avoids unnecessary lookup of non-existing users and
the resulting error messages in mock builds.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix permission of files to be put into SRPM</title>
<updated>2011-02-05T00:24:12+00:00</updated>
<author>
<name>Hans Ulrich Niedermann</name>
<email>hun@n-dimensional.de</email>
</author>
<published>2011-01-21T14:52:42+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ndim/public_git/fedora-packager.git/commit/?id=267d1e8d17b1845d311c401cfcff13da25643005'/>
<id>267d1e8d17b1845d311c401cfcff13da25643005</id>
<content type='text'>
Add an option '--fix-permissions' to the 'fedpkg srpm' call.

If the '--fix-permissions' option is not given, the behaviour
of 'fedpkg srpm' does not change at all.

If the '--fix-permissions' option is given, fedpkg runs

   git ls-files -z | xargs -0 chmod a+r

before running the normal rpmbuild command. This makes sure
that all 0600 files the filesystem are changed to the usual
0644 before including them in .src.rpm file.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add an option '--fix-permissions' to the 'fedpkg srpm' call.

If the '--fix-permissions' option is not given, the behaviour
of 'fedpkg srpm' does not change at all.

If the '--fix-permissions' option is given, fedpkg runs

   git ls-files -z | xargs -0 chmod a+r

before running the normal rpmbuild command. This makes sure
that all 0600 files the filesystem are changed to the usual
0644 before including them in .src.rpm file.
</pre>
</div>
</content>
</entry>
<entry>
<title>Unify --md5 parameter handling</title>
<updated>2011-02-05T00:24:12+00:00</updated>
<author>
<name>Hans Ulrich Niedermann</name>
<email>hun@n-dimensional.de</email>
</author>
<published>2011-01-21T12:59:34+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ndim/public_git/fedora-packager.git/commit/?id=3738d0af3674b700122265ce173b23ae80d4e31c'/>
<id>3738d0af3674b700122265ce173b23ae80d4e31c</id>
<content type='text'>
Unify handling of the --md5 parameter between the two targets using it:
'fedpkg local' and 'fedpkg srpm'.

If no --md5 parameter is given, then the default hashtype is used, as
determined in PackageModule.__init__() ('md5' for el5 and el6, and
'sha256' for everything else).

If an --md5 parameter is given, then use the 'md5' hashtype.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Unify handling of the --md5 parameter between the two targets using it:
'fedpkg local' and 'fedpkg srpm'.

If no --md5 parameter is given, then the default hashtype is used, as
determined in PackageModule.__init__() ('md5' for el5 and el6, and
'sha256' for everything else).

If an --md5 parameter is given, then use the 'md5' hashtype.
</pre>
</div>
</content>
</entry>
<entry>
<title>Comment typo fix</title>
<updated>2011-02-01T15:23:24+00:00</updated>
<author>
<name>Hans Ulrich Niedermann</name>
<email>hun@n-dimensional.de</email>
</author>
<published>2011-01-22T17:17:38+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ndim/public_git/fedora-packager.git/commit/?id=fbb974e6a61c56766a98c940f28bc70a8dd97003'/>
<id>fbb974e6a61c56766a98c940f28bc70a8dd97003</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Catch a traceback when trying to build from local branch</title>
<updated>2011-01-31T19:59:36+00:00</updated>
<author>
<name>Jesse Keating</name>
<email>jkeating@redhat.com</email>
</author>
<published>2011-01-31T19:59:36+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ndim/public_git/fedora-packager.git/commit/?id=6c9206d6e9f64b2626b3d7f81780a7cf7879b37c'/>
<id>6c9206d6e9f64b2626b3d7f81780a7cf7879b37c</id>
<content type='text'>
When the local branch doesn't have a merge point, catch people trying to
build from a remote url.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When the local branch doesn't have a merge point, catch people trying to
build from a remote url.
</pre>
</div>
</content>
</entry>
<entry>
<title>Catch the case where there is no branch merge point (#622592)</title>
<updated>2011-01-30T23:13:35+00:00</updated>
<author>
<name>Jesse Keating</name>
<email>jkeating@redhat.com</email>
</author>
<published>2011-01-30T23:13:35+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ndim/public_git/fedora-packager.git/commit/?id=1a07f1cd355eb2a7d0f398e984771b22b56df6fc'/>
<id>1a07f1cd355eb2a7d0f398e984771b22b56df6fc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Catch the case where there is no branch merge (#619979)"</title>
<updated>2011-01-30T23:13:04+00:00</updated>
<author>
<name>Jesse Keating</name>
<email>jkeating@redhat.com</email>
</author>
<published>2011-01-30T23:13:04+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ndim/public_git/fedora-packager.git/commit/?id=442fdd1dddf16ba63b4eff98bcb9583ab8841003'/>
<id>442fdd1dddf16ba63b4eff98bcb9583ab8841003</id>
<content type='text'>
This reverts commit 6734b0afba8cc8361392fd40b5b46a11ce0bce09.
Fixing a bad commit message
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 6734b0afba8cc8361392fd40b5b46a11ce0bce09.
Fixing a bad commit message
</pre>
</div>
</content>
</entry>
<entry>
<title>Catch the case where there is no branch merge (#619979)</title>
<updated>2011-01-30T23:07:02+00:00</updated>
<author>
<name>Jesse Keating</name>
<email>jkeating@redhat.com</email>
</author>
<published>2011-01-30T23:07:02+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ndim/public_git/fedora-packager.git/commit/?id=6734b0afba8cc8361392fd40b5b46a11ce0bce09'/>
<id>6734b0afba8cc8361392fd40b5b46a11ce0bce09</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix whitespace</title>
<updated>2011-01-30T22:52:37+00:00</updated>
<author>
<name>Jesse Keating</name>
<email>jkeating@redhat.com</email>
</author>
<published>2011-01-30T22:52:37+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ndim/public_git/fedora-packager.git/commit/?id=01137bb7d221de836a0caba93249685b235320af'/>
<id>01137bb7d221de836a0caba93249685b235320af</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
