<feed xmlns='http://www.w3.org/2005/Atom'>
<title>fedora-packager.git/src, branch 4/local-ops</title>
<subtitle>fedpkg fixes</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ndim/public_git/fedora-packager.git/'/>
<entry>
<title>tests: Basic clone/local/lint test case</title>
<updated>2011-01-22T17:18:05+00:00</updated>
<author>
<name>Hans Ulrich Niedermann</name>
<email>hun@n-dimensional.de</email>
</author>
<published>2011-01-22T17:18:05+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ndim/public_git/fedora-packager.git/commit/?id=df0cd5ba9cd97cc56c2d1447a913f00a6845d4a3'/>
<id>df0cd5ba9cd97cc56c2d1447a913f00a6845d4a3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Comment typo fix</title>
<updated>2011-01-22T17:17:38+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=7f551fc7512f4476077dd5f47b51bea673a304fa'/>
<id>7f551fc7512f4476077dd5f47b51bea673a304fa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>local ops: DEBUG print of WrapArgs object</title>
<updated>2011-01-22T15:34:32+00:00</updated>
<author>
<name>Hans Ulrich Niedermann</name>
<email>hun@n-dimensional.de</email>
</author>
<published>2011-01-22T15:08:20+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ndim/public_git/fedora-packager.git/commit/?id=2471633a54605b7f20da1a8438c91b089e578ff7'/>
<id>2471633a54605b7f20da1a8438c91b089e578ff7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>local ops: Wrap args.user into old getuser() code</title>
<updated>2011-01-22T15:34:32+00:00</updated>
<author>
<name>Hans Ulrich Niedermann</name>
<email>hun@n-dimensional.de</email>
</author>
<published>2011-01-22T15:04:06+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ndim/public_git/fedora-packager.git/commit/?id=cbb28c4a5086fbd1959ac75f7053ed11a97808f8'/>
<id>cbb28c4a5086fbd1959ac75f7053ed11a97808f8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>local ops: wrap args in WrapArgs() object</title>
<updated>2011-01-22T15:34:32+00:00</updated>
<author>
<name>Hans Ulrich Niedermann</name>
<email>hun@n-dimensional.de</email>
</author>
<published>2011-01-22T14:53:21+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ndim/public_git/fedora-packager.git/commit/?id=5372ed6fe3cd64d8196e3b4a2c543ee0f0f2cfca'/>
<id>5372ed6fe3cd64d8196e3b4a2c543ee0f0f2cfca</id>
<content type='text'>
This allows us to intercept access to args values and
do useful once-off actions, or just programmatically
define useful default values.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows us to intercept access to args values and
do useful once-off actions, or just programmatically
define useful default values.
</pre>
</div>
</content>
</entry>
<entry>
<title>local ops: Pass args to PackageModule()</title>
<updated>2011-01-22T15:34:32+00:00</updated>
<author>
<name>Hans Ulrich Niedermann</name>
<email>hun@n-dimensional.de</email>
</author>
<published>2011-01-22T14:45:38+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ndim/public_git/fedora-packager.git/commit/?id=b3c9ed488bf1693bb5509cafaf457499fdf54f4c'/>
<id>b3c9ed488bf1693bb5509cafaf457499fdf54f4c</id>
<content type='text'>
Have PackageModule.__init__() extract the args.path
itself.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Have PackageModule.__init__() extract the args.path
itself.
</pre>
</div>
</content>
</entry>
<entry>
<title>local ops: Basic 'fedpkg local-init' code</title>
<updated>2011-01-22T15:34:32+00:00</updated>
<author>
<name>Hans Ulrich Niedermann</name>
<email>hun@n-dimensional.de</email>
</author>
<published>2011-01-21T20:59:35+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ndim/public_git/fedora-packager.git/commit/?id=78f8116cf07f9849c8034d1c3e10a00adb88aeb7'/>
<id>78f8116cf07f9849c8034d1c3e10a00adb88aeb7</id>
<content type='text'>
'fedpkg local-init' initalizes a local git repo to use with (most)
fedpkg commands.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'fedpkg local-init' initalizes a local git repo to use with (most)
fedpkg commands.
</pre>
</div>
</content>
</entry>
<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>
</feed>
