unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH 0/4] nmbug without an upstream repository (and init)
@ 2014-07-06 20:40 W. Trevor King
  2014-07-06 20:40 ` [PATCH 1/4] nmbug: Add a git_with_status helper function W. Trevor King
                   ` (3 more replies)
  0 siblings, 4 replies; 25+ messages in thread
From: W. Trevor King @ 2014-07-06 20:40 UTC (permalink / raw)
  To: notmuch

Currently 'nmbug status' errors out if there is no @{upstream} branch.
To support folks who are just using nmbug locally, add exit code
checking and stderr catching to handle this case appropriately.  The
final commit isn't closely related, but it allows folks to easily
initialize nmbug repositories (e.g. if they want to version-controll
*all* their tags, or tags for a different project).  After this
series, you can run something like:

  export NMBGIT=/tmp/nmbug
  nmbug init
  export NMBPREFIX=''
  nmbug status
  nmbug commit

to create a new repository with all your tags.  Replace the NMBPREFIX
with something else (e.g. NMBPREFIX='myproject::') to only track tags
for a particular project.  You could also define aliases to set the
appropriate environment variables on the fly:

  $ alias mpbug='NMBGIT=/tmp/nmbug NMBPREFIX="myproject::" nmbug'
  $ mpbug status

W. Trevor King (4):
  nmbug: Add a git_with_status helper function
  nmbug: Handle missing @upstream in is_unmerged
  nmbug: Catch stderr in is_unmerged
  nmbug: Add an 'init' command

 devel/nmbug/nmbug | 49 +++++++++++++++++++++++++++++++++++++++++++------
 1 file changed, 43 insertions(+), 6 deletions(-)

-- 
1.9.1.353.gc66d89d

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2014-09-23 18:45 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-06 20:40 [PATCH 0/4] nmbug without an upstream repository (and init) W. Trevor King
2014-07-06 20:40 ` [PATCH 1/4] nmbug: Add a git_with_status helper function W. Trevor King
2014-07-16  9:36   ` David Bremner
2014-07-06 20:40 ` [PATCH 2/4] nmbug: Handle missing @upstream in is_unmerged W. Trevor King
2014-07-15 23:44   ` David Bremner
2014-07-16  0:11     ` W. Trevor King
2014-07-16 22:36   ` David Bremner
2014-07-16 23:03     ` W. Trevor King
2014-07-17  9:28       ` David Bremner
2014-07-17 18:38         ` W. Trevor King
2014-07-19 12:34       ` David Bremner
2014-07-06 20:40 ` [PATCH 3/4] nmbug: Catch stderr " W. Trevor King
2014-07-15 23:49   ` David Bremner
2014-07-16  0:17     ` W. Trevor King
2014-07-16 10:04       ` David Bremner
2014-07-06 20:40 ` [PATCH 4/4] nmbug: Add an 'init' command W. Trevor King
2014-07-15 23:54   ` David Bremner
2014-07-16  0:12     ` W. Trevor King
2014-09-15 16:13   ` David Edmondson
2014-09-15 16:25     ` W. Trevor King
2014-09-15 16:32       ` David Edmondson
2014-09-15 16:35         ` W. Trevor King
2014-09-15 18:09           ` David Bremner
2014-09-15 18:13             ` W. Trevor King
2014-09-23 18:44               ` [PATCH] potential fix for nmbug merge problems David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).