-
Notifications
You must be signed in to change notification settings - Fork 154
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
Mutagen Helper (file based session management app for Mutagen) #109
Comments
@Toilal This is definitely not spam, this is super awesome! I've added a link in the README.md with a short description, but please let me know if there's a better description that you'd prefer. I'll also definitely add a link on the website soon - I'm in the process of rewriting and restructuring the documentation right now. I've also created a Spectrum chat for Mutagen, which is currently empty, but if you'd like to join and inaugurate the General and Sharing channels with a link to Mutagen Helper, that'd be great! I wanted to let you know that Mutagen is going to be adding a new feature in v0.10.0: network forwarding. I'm not sure if this is something that you would want to integrate, but it would probably fit in nicely. It works mostly the same way as synchronization (except that it's unidirectional):
It supports TCP and Unix domain socket forwarding, so you can do crazy things like:
It's still a little experimental, but it mostly re-uses code from the synchronization infrastructure, so I'm hoping it will stabilize quickly. I should have a beta release tagged very soon with these new features along with documentation, so I'll update this issue once that's available. As a result, I've restructured the CLI slightly. I've moved the
Basically nothing has changed except that the commands now live under the
I'd like to remove those hidden commands at some point, but I'm willing to leave them around for a few versions if necessary. Let me know if there's something I can do to help make that transition smoother. One other thing worth mentioning is that Mutagen v0.10.0 is going to abandon TOML and switch to YAML for configuration. Ideally I'd like to reserve the names Thanks again for your awesome contributions over the years! P.S. Sorry for my radio silence - I'm hoping that will be the last time that I'm out of touch for so long. |
Sorry for the late reply, I was on vacation and just read this message. I'll rename the configuration of mutagen-helper no problem. All orchestration stuff from There are still some use case though where mutagen-helper is still useful, so i'll keep using it for now, but with few enhancements to the mutagen orchestration feature, it could be dropped. So here are my feature requests:
Example: If you cwd in Maybe Maybe it should be a pattern too, like |
Thanks, I appreciate it, especially since it's a post facto request.
I think it can be really helpful to have two options - it helps to enforce interface boundaries and keep one option from becoming too tightly integrated. A Python option is more hackable as well, so it might be easier to play with ideas there and implement them in Go if they work out. Even just preserving the order of YAML keys in Go is really painful (Mutagen doesn't do it at the moment), whereas in Python it's trivial via
That makes sense to me. At the moment, projects are sort of a "faux" Mutagen object, just encoded by a UUID in a lock file. At some point, they'll become "real" objects in the Mutagen daemon like sessions, and I agree that having names (or labels, or both) to address those projects will be helpful.
That will probably require more thinking. If it's only creating a single synchronization session, then maybe it should just be a default behavior of the |
I just wanted to say thanks again for the work you've done on this. I still think it's important to have multiple orchestration tools that can be optimized for different workflows. It's also helpful to have an implementation that's in a flexible language like Python, because it makes it easier to experiment with new designs for orchestration. I think it would be really helpful to prototype some of the ideas from above. I'm going to close this to tidy the issue tracker, but (for posterity) I'd like to reference issues #38 and #57 since these are really the biggest barriers to improving the integration experience for external tools like Mutagen Helper and exploring some of these other ideas. |
Sorry if it sounds like spam, but I've just released
1.0.0rc3
for Mutagen Helper that now supports many handy features.Would you consider adding a link to this tool inside
README.md
or on mutagen website ?My use case is the following, that's the reason why I wrote Mutagen Helper, but there are other ways to use it that could best match other developers.
I have a directory
C:\projects
where resides a bunch of git repositories.I need to setup synchronisation sessions for some of them, at some time, but never all at the same time. I'll maybe spend 1 hour on a project, and then 2 hours on another, and so on. I need to quickly start and stop sessions associated to each project to keep good performance.
Synchronisation session are always established to the same beta, but with an additional "path" matching the project name.
mutagen.yml
configuration file contains the following.mutagen
is freshly installed and available in PATH, there's nothing more to configure.Then, you can create sessions for all project directories with the
up
command.And control running sessions with
list
,pause
,resume
ordown
Mutagen
v0.9.0b2+
performances are great, and it makes mutagen the BEST solution to share files in a remote development environment. I was looking for a good solution for about 3 years, i'm pretty sure I have tested all of them, so you can trust me. It should be used by anybody who daily runs Docker Linux containers on Windows or Mac.Please note that I didn't found any issue related to
scan-mode accelerated
(I'm running Windows 10 on alpha, and Ubuntu 18.04 on beta).The text was updated successfully, but these errors were encountered: