* [PATCH] release-checks: check that git working directory is clean
@ 2015-06-02 14:43 Tomi Ollila
2015-06-02 20:30 ` David Bremner
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Tomi Ollila @ 2015-06-02 14:43 UTC (permalink / raw)
To: notmuch; +Cc: tomi.ollila
Before release check that there are no uncommitted changes and
that there are no files in working directory that possibly should
have been added to the repository.
---
devel/release-checks.sh | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/devel/release-checks.sh b/devel/release-checks.sh
index ae02f557af23..eceea6165b5b 100755
--- a/devel/release-checks.sh
+++ b/devel/release-checks.sh
@@ -59,6 +59,17 @@ readonly VERSION
# In the rest of this file, tests collect list of errors to be fixed
+echo -n "Checking that git working directory is clean... "
+git_status=`git status --porcelain --ignored`
+if [ "$git_status" = '' ]
+then
+ echo Yes.
+else
+ echo No.
+ append_emsg "Git working directory is not clean (git status --porcelain --ignored)."
+fi
+unset git_status
+
verfail ()
{
echo No.
--
2.0.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] release-checks: check that git working directory is clean
2015-06-02 14:43 [PATCH] release-checks: check that git working directory is clean Tomi Ollila
@ 2015-06-02 20:30 ` David Bremner
2015-06-05 16:56 ` David Bremner
2015-06-09 17:35 ` David Bremner
2 siblings, 0 replies; 4+ messages in thread
From: David Bremner @ 2015-06-02 20:30 UTC (permalink / raw)
To: Tomi Ollila, notmuch; +Cc: tomi.ollila
Tomi Ollila <tomi.ollila@iki.fi> writes:
> Before release check that there are no uncommitted changes and
> that there are no files in working directory that possibly should
> have been added to the repository.
this seems ok to me, and certainly reveal just how crufty my notmuch
directory was.
d
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] release-checks: check that git working directory is clean
2015-06-02 14:43 [PATCH] release-checks: check that git working directory is clean Tomi Ollila
2015-06-02 20:30 ` David Bremner
@ 2015-06-05 16:56 ` David Bremner
2015-06-09 17:35 ` David Bremner
2 siblings, 0 replies; 4+ messages in thread
From: David Bremner @ 2015-06-05 16:56 UTC (permalink / raw)
To: Tomi Ollila, notmuch; +Cc: tomi.ollila
Tomi Ollila <tomi.ollila@iki.fi> writes:
> Before release check that there are no uncommitted changes and
> that there are no files in working directory that possibly should
> have been added to the repository.
Not sure the best way to manage this, but I don't think we need to
remove the test (and perf-test) databases do we?
╭─ maritornes:~/software/upstream/notmuch
╰─ (git)-[master]-% git status --porcelain --ignored
!! test/test-databases/database-v1.tar.xz
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] release-checks: check that git working directory is clean
2015-06-02 14:43 [PATCH] release-checks: check that git working directory is clean Tomi Ollila
2015-06-02 20:30 ` David Bremner
2015-06-05 16:56 ` David Bremner
@ 2015-06-09 17:35 ` David Bremner
2 siblings, 0 replies; 4+ messages in thread
From: David Bremner @ 2015-06-09 17:35 UTC (permalink / raw)
To: Tomi Ollila, notmuch; +Cc: tomi.ollila
Tomi Ollila <tomi.ollila@iki.fi> writes:
> Before release check that there are no uncommitted changes and
> that there are no files in working directory that possibly shoul
pushed, amended as suggested by Tomi on IRC s/--ignored//g
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-06-09 17:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-02 14:43 [PATCH] release-checks: check that git working directory is clean Tomi Ollila
2015-06-02 20:30 ` David Bremner
2015-06-05 16:56 ` David Bremner
2015-06-09 17:35 ` 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).