<feed xmlns='http://www.w3.org/2005/Atom'>
<title>fedora-packager.git/src/pyfedpkg, branch 4/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-01-22T15:34:20+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=105be007b4771dc108fb74ac589576a144b4e3af'/>
<id>105be007b4771dc108fb74ac589576a144b4e3af</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-01-21T16:09:46+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=f786d564df7ed99d7a1464d4ba360392fd0bfc84'/>
<id>f786d564df7ed99d7a1464d4ba360392fd0bfc84</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-01-21T16:09:46+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=0df9afbeb29ea708ad5b4f16551076f1c9d43f56'/>
<id>0df9afbeb29ea708ad5b4f16551076f1c9d43f56</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-01-21T12:59:34+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=b231f35b52825383c8b8d8f33b8fe651d78489b8'/>
<id>b231f35b52825383c8b8d8f33b8fe651d78489b8</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>Merge branch '4/initial-merge' into 4/ALL</title>
<updated>2011-01-21T10:09:39+00:00</updated>
<author>
<name>Hans Ulrich Niedermann</name>
<email>hun@n-dimensional.de</email>
</author>
<published>2011-01-21T10:09:39+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ndim/public_git/fedora-packager.git/commit/?id=7a70e8ab79d46d06271c75be1f726fd164cbf9ce'/>
<id>7a70e8ab79d46d06271c75be1f726fd164cbf9ce</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add build time man page generator</title>
<updated>2011-01-21T10:05:31+00:00</updated>
<author>
<name>Hans Ulrich Niedermann</name>
<email>hun@n-dimensional.de</email>
</author>
<published>2011-01-21T10:05:31+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ndim/public_git/fedora-packager.git/commit/?id=a730ad030b7d37b4e50a0cb8072beb1d99cf5158'/>
<id>a730ad030b7d37b4e50a0cb8072beb1d99cf5158</id>
<content type='text'>
Add man page generator to generate a man page at build time.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add man page generator to generate a man page at build time.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add "fedpkg clone --initial-merge" argument</title>
<updated>2011-01-21T10:00:22+00:00</updated>
<author>
<name>Hans Ulrich Niedermann</name>
<email>hun@n-dimensional.de</email>
</author>
<published>2010-08-10T11:13:15+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ndim/public_git/fedora-packager.git/commit/?id=39b9be927e4cbbfeed1ee2e28a1badde0db5c19d'/>
<id>39b9be927e4cbbfeed1ee2e28a1badde0db5c19d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add "fedpkg initial-merge" command</title>
<updated>2011-01-21T10:00:22+00:00</updated>
<author>
<name>Hans Ulrich Niedermann</name>
<email>hun@n-dimensional.de</email>
</author>
<published>2010-08-09T13:14:08+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ndim/public_git/fedora-packager.git/commit/?id=bd606390a95b6364b90dedcc4bfcbd6d3ad76dd6'/>
<id>bd606390a95b6364b90dedcc4bfcbd6d3ad76dd6</id>
<content type='text'>
usage: fedpkg.py initial-merge [-h] [-n] [repo-path [repo-path ...]]

Performs a 'git merge' of all git branches with the same content
(i.e. with the same package spec files, patch files, etc.), regardless
of their history.

This is useful after Fedora's dist-cvs to dist-git migration, as often
different branches have different histories but the same content on the
filesystem.

After these initial merges of identical trees, future merges between
the branches will be a lot easier: Easier to follow in the dependency
graph, and easier to perform without conflicts.

positional arguments:
  repo-path      Path to a repo to initial-merge

optional arguments:
  -h, --help     show this help message and exit
  -n, --dry-run  Whether to run without actually merging
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
usage: fedpkg.py initial-merge [-h] [-n] [repo-path [repo-path ...]]

Performs a 'git merge' of all git branches with the same content
(i.e. with the same package spec files, patch files, etc.), regardless
of their history.

This is useful after Fedora's dist-cvs to dist-git migration, as often
different branches have different histories but the same content on the
filesystem.

After these initial merges of identical trees, future merges between
the branches will be a lot easier: Easier to follow in the dependency
graph, and easier to perform without conflicts.

positional arguments:
  repo-path      Path to a repo to initial-merge

optional arguments:
  -h, --help     show this help message and exit
  -n, --dry-run  Whether to run without actually merging
</pre>
</div>
</content>
</entry>
<entry>
<title>switch away from list2cmdline()</title>
<updated>2011-01-06T05:14:33+00:00</updated>
<author>
<name>Dennis Gilmore</name>
<email>dennis@ausil.us</email>
</author>
<published>2011-01-06T05:14:33+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ndim/public_git/fedora-packager.git/commit/?id=071b8d99ab4cbdd6cfaff6f73a89a6892f18dd13'/>
<id>071b8d99ab4cbdd6cfaff6f73a89a6892f18dd13</id>
<content type='text'>
Patch from Toshio
https://bugzilla.redhat.com/show_bug.cgi?id=667433#c7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Patch from Toshio
https://bugzilla.redhat.com/show_bug.cgi?id=667433#c7
</pre>
</div>
</content>
</entry>
<entry>
<title>Import subprocess from stdlib when possible</title>
<updated>2011-01-06T05:13:39+00:00</updated>
<author>
<name>Dennis Gilmore</name>
<email>dennis@ausil.us</email>
</author>
<published>2011-01-06T05:13:39+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ndim/public_git/fedora-packager.git/commit/?id=e04146557c91df8986de1a7f391dab86622cb59f'/>
<id>e04146557c91df8986de1a7f391dab86622cb59f</id>
<content type='text'>
patch from Toshio
https://bugzilla.redhat.com/show_bug.cgi?id=667433#c6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
patch from Toshio
https://bugzilla.redhat.com/show_bug.cgi?id=667433#c6
</pre>
</div>
</content>
</entry>
</feed>
