mihaibalint / dfsync Goto Github PK
View Code? Open in Web Editor NEWIntelligent remote directories and files sync
Intelligent remote directories and files sync
When trying to dfsync a container that for some reason has crashed (e.g. previously synced changes contained some bug), I get this error:
<path-to-file> will not sync in <container-name>, container isn't ready: Unknown
As a result, I can't sync files any more (unless I press Ctrl-C or X and let dfsync restore the original container).
Note: This issue was created prior to the release of 0.4.6.
It's likely that developers will want to use dfsync in various environments with various python versions, it would be great if we could use something like tox to at least run the test suite with the most popular versions of python (like those shipped by OS distributions)
Sometimes multiple processes will try and modify pods resulting in a "Conflict" response from the kubernetes API.
Usually the fix for this is to retry the update. Right now, a traceback is generated and dfsync exits.
it turns out that the length and number of command line arguments keeps growing, it would be more user friendly to move some of that into the tools section of pyproject.toml
We have two projects that result in images on harbor with the following names:
/central-hub
/central-hubspot-enricher
Now, if we do a dfsync
to sync central-hub
, we will actually replace the code on both projects. It seems like dfsync
checks only that the image name on Kubernetes starts with the specified image name not that it is exactly what we specified as first parameter.
Awesome work, thanks a lot!
Can we get info on stuff such as:
Thanks a lot for your hard work, this is very helpful!
It would be useful to be able to run two dfsyncs in two different terminals that are syncing two different pods in two different kubernetes clusters on two different projects.
Thanks.
Information such as purpose and installation instructions is welcome
An error is generated
There are many cases to cover when syncing file changes to a destination so a minimal test suite would be a good thing
~/.kube/config is a sensitive file, it's permissions should be at least equivalent to "chmod go-rwx"
Without this, kubectl will also complain when trying tu use that file
Watching dir(s): '.'; press [Ctrl-C] to exit
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner
self.run()
File "/home/.../.venv/lib/python3.9/site-packages/watchdog/observers/api.py", line 199, in run
self.dispatch_events(self.event_queue, self.timeout)
File "/home/.../.venv/lib/python3.9/site-packages/watchdog/observers/api.py", line 372, in dispatch_events
handler.dispatch(event)
File "/home/.../.venv/lib/python3.9/site-packages/watchdog/events.py", line 282, in dispatch
self.event_dispatch_mapevent.event_type
AttributeError: 'FileChangedEventHandler' object has no attribute 'event_dispatch_map'
I was working on a new feature with uncommitted changes and found out only after a while that a new untracked file was not syncing. By looking at dfsync sync --help
it doesn't seem to be possible to sync untracked files.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.