[jira] [Commented] (LUCENE-9548) Publish master (9.x) snapshots to https://repository.apache.org
[ https://issues.apache.org/jira/browse/LUCENE-9548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17207708#comment-17207708 ] Uwe Schindler commented on LUCENE-9548: --- No problem. Was easy task. Sorry for first build failure, my fault. > Publish master (9.x) snapshots to https://repository.apache.org > --- > > Key: LUCENE-9548 > URL: https://issues.apache.org/jira/browse/LUCENE-9548 > Project: Lucene - Core > Issue Type: Task >Reporter: Dawid Weiss >Assignee: Dawid Weiss >Priority: Major > Fix For: master (9.0) > > Time Spent: 1h > Remaining Estimate: 0h > > We should start publishing snapshot JARs to Apache repositories. I'm not sure > how to set it all up with gradle but maybe there are other Apache projects > that use gradle and we could peek at their config? Mostly it's about signing > artifacts (how to pass credentials for signing) and setting up Nexus > deployment repository. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org
[jira] [Commented] (LUCENE-9548) Publish master (9.x) snapshots to https://repository.apache.org
[ https://issues.apache.org/jira/browse/LUCENE-9548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17207707#comment-17207707 ] Dawid Weiss commented on LUCENE-9548: - Tadam - works - thanks Uwe! > Publish master (9.x) snapshots to https://repository.apache.org > --- > > Key: LUCENE-9548 > URL: https://issues.apache.org/jira/browse/LUCENE-9548 > Project: Lucene - Core > Issue Type: Task >Reporter: Dawid Weiss >Assignee: Dawid Weiss >Priority: Major > Time Spent: 1h > Remaining Estimate: 0h > > We should start publishing snapshot JARs to Apache repositories. I'm not sure > how to set it all up with gradle but maybe there are other Apache projects > that use gradle and we could peek at their config? Mostly it's about signing > artifacts (how to pass credentials for signing) and setting up Nexus > deployment repository. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org
[jira] [Commented] (LUCENE-9548) Publish master (9.x) snapshots to https://repository.apache.org
[ https://issues.apache.org/jira/browse/LUCENE-9548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17207696#comment-17207696 ] ASF subversion and git services commented on LUCENE-9548: - Commit d9a410920af66bc288d36bd4213966aadcfe50fc in lucene-solr's branch refs/heads/master from Dawid Weiss [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=d9a4109 ] LUCENE-9548: Apache repository publishing (#1929) > Publish master (9.x) snapshots to https://repository.apache.org > --- > > Key: LUCENE-9548 > URL: https://issues.apache.org/jira/browse/LUCENE-9548 > Project: Lucene - Core > Issue Type: Task >Reporter: Dawid Weiss >Assignee: Dawid Weiss >Priority: Major > Time Spent: 50m > Remaining Estimate: 0h > > We should start publishing snapshot JARs to Apache repositories. I'm not sure > how to set it all up with gradle but maybe there are other Apache projects > that use gradle and we could peek at their config? Mostly it's about signing > artifacts (how to pass credentials for signing) and setting up Nexus > deployment repository. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org
[jira] [Commented] (LUCENE-9548) Publish master (9.x) snapshots to https://repository.apache.org
[ https://issues.apache.org/jira/browse/LUCENE-9548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17207697#comment-17207697 ] Dawid Weiss commented on LUCENE-9548: - I've committed this to master, Uwe. Should be ready to start experimenting on Jenkins! > Publish master (9.x) snapshots to https://repository.apache.org > --- > > Key: LUCENE-9548 > URL: https://issues.apache.org/jira/browse/LUCENE-9548 > Project: Lucene - Core > Issue Type: Task >Reporter: Dawid Weiss >Assignee: Dawid Weiss >Priority: Major > Time Spent: 1h > Remaining Estimate: 0h > > We should start publishing snapshot JARs to Apache repositories. I'm not sure > how to set it all up with gradle but maybe there are other Apache projects > that use gradle and we could peek at their config? Mostly it's about signing > artifacts (how to pass credentials for signing) and setting up Nexus > deployment repository. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org
[jira] [Commented] (LUCENE-9548) Publish master (9.x) snapshots to https://repository.apache.org
[ https://issues.apache.org/jira/browse/LUCENE-9548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17207334#comment-17207334 ] Uwe Schindler commented on LUCENE-9548: --- Ah Dawid, I was not aware of a pull request at all (which is also not useful for jenkins testing, unless you setup a completely different branch environment). So please merge the PR, so I can setup Jenkins with a new Job doing this vor Lucene+Solr as one go. If there are changes needed, can be easily heavy-commit. > Publish master (9.x) snapshots to https://repository.apache.org > --- > > Key: LUCENE-9548 > URL: https://issues.apache.org/jira/browse/LUCENE-9548 > Project: Lucene - Core > Issue Type: Task >Reporter: Dawid Weiss >Assignee: Dawid Weiss >Priority: Major > Time Spent: 0.5h > Remaining Estimate: 0h > > We should start publishing snapshot JARs to Apache repositories. I'm not sure > how to set it all up with gradle but maybe there are other Apache projects > that use gradle and we could peek at their config? Mostly it's about signing > artifacts (how to pass credentials for signing) and setting up Nexus > deployment repository. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org
[jira] [Commented] (LUCENE-9548) Publish master (9.x) snapshots to https://repository.apache.org
[ https://issues.apache.org/jira/browse/LUCENE-9548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17206829#comment-17206829 ] Dawid Weiss commented on LUCENE-9548: - Also, I would love to hide the convention tasks somehow (they're not really relevant and have longish names) but I couldn't do it - for some reason the obvious hacks (setting group to null) doesn't work [1]. [1] https://discuss.gradle.org/t/hide-convention-publishing-tasks-from-help/37775 > Publish master (9.x) snapshots to https://repository.apache.org > --- > > Key: LUCENE-9548 > URL: https://issues.apache.org/jira/browse/LUCENE-9548 > Project: Lucene - Core > Issue Type: Task >Reporter: Dawid Weiss >Assignee: Dawid Weiss >Priority: Major > Time Spent: 0.5h > Remaining Estimate: 0h > > We should start publishing snapshot JARs to Apache repositories. I'm not sure > how to set it all up with gradle but maybe there are other Apache projects > that use gradle and we could peek at their config? Mostly it's about signing > artifacts (how to pass credentials for signing) and setting up Nexus > deployment repository. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org
[jira] [Commented] (LUCENE-9548) Publish master (9.x) snapshots to https://repository.apache.org
[ https://issues.apache.org/jira/browse/LUCENE-9548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17206827#comment-17206827 ] Dawid Weiss commented on LUCENE-9548: - It is part of the pull request, Uwe - https://github.com/apache/lucene-solr/pull/1929/files This commit adds these tasks: https://github.com/apache/lucene-solr/pull/1929/commits/d6380a395aa70e0c95d0066412a9a7a6e0d1 You need to get the PR patch and apply it locally or just get that branch from my repository: {code} git remote add dweiss g...@github.com:dweiss/lucene-solr.git git fetch dweiss git checkout LUCENE-9548 {code} > Publish master (9.x) snapshots to https://repository.apache.org > --- > > Key: LUCENE-9548 > URL: https://issues.apache.org/jira/browse/LUCENE-9548 > Project: Lucene - Core > Issue Type: Task >Reporter: Dawid Weiss >Assignee: Dawid Weiss >Priority: Major > Time Spent: 0.5h > Remaining Estimate: 0h > > We should start publishing snapshot JARs to Apache repositories. I'm not sure > how to set it all up with gradle but maybe there are other Apache projects > that use gradle and we could peek at their config? Mostly it's about signing > artifacts (how to pass credentials for signing) and setting up Nexus > deployment repository. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org
[jira] [Commented] (LUCENE-9548) Publish master (9.x) snapshots to https://repository.apache.org
[ https://issues.apache.org/jira/browse/LUCENE-9548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17206673#comment-17206673 ] Uwe Schindler commented on LUCENE-9548: --- Hi Dawid, I don't see any commit that contains this information. I was grepping through te whole repository. > Publish master (9.x) snapshots to https://repository.apache.org > --- > > Key: LUCENE-9548 > URL: https://issues.apache.org/jira/browse/LUCENE-9548 > Project: Lucene - Core > Issue Type: Task >Reporter: Dawid Weiss >Assignee: Dawid Weiss >Priority: Major > Time Spent: 0.5h > Remaining Estimate: 0h > > We should start publishing snapshot JARs to Apache repositories. I'm not sure > how to set it all up with gradle but maybe there are other Apache projects > that use gradle and we could peek at their config? Mostly it's about signing > artifacts (how to pass credentials for signing) and setting up Nexus > deployment repository. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org
[jira] [Commented] (LUCENE-9548) Publish master (9.x) snapshots to https://repository.apache.org
[ https://issues.apache.org/jira/browse/LUCENE-9548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17206004#comment-17206004 ] Dawid Weiss commented on LUCENE-9548: - Hi Uwe. I've changed credential property names to use those mentioned on that cwiki page so in theory it should work if you run this from jenkins: {code} gradlew mavenToApacheSnapshots {code} I also added other task aliases for convention tasks (which have fairly long names): {code} mavenToApacheSnapshots - Publish Maven JARs and POMs to Apache Snapshots repository: https://repository.apache.org/content/repositories/snapshots mavenToLocalFolder - Publish Maven JARs and POMs locally to [...]\build\maven-local mavenToLocalRepo - Publish Maven JARs and POMs to current user's local maven repository. {code} We should probably add ApacheReleases repository too for final releases (or create a bundle uploadable to Nexus?). > Publish master (9.x) snapshots to https://repository.apache.org > --- > > Key: LUCENE-9548 > URL: https://issues.apache.org/jira/browse/LUCENE-9548 > Project: Lucene - Core > Issue Type: Task >Reporter: Dawid Weiss >Assignee: Dawid Weiss >Priority: Major > Time Spent: 0.5h > Remaining Estimate: 0h > > We should start publishing snapshot JARs to Apache repositories. I'm not sure > how to set it all up with gradle but maybe there are other Apache projects > that use gradle and we could peek at their config? Mostly it's about signing > artifacts (how to pass credentials for signing) and setting up Nexus > deployment repository. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org
[jira] [Commented] (LUCENE-9548) Publish master (9.x) snapshots to https://repository.apache.org
[ https://issues.apache.org/jira/browse/LUCENE-9548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17205559#comment-17205559 ] Uwe Schindler commented on LUCENE-9548: --- Hi, documentation for ASF Jenkins is here (you won't get username/pass from them), but on all Jenkins nodes a gradle.properties file is deployed with some user/pass properties: https://cwiki.apache.org/confluence/display/INFRA/Gradle+Installations We just have to adapt the property names for username and password to the naming used there. Sorry for not respondig earlier. > Publish master (9.x) snapshots to https://repository.apache.org > --- > > Key: LUCENE-9548 > URL: https://issues.apache.org/jira/browse/LUCENE-9548 > Project: Lucene - Core > Issue Type: Task >Reporter: Dawid Weiss >Assignee: Dawid Weiss >Priority: Major > Time Spent: 0.5h > Remaining Estimate: 0h > > We should start publishing snapshot JARs to Apache repositories. I'm not sure > how to set it all up with gradle but maybe there are other Apache projects > that use gradle and we could peek at their config? Mostly it's about signing > artifacts (how to pass credentials for signing) and setting up Nexus > deployment repository. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org
[jira] [Commented] (LUCENE-9548) Publish master (9.x) snapshots to https://repository.apache.org
[ https://issues.apache.org/jira/browse/LUCENE-9548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17204522#comment-17204522 ] Dawid Weiss commented on LUCENE-9548: - Sent a question to Infra, they must have encountered this before. > Publish master (9.x) snapshots to https://repository.apache.org > --- > > Key: LUCENE-9548 > URL: https://issues.apache.org/jira/browse/LUCENE-9548 > Project: Lucene - Core > Issue Type: Task >Reporter: Dawid Weiss >Assignee: Dawid Weiss >Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > We should start publishing snapshot JARs to Apache repositories. I'm not sure > how to set it all up with gradle but maybe there are other Apache projects > that use gradle and we could peek at their config? Mostly it's about signing > artifacts (how to pass credentials for signing) and setting up Nexus > deployment repository. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org
[jira] [Commented] (LUCENE-9548) Publish master (9.x) snapshots to https://repository.apache.org
[ https://issues.apache.org/jira/browse/LUCENE-9548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17203859#comment-17203859 ] Dawid Weiss commented on LUCENE-9548: - Uwe - recover first. This can wait. I don't have snapshot repo access but it's really not super urgent, I have lots of things in the backlog to do anyway. > Publish master (9.x) snapshots to https://repository.apache.org > --- > > Key: LUCENE-9548 > URL: https://issues.apache.org/jira/browse/LUCENE-9548 > Project: Lucene - Core > Issue Type: Task >Reporter: Dawid Weiss >Assignee: Dawid Weiss >Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > We should start publishing snapshot JARs to Apache repositories. I'm not sure > how to set it all up with gradle but maybe there are other Apache projects > that use gradle and we could peek at their config? Mostly it's about signing > artifacts (how to pass credentials for signing) and setting up Nexus > deployment repository. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org
[jira] [Commented] (LUCENE-9548) Publish master (9.x) snapshots to https://repository.apache.org
[ https://issues.apache.org/jira/browse/LUCENE-9548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17203858#comment-17203858 ] Uwe Schindler commented on LUCENE-9548: --- Do you have snapshot repo acces, or should I look it up on Jenkins. Problem is that I don't have my private key in hospital > Publish master (9.x) snapshots to https://repository.apache.org > --- > > Key: LUCENE-9548 > URL: https://issues.apache.org/jira/browse/LUCENE-9548 > Project: Lucene - Core > Issue Type: Task >Reporter: Dawid Weiss >Assignee: Dawid Weiss >Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > We should start publishing snapshot JARs to Apache repositories. I'm not sure > how to set it all up with gradle but maybe there are other Apache projects > that use gradle and we could peek at their config? Mostly it's about signing > artifacts (how to pass credentials for signing) and setting up Nexus > deployment repository. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org
[jira] [Commented] (LUCENE-9548) Publish master (9.x) snapshots to https://repository.apache.org
[ https://issues.apache.org/jira/browse/LUCENE-9548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17203839#comment-17203839 ] Dawid Weiss commented on LUCENE-9548: - If you take a look at the PR, Uwe, you'll see credentials are passed as properties to the authenticator. Gradle doesn't read maven setting files but it's groovy so you could implement any required logic in the build script. The command in the above comment (automatically generated by convention) will work. I think we can add a shorter alias task (that depends on the above) but it can come later. Jenkins configs can also come later. I'd try to publish a snapshot from local machine first to see that it works and then decide how to solve CI configs. > Publish master (9.x) snapshots to https://repository.apache.org > --- > > Key: LUCENE-9548 > URL: https://issues.apache.org/jira/browse/LUCENE-9548 > Project: Lucene - Core > Issue Type: Task >Reporter: Dawid Weiss >Assignee: Dawid Weiss >Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > We should start publishing snapshot JARs to Apache repositories. I'm not sure > how to set it all up with gradle but maybe there are other Apache projects > that use gradle and we could peek at their config? Mostly it's about signing > artifacts (how to pass credentials for signing) and setting up Nexus > deployment repository. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org
[jira] [Commented] (LUCENE-9548) Publish master (9.x) snapshots to https://repository.apache.org
[ https://issues.apache.org/jira/browse/LUCENE-9548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17203838#comment-17203838 ] Uwe Schindler commented on LUCENE-9548: --- The Apache Jenkins Servers have the key to publish in their config. If Gradle reads the standard Maven Settings file to publish it should work..in the default Gradle Properties file in home for is also some token for donator publishing. I am away from computer, but can check later. Just tell me if I can generally enable the Artifact builds (2 more jobs in Jenkins), and what's tasks I should execute. Reconfigure is easy. About Maven, I'd set it up as standard Maven Deployment, maybe make the repository I'd configurable. I have not.much knowledge here. Uwe > Publish master (9.x) snapshots to https://repository.apache.org > --- > > Key: LUCENE-9548 > URL: https://issues.apache.org/jira/browse/LUCENE-9548 > Project: Lucene - Core > Issue Type: Task >Reporter: Dawid Weiss >Assignee: Dawid Weiss >Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > We should start publishing snapshot JARs to Apache repositories. I'm not sure > how to set it all up with gradle but maybe there are other Apache projects > that use gradle and we could peek at their config? Mostly it's about signing > artifacts (how to pass credentials for signing) and setting up Nexus > deployment repository. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org
[jira] [Commented] (LUCENE-9548) Publish master (9.x) snapshots to https://repository.apache.org
[ https://issues.apache.org/jira/browse/LUCENE-9548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17203787#comment-17203787 ] Dawid Weiss commented on LUCENE-9548: - I'd love to hear from anybody who set up current maven artifact uploads on what magic is needed to upload to Apache Nexus. I think everything is ready - it's just the authorization bit that is missing and we can start publishing snapshots from master (which would be helpful to make Solr depend on Lucene snapshot packages rather than sources). > Publish master (9.x) snapshots to https://repository.apache.org > --- > > Key: LUCENE-9548 > URL: https://issues.apache.org/jira/browse/LUCENE-9548 > Project: Lucene - Core > Issue Type: Task >Reporter: Dawid Weiss >Assignee: Dawid Weiss >Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > We should start publishing snapshot JARs to Apache repositories. I'm not sure > how to set it all up with gradle but maybe there are other Apache projects > that use gradle and we could peek at their config? Mostly it's about signing > artifacts (how to pass credentials for signing) and setting up Nexus > deployment repository. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org
[jira] [Commented] (LUCENE-9548) Publish master (9.x) snapshots to https://repository.apache.org
[ https://issues.apache.org/jira/browse/LUCENE-9548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17203780#comment-17203780 ] Dawid Weiss commented on LUCENE-9548: - I have a patch for this but can't publish a snapshot (auth. error) {code} gradlew publishJarsPublicationToApacheSnapshotsRepository -PnexusUsername=dweiss -DnexusPassword=... {code} Do apache snapshot repositories require a specific permission (or user/pwd) to publish snapshots? > Publish master (9.x) snapshots to https://repository.apache.org > --- > > Key: LUCENE-9548 > URL: https://issues.apache.org/jira/browse/LUCENE-9548 > Project: Lucene - Core > Issue Type: Task >Reporter: Dawid Weiss >Assignee: Dawid Weiss >Priority: Major > > We should start publishing snapshot JARs to Apache repositories. I'm not sure > how to set it all up with gradle but maybe there are other Apache projects > that use gradle and we could peek at their config? Mostly it's about signing > artifacts (how to pass credentials for signing) and setting up Nexus > deployment repository. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org