Hi,

I am looking for a tool that lets me associate “keywords” with a
commit.  “Keywords” are names that are associated a commit.  Simple
metadata, in other words.  I’ve already asked about this on Software
Recommendations (StackExchange site).  I’ve copied that below.

# Software Recommendations post

(Link: 
http://softwarerecs.stackexchange.com/questions/39978/tool-to-manage-and-query-keywords-associated-with-git-commits)

I am interested in some tool that lets me store (and delete) “keywords”
associated with a commit.  By “keyword” I simply mean simple names, like
tags associated with a video.  (But obviously I cannot use the word
“tag”, since that’s already a technical term for something else in Git.)

These would be examples of keywords, with description/explanation in
parentheses:

    reviewed (The commit has been reviewed by someone.)
    builds (The commit builds; not compiler errors etc.)
    feature (The commit adds a new feature.)
    docs (The commit affects the project’s documentation.)
    configuration (The commit affects the configuration of the project.)

## Wanted features

- Able to add keywords to a commit.
- Able to delete keywords.
- Able to both add and delete keywords without having to “rewrite” a
  commit.  In other words, the keywords shouldn’t be (exclusively)
  stored some place like the commit message, since then I would have to
  make a new commit if I wanted to add or delete a keyword.
- Able to filter a set of commits based on the existence (or absence) of
  keywords.  For example, a log of commit messages based on that
  filtering, or integration with existing tools like Git-log.
- Search for commits based on keywords.
- Probably more.

## Possible implementation

One way to implement this would be
using [Git-notes](https://git-scm.com/docs/git-notes).  That way one
would be able to fulfill the criteria of being to both add and remove
keywords, which you can’t do if you put the keywords directly in the
commit message.

## Possible design and implementation

One way to implement this would be using [Git-notes].  That way one
would be able to fulfill the criteria of being to both add and remove
keywords, which you can’t do if you put the keywords directly in the
commit message.

[Git-notes]: https://git-scm.com/docs/git-notes

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to