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

decide fate of dokku_git_sync module #113

Open
ltalirz opened this issue Sep 5, 2021 · 6 comments
Open

decide fate of dokku_git_sync module #113

ltalirz opened this issue Sep 5, 2021 · 6 comments
Labels
enhancement New feature or request

Comments

@ltalirz
Copy link
Member

ltalirz commented Sep 5, 2021

The dokku git:sync command became part of dokku as of version 0.23.0.

The dokku_clone module of the ansible role was changed to use dokku git:sync under the hood already.
The most straightforward path would probably be to keep both dokku_clone and dokku_git_sync and let them reuse the same python code under the hood (only difference: dokku_git_sync should have build: false by default, like the git:sync command).

@ltalirz ltalirz added the enhancement New feature or request label Sep 5, 2021
@josegonzalez
Copy link
Member

I feel like we should deprecate one and only support the official method? And eventually delete the old one.

@josegonzalez
Copy link
Member

We should just delete it. The git-sync plugin isn't even available to anyone except me as the source is private.

@ltalirz
Copy link
Member Author

ltalirz commented Nov 7, 2021

Ok, just to confirm: you propose to delete the dokku_git_sync ansible module, keeping only dokku_clone? Or the other way around?

Given that the underlying dokku command is dokku git:sync, dokku_git_sync would seem to make sense as a name.
On the other hand, dokku_clone is probably what most users of the ansible role were using since it did not require a commercial plugin.

@josegonzalez
Copy link
Member

Yeah delete dokku_git_sync. In theory, that isn't going to break workflows for anyone, as they were already using dokku_clone.

@josegonzalez
Copy link
Member

Okay I think maybe we should just rename to dokku_git_sync. That will make most sense to users looking at the official Dokku commands.

@ltalirz
Copy link
Member Author

ltalirz commented Jan 2, 2023

Agreed!

Let's deprecate dokku_clone in favor of dokku_git_sync, and, after a significant deprecation period (say, 12 months - I assume many people are using dokku_clone), we can delete the dokku_clone module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants