Comments (4)
@vtolstov, could you elaborate?
git doesn't offer pre/post checkout hooks or something like that, so it's up to the user to save (and commit or stash) or restore perms before or after swtiching branches. Or you're talking about something else?
from metastore.
I have .metastore file that contains some data. After i switch branch and commit something, metastore modify file. And after switch back - i have many new dirs, perm, files for example.
from metastore.
Firstly, I was wrong and there is post-checkout hook. Sorry for writing previous comment without checking it carefully. Secondly, I haven't used metastore within git yet to be honest (as I was simply using it outside of any VCS; that's why my first need to patch it came), so I'll have to ask you to provide more details (1). Then I'll be able to accept your request and create proper enhancement issues.
What's your metastore setup within repository? Your metastore's metadata file is committed there, right? What hooks related to metastore are you already using while working within repository?
(1) I'll check myself too how it is used within git and try to improve metastore for git usage, I even created topic issue for that already
Mind that metastore alone has no notion of branches and I dare to say it shouldn't ever have it, but we can try to improve side tooling (like examplary git hooks) and add features necessary to handle common cases unsupported without them.
from metastore.
I believe that the matter has been fixed for some time (to the extent that git hooks allow). Just now I only improved it further a little (in 95921e7). Please check a warning in the comments of pre-commit hook, though.
@vtolstov Please check how the hook scripts work for you now.
from metastore.
Related Issues (20)
- 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
- Managing Git workflows in large repos HOT 1
- 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
- Release new version
- Support other attributes 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.