Skip to content

Add --repo-branch support#3

Open
20100 wants to merge 240 commits into
bklarson:masterfrom
jenkinsci:master
Open

Add --repo-branch support#3
20100 wants to merge 240 commits into
bklarson:masterfrom
jenkinsci:master

Conversation

@20100

@20100 20100 commented Nov 14, 2017

Copy link
Copy Markdown

Sometimes repo is pulled from internal git repository instead of google. And can use pulled from another branch branch than master. The --repo-branch parameter can be use to retrieve repo from a specific branch.

Bjarke Freund-Hansen and others added 30 commits February 23, 2012 14:24
Fixed NPE in RevisionState.hashCode()
Made the existing constructor of ProjectState private, and created a new
named constructor which caches the instances of ProjectState. This ensures
that no two identical ProjectStates will exist.
Testing for equality and that caching of ProjectState object instances
works.
Implemented the readReslove() method in ProjectState, such that the
cache is used when objects are deserialized by xstream from disk on
jenkins startup.
- current branch option(-c) is fetch only current branch from server
  if this option is enabled, sync operation will be more faster
- quiet option(-q) is more quiet. you can't see tag and branch information
  if this option is enabled, log file will be more smaller
... for current branch and quiet repo options.
Check the beginning of the localManifest field.  If it starts with
legal XML preamble <?xml then use it literally.  Otherwise assume
it is an URL, and fetch the URL.
Add support for repo group command (repo init -g)
hudson is semi dead and doesn't build with jre7
so people know who to poke
abioteau and others added 30 commits March 11, 2022 08:20
Fix issue JENKINS-68818.
The value of an environment variable can't be greater than MAX_ARG_STRLEN, which is PAGE_SIZE * 32, aka 131072 bytes.
When a custom repo version is used (repoUrl parameter), `repo init` is
called with --repo-url=* and --no-repo-verify, to allow for unsigned
versions of the repo tool. `repo sync` does `repo selfupdate`
automatically; so it also needs the --no-repo-verify parameter.
Currently, `repo sync` ends up reverting back to the last signed release
tag, which is inconsistent with `repo init` allowing unsigned versions.
The primary usecase of repo is AOSP development, however objects in
AOSP can often get quite large, a lot of firmware and proprietary blobs
can be well above 100 MiB which is the GitHub limit.
JDK 25 was a bit too optimistic with this code version.
… only manifests repo (#77)

Co-authored-by: Robert Sandell <sandell.robert@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.