<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tools/git-repo.git/error.py, branch v2.11</title>
<subtitle>Mirror of gerrit.googlesource.com/git-repo</subtitle>
<id>https://git.enea.com/cgit/tools/git-repo.git/atom?h=v2.11</id>
<link rel='self' href='https://git.enea.com/cgit/tools/git-repo.git/atom?h=v2.11'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/'/>
<updated>2020-02-12T06:36:40+00:00</updated>
<entry>
<title>Fix blank line issues reported by flake8</title>
<updated>2020-02-12T06:36:40+00:00</updated>
<author>
<name>David Pursehouse</name>
<email>dpursehouse@collab.net</email>
</author>
<published>2020-02-12T06:20:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=819827a42ddb364f98c3a1a7eae2536dc54bc4cc'/>
<id>urn:sha1:819827a42ddb364f98c3a1a7eae2536dc54bc4cc</id>
<content type='text'>
- E301 expected 1 blank line
- E302 expected 2 blank lines
- E303 too many blank lines
- E305 expected 2 blank lines after class or function definition
- E306 expected 1 blank line before a nested definition

Fixed automatically with autopep8:

  git ls-files | grep py$ | xargs autopep8 --in-place \
    --select E301,E302,E303,E305,E306

Manually fix issues in project.py caused by misuse of block comments.

Change-Id: Iee840fcaff48aae504ddac9c3e76d2acd484f6a9
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/254599
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
Tested-by: David Pursehouse &lt;dpursehouse@collab.net&gt;
</content>
</entry>
<entry>
<title>manifest: add basic path checks for &lt;copyfile&gt; &amp; &lt;linkfile&gt;</title>
<updated>2020-02-04T20:34:01+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@google.com</email>
</author>
<published>2019-08-01T03:32:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=04122b7261319dae3abcaf0eb63af7ed937dc463'/>
<id>urn:sha1:04122b7261319dae3abcaf0eb63af7ed937dc463</id>
<content type='text'>
Reject paths in &lt;copyfile&gt; &amp; &lt;linkfile&gt; that point outside of their
respective scopes.  This validates paths while parsing the manifest
as this should be quick &amp; cheap: we don't access the filesystem as
this code runs before we've synced.

Bug: https://crbug.com/gerrit/11218
Change-Id: I8e17bb91f3f5b905a9d76391b29fbab4cb77aa58
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/232932
Tested-by: Mike Frysinger &lt;vapier@google.com&gt;
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
Reviewed-by: Michael Mortensen &lt;mmortensen@google.com&gt;
</content>
</entry>
<entry>
<title>set default file encoding to utf-8</title>
<updated>2019-06-13T14:30:52+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@google.com</email>
</author>
<published>2019-06-13T06:30:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=f601376e13e6beca7ab8d660e00d6c14714f305f'/>
<id>urn:sha1:f601376e13e6beca7ab8d660e00d6c14714f305f</id>
<content type='text'>
There's no reason to support any other encoding in these files.
This only affects the files themselves and not streams they open.

Bug: https://crbug.com/gerrit/10418
Change-Id: I053cb40cd3666ce5c8a0689b9dd938f24ca765bf
</content>
</entry>
<entry>
<title>error: fix typos</title>
<updated>2015-06-04T00:21:16+00:00</updated>
<author>
<name>Anthony King</name>
<email>anthonydking@slimroms.net</email>
</author>
<published>2015-06-03T15:59:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=be4456cf249f29371eef41bed4e15f6d3c1a2cc0'/>
<id>urn:sha1:be4456cf249f29371eef41bed4e15f6d3c1a2cc0</id>
<content type='text'>
Change-Id: I09c47024ef54c360ea3c15c5d4f169e13444e412
</content>
</entry>
<entry>
<title>More verbose errors for NoManifestExceptions.</title>
<updated>2014-03-11T05:33:43+00:00</updated>
<author>
<name>Dan Sandler</name>
<email>dsandler@android.com</email>
</author>
<published>2014-03-09T17:20:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=53e902a19b0b80e07ac55966d13c5c84c5b0e8ce'/>
<id>urn:sha1:53e902a19b0b80e07ac55966d13c5c84c5b0e8ce</id>
<content type='text'>
The old "manifest required for this command -- please run
init" is replaced by a more helpful message that lists the
command repo was trying to execute (with arguments) as well
as the str() of the NoManifestException. For example:

&gt; error: in `sync`: [Errno 2] No such file or directory:
&gt; 	'path/to/.repo/manifests/.git/HEAD'
&gt; error: manifest missing or unreadable -- please run init

Other failure points in basic command parsing and dispatch
are more clearly explained in the same fashion.

Change-Id: I6212e5c648bc5d57e27145d55a5391ca565e4149
</content>
</entry>
<entry>
<title>Raise a NoManifestException when the manifest DNE</title>
<updated>2012-11-16T02:50:11+00:00</updated>
<author>
<name>Conley Owens</name>
<email>cco3@android.com</email>
</author>
<published>2012-11-16T01:33:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=75ee0570da09abb1d2bbefe0d25f0560727e6b71'/>
<id>urn:sha1:75ee0570da09abb1d2bbefe0d25f0560727e6b71</id>
<content type='text'>
When a command (eg, `repo forall`) expects the manifest project to
exist, but there is no manifest, an IOException gets raised.  This
change defines a new Exception type to be raised in these cases and
raises it when project.py fails to read the manifest.

Change-Id: Iac576c293a37f7d8f60cd4f6aa95b2c97f9e7957
</content>
</entry>
<entry>
<title>More coding style cleanup</title>
<updated>2012-10-22T03:30:14+00:00</updated>
<author>
<name>David Pursehouse</name>
<email>david.pursehouse@sonymobile.com</email>
</author>
<published>2012-10-11T07:44:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=5c6eeac8f0350fd6b14cf226ffcff655f1dd9582'/>
<id>urn:sha1:5c6eeac8f0350fd6b14cf226ffcff655f1dd9582</id>
<content type='text'>
Fixing more issues found with pylint.  Some that were supposed to
have been fixed in the previous sweep (Ie0db839e) but were missed:

C0321: More than one statement on a single line
W0622: Redefining built-in 'name'

And some more:

W0631: Using possibly undefined loop variable 'name'
W0223: Method 'name' is abstract in class 'name' but is not overridden
W0231: __init__ method from base class 'name' is not called

Change-Id: Ie119183708609d6279e973057a385fde864230c3
</content>
</entry>
<entry>
<title>Coding style cleanup</title>
<updated>2012-10-09T10:45:30+00:00</updated>
<author>
<name>David Pursehouse</name>
<email>david.pursehouse@sonymobile.com</email>
</author>
<published>2012-09-24T03:15:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=8a68ff96057ec58e524a3e41a2d8dca7b5d016bc'/>
<id>urn:sha1:8a68ff96057ec58e524a3e41a2d8dca7b5d016bc</id>
<content type='text'>
Fix the following issues reported by pylint:

C0321: More than one statement on a single line
W0622: Redefining built-in 'name'
W0612: Unused variable 'name'
W0613: Unused argument 'name'
W0102: Dangerous default value 'value' as argument
W0105: String statement has no effect

Also fixed a few cases of inconsistent indentation.

Change-Id: Ie0db839e7c57d576cff12d8c055fe87030d00744
</content>
</entry>
<entry>
<title>Remove `ImportError` class</title>
<updated>2012-10-04T08:31:09+00:00</updated>
<author>
<name>David Pursehouse</name>
<email>david.pursehouse@sonymobile.com</email>
</author>
<published>2012-10-03T06:47:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=b926116a1483d04df99252ed02418bf8e58094a3'/>
<id>urn:sha1:b926116a1483d04df99252ed02418bf8e58094a3</id>
<content type='text'>
The definition of `ImportError` redefines the Python built-in
class of the same name.

It is not used anywhere, so remove it.

Change-Id: I557ce28c93a3306fff72873dc6f477330fc33128
</content>
</entry>
<entry>
<title>Add manifest groups</title>
<updated>2012-04-13T16:46:00+00:00</updated>
<author>
<name>Colin Cross</name>
<email>ccross@android.com</email>
</author>
<published>2012-03-29T03:15:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=5acde75e5d70b323197ffb2c9d4fdea3612098f5'/>
<id>urn:sha1:5acde75e5d70b323197ffb2c9d4fdea3612098f5</id>
<content type='text'>
Allows specifying a list of groups with a -g argument to repo init.
The groups act on a group= attribute specified on projects in the
manifest.
All projects are implicitly labelled with "default" unless they are
explicitly labelled "-default".
Prefixing a group with "-" removes matching projects from the list
of projects to sync.
If any non-inverted manifest groups are specified, the default label
is ignored.

Change-Id: I3a0dd7a93a8a1756205de1d03eee8c00906af0e5
Reviewed-on: https://gerrit-review.googlesource.com/34570
Reviewed-by: Shawn Pearce &lt;sop@google.com&gt;
Tested-by: Shawn Pearce &lt;sop@google.com&gt;
</content>
</entry>
</feed>
