lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-7021) buildAndPushRelease.py should ensure you have no unpushed git changes
Date Thu, 11 Feb 2016 16:42:18 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-7021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15142997#comment-15142997
] 

Michael McCandless commented on LUCENE-7021:
--------------------------------------------

I opened LUCENE-7022 for the same fix to the smoke tester.

> buildAndPushRelease.py should ensure you have no unpushed git changes
> ---------------------------------------------------------------------
>
>                 Key: LUCENE-7021
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7021
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Michael McCandless
>
> I'm just a git newbie so I'm not sure how to add this to our release scripts, but I think
it's quite important that we don't up and release something the world containing changes I
had only committed locally and then failed to push.  What if I then remove that directory
after we've released?
> We should also fix the release smoke tester to confirm the git revision is known ...
I'll open a separate issue for that.
> I'm trying to be super careful not to do this for 5.5.0, but really the release script
should catch this.
> I did a bit of googling and found the magic command {{git cherry -v origin/branch_5_5}}
seemed to work (at least, it showed my one local commit), but e.g. "origin" is just a label
I use (others use "upstream"), etc., so I'm not sure how to reliably do this... maybe we have
to run {{git remote -v}} and figure out what label use use for the "official" (wip) Apache
git instance?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message