gimrr.git
5 years agogit-mr-update: owner's tags moved to mrlib
Frantisek Hrbata [Wed, 16 Dec 2020 16:42:04 +0000 (17:42 +0100)]
git-mr-update: owner's tags moved to mrlib

Signed-off-by: Frantisek Hrbata <frantisek@hrbata.com>
5 years agogit-mr-tag: don't allow users to add reserved tags
Frantisek Hrbata [Wed, 16 Dec 2020 16:32:37 +0000 (17:32 +0100)]
git-mr-tag: don't allow users to add reserved tags

This would be caught by git-mr-update, but let's inform users about
this while the tag is created.

Signed-off-by: Frantisek Hrbata <frantisek@hrbata.com>
5 years agogit-mr-update: use reserved tag names from mrlib
Frantisek Hrbata [Wed, 16 Dec 2020 16:32:16 +0000 (17:32 +0100)]
git-mr-update: use reserved tag names from mrlib

Signed-off-by: Frantisek Hrbata <frantisek@hrbata.com>
5 years agomrlib: move reserved tag names to mrlib
Frantisek Hrbata [Wed, 16 Dec 2020 16:31:36 +0000 (17:31 +0100)]
mrlib: move reserved tag names to mrlib

Signed-off-by: Frantisek Hrbata <frantisek@hrbata.com>
5 years agogit-mr-update: check that MR in in-reply-to header matches RM ref
Frantisek Hrbata [Wed, 16 Dec 2020 11:11:35 +0000 (12:11 +0100)]
git-mr-update: check that MR in in-reply-to header matches RM ref

Signed-off-by: Frantisek Hrbata <frantisek@hrbata.com>
5 years agogit-mr-reply: don't add rev to read comments if user replies to himself
Frantisek Hrbata [Wed, 16 Dec 2020 10:42:31 +0000 (11:42 +0100)]
git-mr-reply: don't add rev to read comments if user replies to himself

Signed-off-by: Frantisek Hrbata <frantisek@hrbata.com>
5 years agogit-mr-comment-list: don't list user's own comments as new
Frantisek Hrbata [Wed, 16 Dec 2020 10:39:24 +0000 (11:39 +0100)]
git-mr-comment-list: don't list user's own comments as new

Signed-off-by: Frantisek Hrbata <frantisek@hrbata.com>
5 years agogit-mr-reply: initial implementation
Frantisek Hrbata [Wed, 16 Dec 2020 09:58:18 +0000 (10:58 +0100)]
git-mr-reply: initial implementation

Signed-off-by: Frantisek Hrbata <frantisek@hrbata.com>
5 years agomrlib.py: interpret new lines for MR description while generating mbox
Frantisek Hrbata [Wed, 16 Dec 2020 09:47:37 +0000 (10:47 +0100)]
mrlib.py: interpret new lines for MR description while generating mbox

Signed-off-by: Frantisek Hrbata <frantisek@hrbata.com>
5 years agomrlib.py: add patches2mrs helper
Frantisek Hrbata [Wed, 16 Dec 2020 09:47:01 +0000 (10:47 +0100)]
mrlib.py: add patches2mrs helper

Signed-off-by: Frantisek Hrbata <frantisek@hrbata.com>
5 years agogit-mr-comment-show: initial implementation
Frantisek Hrbata [Tue, 15 Dec 2020 11:43:53 +0000 (12:43 +0100)]
git-mr-comment-show: initial implementation

5 years agogit-mr-comment-list: add --new-only option
Frantisek Hrbata [Tue, 15 Dec 2020 09:52:59 +0000 (10:52 +0100)]
git-mr-comment-list: add --new-only option

Signed-off-by: Frantisek Hrbata <frantisek@hrbata.com>
5 years agogit-mr-comment-list: initial implementation
Frantisek Hrbata [Mon, 14 Dec 2020 17:08:25 +0000 (18:08 +0100)]
git-mr-comment-list: initial implementation

Signed-off-by: Frantisek Hrbata <frantisek@hrbata.com>
5 years agomrlib.py: add comments2mrs
Frantisek Hrbata [Thu, 10 Dec 2020 17:34:26 +0000 (18:34 +0100)]
mrlib.py: add comments2mrs

Signed-off-by: Frantisek Hrbata <frantisek@hrbata.com>
5 years agomrlib: really verify the revs in verify_commits
Frantisek Hrbata [Thu, 10 Dec 2020 16:20:31 +0000 (17:20 +0100)]
mrlib: really verify the revs in verify_commits

Signed-off-by: Frantisek Hrbata <frantisek@hrbata.com>
5 years agogit-mr-sendmail: remove forgotten debug print
Frantisek Hrbata [Thu, 10 Dec 2020 16:16:27 +0000 (17:16 +0100)]
git-mr-sendmail: remove forgotten debug print

Signed-off-by: Frantisek Hrbata <frantisek@hrbata.com>
5 years agomrlib: add verify_comments
Frantisek Hrbata [Thu, 10 Dec 2020 16:15:35 +0000 (17:15 +0100)]
mrlib: add verify_comments

Signed-off-by: Frantisek Hrbata <frantisek@hrbata.com>
5 years agodoc: remove git-mr-mbox.txt.bak
Frantisek Hrbata [Tue, 8 Dec 2020 18:57:49 +0000 (19:57 +0100)]
doc: remove git-mr-mbox.txt.bak

Signed-off-by: Frantisek Hrbata <frantisek@hrbata.com>
5 years agogit-mr-update: add checks for mr ref
Frantisek Hrbata [Tue, 8 Dec 2020 16:56:11 +0000 (17:56 +0100)]
git-mr-update: add checks for mr ref

Also extend the current checks for other refs.

Signed-off-by: Frantisek Hrbata <frantisek@hrbata.com>
5 years agomrlib: check mr and user values while loading tags
Frantisek Hrbata [Tue, 8 Dec 2020 16:54:48 +0000 (17:54 +0100)]
mrlib: check mr and user values while loading tags

Signed-off-by: Frantisek Hrbata <frantisek@hrbata.com>
5 years agogit-mr-push: push mr ref with tags
Frantisek Hrbata [Tue, 8 Dec 2020 13:20:39 +0000 (14:20 +0100)]
git-mr-push: push mr ref with tags

Signed-off-by: Frantisek Hrbata <frantisek@hrbata.com>
5 years agogit-mr-fetch: fetch mr ref with tags
Frantisek Hrbata [Tue, 8 Dec 2020 13:19:51 +0000 (14:19 +0100)]
git-mr-fetch: fetch mr ref with tags

Signed-off-by: Frantisek Hrbata <frantisek@hrbata.com>
5 years agogit-mr-remove: remove mr ref along with tags
Frantisek Hrbata [Tue, 8 Dec 2020 13:17:20 +0000 (14:17 +0100)]
git-mr-remove: remove mr ref along with tags

mr ref contains tags which cannot be modified, so remove it aloing
with tags.

Signed-off-by: Frantisek Hrbata <frantisek@hrbata.com>
5 years agogit-mr-show: don't add mr and commit hash info to tags
Frantisek Hrbata [Tue, 8 Dec 2020 13:13:17 +0000 (14:13 +0100)]
git-mr-show: don't add mr and commit hash info to tags

MR hash and commit hash tags are now added in mrlib.load_tags, so
there is no need to add them explicitly.

Signed-off-by: Frantisek Hrbata <frantisek@hrbata.com>
5 years agomrlib: load commit tags from git in load_tags
Frantisek Hrbata [Tue, 8 Dec 2020 13:10:16 +0000 (14:10 +0100)]
mrlib: load commit tags from git in load_tags

Originally commit info, like subject, was stored as a tag and created
by git-mr-create. It looks like that calling git one more time does not
have such performance impact, so let's just load all the data from git.

Signed-off-by: Frantisek Hrbata <frantisek@hrbata.com>
5 years agogit-mr-create: store mr tags to separate ref
Frantisek Hrbata [Tue, 8 Dec 2020 13:06:46 +0000 (14:06 +0100)]
git-mr-create: store mr tags to separate ref

Tags which cannot be changed, like base, commits or commits count, are
stored under new mr ref. Also don't store commit subjects and other
info in tags. Let's get them directly from git in mrlib.load_tags.

Signed-off-by: Frantisek Hrbata <frantisek@hrbata.com>
5 years agogit-mr-show: add vn format
Frantisek Hrbata [Thu, 3 Dec 2020 17:43:29 +0000 (18:43 +0100)]
git-mr-show: add vn format

All tag values should have newlines escaped. This format allows
to diplay values with newline interpreted.

Signed-off-by: Frantisek Hrbata <frantisek@hrbata.com>
5 years agogit-mr-create: escape newline in all tags, not only in MR description
Frantisek Hrbata [Thu, 3 Dec 2020 17:25:51 +0000 (18:25 +0100)]
git-mr-create: escape newline in all tags, not only in MR description

Signed-off-by: Frantisek Hrbata <frantisek@hrbata.com>
5 years agogit-mr-create: add check for already existing MR
Frantisek Hrbata [Thu, 3 Dec 2020 13:27:20 +0000 (14:27 +0100)]
git-mr-create: add check for already existing MR

Signed-off-by: Frantisek Hrbata <frantisek@hrbata.com>
5 years agoInitial commit
Frantisek Hrbata [Tue, 1 Dec 2020 13:23:13 +0000 (14:23 +0100)]
Initial commit

Signed-off-by: Frantisek Hrbata <frantisek@hrbata.com>