Comments (8)
I've created a branch with this change: jnross@1dc0275
It still needs tests to be written, but I want to make sure I'm on the right track before going further.
from synx.
I vouch for that, because most of the time my use case to synx one directory, which contains the source files. This option would make it less frightening to run synx.
from synx.
Yeah this would be extremely useful
Not only that, but when you're working on a long term project and want to start using synx, now it reorganizes your project file and makes it impossible to code review, along with causing annoying merge conflicts later from other people when you've moved their files.
from synx.
I'm thinking about this right now, and I'm at a bit of a mental block. It seems like it would only really make sense to support explicitly --only
'ing groups that live under the main group, or are within a tree that also got fully passed in to the --only
option. The reason for this is that it's not exactly possible to sync a group without having sync'ed its parents as well, or else the paths just won't make sense.
Does that make sense? What do you guys think?
from synx.
As for it being scary to run Synx, I'd just recommend backing up everything in Git always before running it :)
from synx.
It seems like it would only really make sense to support explicitly --only'ing groups that live under the main group, or are within a tree that also got fully passed in to the --only option.
That would have to be the case I believe. Otherwise the file system would provide no organizational benefit (and would probably cause too many name conflicts with the paths and similarly named child groups).
from synx.
Hello all!
I know this is a bit of an old ticket now, but any updates? @jnross: any chance of opening a pull request? I tried running your branch, but it didn't seem to quite work for me, I may have been doing something wrong, or was it still WIP?
from synx.
My branch was a WIP, I found that that it only worked in certain cases. This one is a little tricky to get right and my need for it has disappeared, so I didn't push further.
from synx.
Related Issues (20)
- Crash report: Errno::EEXIST
- Have the synx work in oposite direction as well? HOT 1
- Swift Scripting HOT 2
- Synx can irreversibly remove all your files HOT 1
- *.xcassets files was removed HOT 2
- Not work HOT 1
- Trunk whole path in filename
- Feature request: exclude files HOT 1
- Xcode 8 name
- synx error happens HOT 1
- running synx with --no-color fails and deletes all the files
- Is it possible to separate convert logic into a couple of steps?
- Synx removes empty folder HOT 1
- Sorting isn't localized (ZZ sorts before aa)
- GUI Wrapper App
- Removing bridging header file from project HOT 2
- Since using Synx Xcode Assistant no longer works
- support Mojave in different configurations
- [SPM] The problem with incorrect interaction with Swift Package Manager HOT 3
- Please add me as a contributor to the project HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from synx.