Comments (1)
metastore is only a tool for storing or applying metadata.
In examples/ directory you can find some scripts helping to some extent using it in scenarios you describe. Check their descriptions:
- git-metapull:
metastore/examples/git-metapull
Lines 3 to 7 in 78dd3ed
- git hook: post-checkout
metastore/examples/hooks/post-checkout
Lines 3 to 4 in d119c8d
- git hook: pre-commit
metastore/examples/hooks/pre-commit
Lines 3 to 15 in 95921e7
There is no metastore documentation regarding this topic beside above mentioned comments in scripts and one paragraph in README file:
Lines 34 to 41 in d2a1530
There is issue #33 for tracking that. Patches are welcomed.
But, I wrote "to some extent", because collisions are effectively merge conflicts (or local forms of them, i.e. how users should integrate their changes with regards to metadata), which need manual intervention/decision, especially if you want some particular behavior.
How to handle merge conflicts is up to the user. Dump action has been introduced in metastore to help investigate stuff (you can dump state stored in .metadata
or in file system for given path).
What we also lack is proper textual format (#6) that would help in such cases, because then you could resolve conflicts using your favorite tools (meld, kdiff3, you name it). Binary formats are not really handy for that.
from metastore.
Related Issues (20)
- Add action to dump metadata in human-readable form (`-d`, `--dump`)
- Fails to build on Arch Linux HOT 1
- Cygwin support HOT 2
- More documentation with exemplary git hooks HOT 1
- Change default installation prefix to /usr/local HOT 1
- Parallelize store action HOT 3
- Add option to show metastore version (`-V`, `--version`) HOT 1
- Store and apply actions fail when user or group ID of some dirs/files in file system has no entry in password or group database HOT 4
- metastore -s fails with SIGABRT if necessary permissions are missing HOT 3
- Mac support HOT 6
- Cygwin and Mingw (Windows) support HOT 3
- Can't change owner when current owner is numeric UID HOT 2
- OpenBSD support
- Reading metadata file with xattrs leads to corruption in memory on 64-bit platforms HOT 7
- Record attributes only for specified dirs/files HOT 1
- Apply action silently proceeds when owner or group of some dirs/files in metadata has no entry in password or group database
- Revamp messages and their verbosity levels
- Introduce OS-agnostic API internally to support different POSIX systems
- Do not skip nanoseconds when applying mtime HOT 1
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 metastore.