-
Notifications
You must be signed in to change notification settings - Fork 83
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
Clarify removal of local packages #543
Conversation
```bash | ||
cd /var/lib/solbuild/local | ||
sudo rm *.eopkg | ||
sudo eopkg index --skip-signing /var/lib/solbuild/local/ --output /var/lib/solbuild/local/eopkg-index.xml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't this is needed. build-local
automatically re-indexes when used anyway.
Maybe it would be needed if you only removed some local packages, and then wanted to use the local repository for installation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, in the spirit of go-task
commands I just learned: go-task build-localindex
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the feedback. I think it's safer to recommend re-indexing whenever someone removes eopkg files. It will help prevent someone's repo being in an unknown state if they come to us for help.
Good point about the go-task, I've updated the command to reflect that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've also changed a couple of other manual commands to be go-task commands, thanks to ermo's reminder
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have go-task list-local
(lists files in Local repo) and go-task clean-local
(removes .eopkgs in local repo) tasks now, so those can be used instead for convenience.
9d36e66
to
22c3833
Compare
Add detail to the steps for clearing packages from the local repository.
22c3833
to
de1c91c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Description
Add detail to the steps for clearing packages from the local repository.