-
-
Notifications
You must be signed in to change notification settings - Fork 625
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
New Feature: A Compromise Solution For Reusing common Taskfiles In Different Projects #770
Comments
This is definitely needed, I'm currently storing my included taskfiles in a submodule, and it's a constant pain to keep updating the submodule reference. Fetching it using git or the public APIs for Gitlab/Github would alleviate this issue pretty much completely, especially if it would be possible to use git references like branches, tags or commits to choose what to track. |
Was researching this tool and was looking for a feature like this in the docs. This feature would def make it a strong case to use it over Makefiles. |
Any idea if this might be feasible in the near future? This feature would be very helpful. |
This comment was marked as spam.
This comment was marked as spam.
I recommend checking out how kustomize handles it: |
Hi All! Thanks to everyone for upvoting this issue. It's been the most upvoted issue for quite a while, so I'm happy to say that we're now actively working on an experiment for this! As a result, I'm going to close this issue. You can follow the progress over in the new Remote Taskfiles experiment issue (#1317). |
Background:
reusing common Taskfiles
.remote include
solution doesn't work. I think of a compromise solution.A Compromise Solution:
git
..task/
(or ~/.local/.task/) path has the same name path.local path
directly.git clone
to.task/
( or ~/.local/.task/) path.task sync
, which automatically detects the include section ofTaskfile.yml
and synchronizes updatesmanually
.local path
. There is no difficulty in implementation.Reference:
The text was updated successfully, but these errors were encountered: