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

Create new command rit "clean repo local" or "delete repo local" #475

Closed
fabianofernandeszup opened this issue Aug 26, 2020 · 5 comments
Closed
Assignees
Labels
🚧 WIP Work in Progress Hacktoberfest https://hacktoberfest.digitalocean.com/ ✨ feature Suggest a new feature or enhancement to the Ritchie project

Comments

@fabianofernandeszup
Copy link
Contributor

What would you like to add:
Command to clean the local formulas folder.

Why this is necessary:
When the user clones the repository to improve a formula, he build it locally to perform your tests.
As soon as he finishes this, commit the formula and generate a new release, he is unable to use the repo formula because local formulas have priority.
Then this command will be to clean the local formula repo.

@fabianofernandeszup fabianofernandeszup added the ✨ feature Suggest a new feature or enhancement to the Ritchie project label Aug 26, 2020
@kaduartur kaduartur changed the title [Feature] - rit "clean repo local" or "delete repo local" Create new command rit "clean repo local" or "delete repo local" Sep 8, 2020
@GuillaumeFalourd GuillaumeFalourd added the Hacktoberfest https://hacktoberfest.digitalocean.com/ label Sep 16, 2020
@brunonmelo
Copy link

I'm currently work on this issue.

@GuillaumeFalourd
Copy link
Contributor

Ok. I've assigned it to you @brunonmelo
Thank you for contributing ! 👍

@brunonmelo
Copy link

I created a new Pull request for this issue. #597
I'm still need to fix the unit test, so I marked as WIP.

There is a important consideration on the pull request:
I noticed that after you delete your local repo, Ritcher will not build or run your local formula, even if already exists on your workspace. The user will need to execute the command rit build formula to this formula be available again.
It would be greate to have some command that build all the formulas of a repository all at once.

@brunasilvazup brunasilvazup linked a pull request Oct 6, 2020 that will close this issue
@brunonmelo
Copy link

I've just removed the the WIP from title (I can't remove the tag).
This pull request is ready to be reviewed.

@brunasilvazup brunasilvazup added the 🚧 WIP Work in Progress label Oct 23, 2020
@GuillaumeFalourd
Copy link
Contributor

Closed by #675

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/ ✨ feature Suggest a new feature or enhancement to the Ritchie project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants