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

Refactor deletion of Git-based domains #291

Open
miq-bot opened this issue Jan 23, 2019 · 4 comments
Open

Refactor deletion of Git-based domains #291

miq-bot opened this issue Jan 23, 2019 · 4 comments

Comments

@miq-bot
Copy link
Member

miq-bot commented Jan 23, 2019

Refactor based on comments in: ManageIQ/manageiq#12539 (comment)


This issue was moved to this repository from ManageIQ/manageiq#12696, originally opened by @gmcculloug

@miq-bot
Copy link
Member Author

miq-bot commented Jul 29, 2019

This issue has been automatically marked as stale because it has not been updated for at least 6 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

Thank you for all your contributions!

@miq-bot
Copy link
Member Author

miq-bot commented Jun 11, 2020

This issue has been automatically marked as stale because it has not been updated for at least 3 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

Thank you for all your contributions! More information about the ManageIQ triage process can be found in the traige process documentation.

@miq-bot miq-bot added the stale label Jun 11, 2020
@Fryguy
Copy link
Member

Fryguy commented Jul 6, 2020

@NickLaMuro Is this already done via the work we did with embedded ansible?

@NickLaMuro
Copy link
Member

@Fryguy My guess is "no" since I think the issues you had that caused this issue to be created were with naming/queue conventions outside the context of app/models/git_repository.rb and lib/git_worktree.rb.

ManageIQ/manageiq#12539 (comment)

I'm ok with merging as is, but there are some inconsistencies with the existing queueing (or task) pattern.

  • The model's destroy method should do the actual destroy (not on the queue)
  • The model should have a destroy_queue that calls destroy but through the queue.
  • The API and UI code should call destroy_queue
  • The external facing API endpoint should just be destroy (that is the User has no idea it's running off of the queue other than the fact that they get a task back)

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

6 participants