Hi, I hope this time I got it right. Is there some kind of style-guide I can refer to in future ?Great idea ! Thanks a lot. Originally it was not planned to alter the results once committet, but this way it would even be possible to rescan a commit with a different tool and merge the results. Git would also be able to use delta-encoding when packing what can be considered extremly efficient since most probably most scan-results won't differ much. I am currently wondering where to store the reference to such a sub-repository. It certainly is a head, but I would like to avoid anyone commiting code into this "branch". Maybe I will create a new directory .git/refs/annotations. When thinking about this very elegant way to handle meta-data, I got another idea: The quality assurance system also works distributed. For scalability reasons there are multiple scanners, each scanning one commit at a time. Do you think git could also be used to handle "locking" ? The scanners would then push a commit with an empty result-file into the annotations-repository so all other scanners who are looking for currently unscanned commits would ignore it in future. When finished the result can be inserted by pushing a subsequent commit. This way one avoids the need for a seperate job-server / protocol. I am not sure how git would perform in such an environment. Do you think the "git-push"-implementation is sufficiently "thread-save" for this ? Or could simultaniously pushing into the same branch f.e. break the repository ? Hmm.. 2 more things on my mind: 1.) Do you intend to add some more advanced metadata-functionality to git in the future or should I send a patch with my implementation once it is finished ? Will be just some scripts using similar commands to what Linus sent me (thanks for that, btw) 2.) Searching for a way to add objects to the database I spent quite a while to find the right command. Don't you think it would be much more intuitive having an git-create-object [-t <type>] [-n] [-f] [-z] [--stdin] <file> [-r <ref-name>] command for creating any type of object (-t blob as default), optionally omitting writing it to the database (-n = no-write) (like git-hash-object), by default validating its input (overriding with -f) (like git-mktag, git-mktree) and maybe even able to add a reference to it with -r (like git-tag). Bj - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Arnd Bergmann | SCHED_IDLE documentation |
| david | Re: limits on raid |
| Jan Engelhardt | Re: [PATCH] CodingStyle: multiple updates |
| Ingo Molnar | Re: Rescheduling interrupts |
git: | |
| Russ Brown | git-svn: Branching clarifications |
| Sam Song | Fwd: [OT] Re: Git via a proxy server? |
| Junio C Hamano | Re: More precise tag following |
| Pierre Habouzit | Re: People unaware of the importance of "git gc"? |
| Michael | Virtual interface |
| Stijn | Re: libiconv problem |
| Stefan Beke | mail dovecot: pipe() failed: Too many open files |
| Amaury De Ganseman | "ping: sendto: No buffer space available" when using bittorrent or another p2p |
| Jim Winstead Jr. | Re: Root Disk/Book Disk Compatibility |
| Darren Senn | Re: Elm |
| Seung-Chul Woo | Is it possible to mount GNU HURD file system as DOS in SLS? |
| David Willmore | Re: Intel, the Pentium and Linux |
