Add --repo-branch support#3
Open
20100 wants to merge 240 commits into
Open
Conversation
Fixed NPE in RevisionState.hashCode()
release a bugfix 1.2.1
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
Fix issue JENKINS-64150.
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.
…nment-variables-when-we-can
…estart-jenkins-instance
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.
…orparentversion
JDK 25 was a bit too optimistic with this code version.
… only manifests repo (#77) Co-authored-by: Robert Sandell <sandell.robert@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.