Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 759031 - dev-vcs/repo-2.10: version bump
Summary: dev-vcs/repo-2.10: version bump
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-08 10:48 UTC by Dongsu Park
Modified: 2021-01-06 10:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dongsu Park 2020-12-08 10:48:28 UTC
dev-vcs/repo 2.10 was released, https://groups.google.com/g/repo-discuss/c/rpSfMCl83Sk.
Starting from the release, repo does not support python2 any more.
It means, its "stable" branch in the git repo, https://gerrit.googlesource.com/git-repo/+/refs/heads/stable, is not compatible with repo used by end-users, when the repo's version is 2.9 or older.
That's why end users could end up seeing such issues, immediately after running "repo init".

=====
Traceback (most recent call last):
  File "/mnt/host/source/.repo/repo/main.py", line 56, in <module>
    from subcmds.version import Version
  File "/mnt/host/source/.repo/repo/subcmds/__init__.py", line 38, in <module>
    ['%s' % name])
  File "/mnt/host/source/.repo/repo/subcmds/upload.py", line 27, in <module>
    from hooks import RepoHook
  File "/mnt/host/source/.repo/repo/hooks.py", line 472
    file=sys.stderr)
        ^
SyntaxError: invalid syntax
=====

So we should update dev-vcs/repo to 2.10 in Gentoo.
Comment 1 SpanKY gentoo-dev 2021-01-06 10:13:54 UTC
please see the comment in the repo ebuild:
# NB: The $PV tracks the *repo launcher version*, not the last signed release
# of the repo project.  The launcher only gets a new update when changes are
# made in it.

there are no differences between repo-2.8 & repo-2.10.  if you look at the releases, repo-2.8 is the latest launcher:
https://storage.googleapis.com/git-repo-downloads/repo-2.8
https://storage.googleapis.com/git-repo-downloads/repo-2.9
https://storage.googleapis.com/git-repo-downloads/repo-2.10