Get ros2.repos file using GitHub API with authentication#26
Merged
christophebedard merged 1 commit intomainfrom Jun 24, 2025
Merged
Conversation
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
Member
Author
|
@fujitatomoya if you've started getting the above error when running |
clalancette
approved these changes
Jun 24, 2025
Contributor
clalancette
left a comment
There was a problem hiding this comment.
Seems reasonable to me.
Member
Author
|
I used these changes to trigger these CI jobs: ros2/ros2_tracing#187 (comment) |
Contributor
|
@christophebedard i have never had this error yet, but thanks for the information. if i see those, i will upgrade the script. |
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.
I tried running
ros-ci-for-prand it failed when trying to fetch theros2.reposfile:The GET request (
repos_response) was returning a 404. I think this is related to the changes GitHub has been making recently to unauthenticated requests, which is what we're currently doing. Since we already have a token, we can use that to make an authenticated request. I just used thegithubmodule to fetch the file.This also includes #25: The branch of github.com/ros2/ros2 for the Rolling distro was changed from
mastertorollingsome time ago (like most ROS 2 repos), so no need to usemasterfor Rolling here.