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

Delete a repo file and all relevant stuff on server if a client repo is missing. #55

Open
phracek opened this issue Jun 29, 2015 · 2 comments
Assignees

Comments

@phracek
Copy link
Contributor

phracek commented Jun 29, 2015

If client remove repo file from /etc/yum.repos.d/ directory and server handles this repository
then client should be informed by warning that repo files is missing.

@phracek phracek added this to the ssds-0.3.0 milestone Jun 29, 2015
@phracek phracek assigned SimonMatej and unassigned wscherfel Aug 6, 2015
@jridky
Copy link
Collaborator

jridky commented Aug 13, 2015

i am afraid, that actual code (which should solve this issue) is useless. You should check cached repo files on server side (by the sended messages from client side) and this is not possible to do, until we will solve caching and database issues

@phracek
Copy link
Contributor Author

phracek commented Sep 7, 2015

What was an idea?

  1. Let's say that on system is first.repo.
  2. We use it for a time.
  3. User delete from a reason first.repo file.
  4. User use it for a time but did not do anything with SSDS. No updates/installations/deletes.
  5. User tries to install / delete / update package.
    What should be an action?
    Either detete the first.repo on server side and all relevant data like cache file etc. or inform user that repo was deleted?

I think that case is the correct on. Like in DNF or YUM case.
I updated it header text.

@phracek phracek changed the title Inform users as a warning if repo file is missing Delete a repo file and all relevant stuff on server if a client repo is missing. Sep 7, 2015
@phracek phracek assigned jridky and unassigned SimonMatej Sep 30, 2015
@phracek phracek removed this from the ssds-0.3.0 milestone Nov 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants