Skip to content
This repository was archived by the owner on Jul 12, 2022. It is now read-only.

Update all formulas repositories at once #594

Closed
GuillaumeFalourd opened this issue Oct 5, 2020 · 2 comments · Fixed by #602
Closed

Update all formulas repositories at once #594

GuillaumeFalourd opened this issue Oct 5, 2020 · 2 comments · Fixed by #602
Assignees
Labels
🚧 WIP Work in Progress Hacktoberfest https://hacktoberfest.digitalocean.com/ 🔨 improvement Improvement in features

Comments

@GuillaumeFalourd
Copy link
Contributor

GuillaumeFalourd commented Oct 5, 2020

What would you like to be added:

The possibility to update all formulas repositories together.

Why is this needed:

Today, the rit update repo command only update one formula repository at a time. It would be interesting to have the possibility to update all repositories with one command:

➜  ~ rit update repo
? Select a repository to update:   [Use arrows to move, type to filter]
> ALL
  commons
  demo
  formulas-insights

And then select which version I want to use for each repo during the execution.

@GuillaumeFalourd GuillaumeFalourd added 🔨 improvement Improvement in features Hacktoberfest https://hacktoberfest.digitalocean.com/ labels Oct 5, 2020
@Harirai
Copy link
Contributor

Harirai commented Oct 8, 2020

Hii @GuillaumeFalourd, I'd like to work on this issue.
Can you guide me and help me get started?
I'm new to the Go language, going through its documentation and trying to understand file: pkg/cmd/update_repo.go.
Am I going in the right direction?

@GuillaumeFalourd
Copy link
Contributor Author

Hi @Harirai

Yes, you're going in the right direction 👍

My suggestion would be for you to test the rit update repo command first, to understand how it works.
Then, think of a solution to execute it only once for all repositories contained in the list.
Moreover, it may not be necessary to ask the user to update a repo that is already with the last available version.

Start with this, and let us know if you have any question.

@brunasilvazup brunasilvazup linked a pull request Oct 13, 2020 that will close this issue
@brunasilvazup brunasilvazup added the 🚧 WIP Work in Progress label Oct 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🚧 WIP Work in Progress Hacktoberfest https://hacktoberfest.digitalocean.com/ 🔨 improvement Improvement in features
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants