You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2016/02/11 17:42:18 UTC
[jira] [Commented] (LUCENE-7021) buildAndPushRelease.py should
ensure you have no unpushed git changes
[ 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