Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optional repo file #75

Merged
merged 13 commits into from
Jun 19, 2023
Merged

Optional repo file #75

merged 13 commits into from
Jun 19, 2023

Conversation

sledigabel
Copy link
Contributor

Fixes #74

Adds a new flag for all commands --repos=<filename>, which gives the
ability to select a different file from the default repos.txt one.

@sledigabel sledigabel marked this pull request as ready for review February 16, 2022 22:53
@sledigabel sledigabel requested a review from rnorth February 16, 2022 22:53
@rnorth
Copy link
Collaborator

rnorth commented May 1, 2022

I guess we should also mention this in the README!

Fixes #74

Adds a new flag for all commands `--repos=<filename>`, which gives the
ability to select a different file from the default `repos.txt` one.
- Changed error text to include filename last

Signed-off-by: Sebastien Le Digabel <sledigabel@gmail.com>
catscanner and others added 4 commits May 18, 2023 14:25
The `pr-status` command was added after and needed the extra danse to
include the new repo file option.

Also renamed the `pr_status` package into `prstatus` as gofumpt told me
packages should not include underscores.
https://go.dev/blog/package-names
.. addressing the PR comment.
Also renamed the update_prs package name for the same reason as the
pr_status one.
@sledigabel
Copy link
Contributor Author

There's an issue with foreach, the flags aren't parsed (because of the disabledParsing, as expected)

@sledigabel sledigabel changed the title Optional repo file (WIP) Optional repo file May 24, 2023
Adding a manual parsing of the foreach parameters and extra testing.
Also added some details in the Readme
@sledigabel sledigabel changed the title (WIP) Optional repo file Optional repo file May 26, 2023
@sledigabel sledigabel requested a review from rnorth May 26, 2023 10:03
@sledigabel
Copy link
Contributor Author

There's an issue with foreach, the flags aren't parsed (because of the disabledParsing, as expected)

This is now resolved, but adding a manual parsing of the arguments for foreach.

Copy link
Collaborator

@Dan7-7-7 Dan7-7-7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, adds option to specify alternative repos file.

Copy link
Collaborator

@rnorth rnorth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thanks @sledigabel!

@sledigabel sledigabel merged commit 2dcd7e3 into main Jun 19, 2023
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.

Repos file from command line
5 participants