lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-3165) prepare-release fails if run from source package
Date Tue, 31 May 2011 13:14:47 GMT

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

Robert Muir commented on LUCENE-3165:
-------------------------------------

{quote}
On the other hand, nobody should "prepare a release" from the source package, so perhaps the
failure is ok, and we should disable the Ant target?
{quote}

After re-thinking, if you want to 'build a release' from the source package, how will it know
where to get the stuff to do the svn export without a revision number (for the source distribution).
So I think we should figure out to make the thing fail, but then fix LUCENE-3166 :)

> prepare-release fails if run from source package
> ------------------------------------------------
>
>                 Key: LUCENE-3165
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3165
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: general/build
>            Reporter: Shai Erera
>            Priority: Blocker
>             Fix For: 3.3, 4.0
>
>
> While checking 3.2 RC2 artifacts, I ran "ant prepare-release" and it failed because "get-svn-info"
failed (since this is not a svn checkout). This makes sense indeed, but still annoying, so
question is how to overcome it? It attempts to execute "svn info" as part of "package-tgz-src".
When you run the latter to prepare the release, you want it to fail if "svn" does not exist,
however in the source package there's no '.svn' so it cannot succeed.
> On the other hand, nobody should "prepare a release" from the source package, so perhaps
the failure is ok, and we should disable the Ant target?
> I don't know how to solve it yet, so I'm marking it as a Blocker for 3.3, so that we
at least revisit it before then.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


Mime
View raw message