You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mahout.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/02/01 10:18:00 UTC

[jira] [Work logged] (MAHOUT-2076) add a /release directory with a skeleton settings.xml for releases and instructions/scripts to release/deploy and any mixture therof

     [ https://issues.apache.org/jira/browse/MAHOUT-2076?focusedWorklogId=380332&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-380332 ]

ASF GitHub Bot logged work on MAHOUT-2076:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 01/Feb/20 10:17
            Start Date: 01/Feb/20 10:17
    Worklog Time Spent: 10m 
      Work Description: andrewpalumbo commented on pull request #384: [MAHOUT-2076]: add a /release directory with a skeleton settings.xml …
URL: https://github.com/apache/mahout/pull/384#discussion_r373771961
 
 

 ##########
 File path: release/_.m2_settings.xml
 ##########
 @@ -63,23 +63,23 @@
       <server>
         <id>apache.releases.https</id>
         <username>ASF_LDAP_USERNAME</username>
-        <password>ASF_LDAP_PASSWORD</password>                                  # EDIT THIS
+        <password>ASF_LDAP_PASSWORD</password>                                <!-- EDIT THIS -->
         <privateKey>${user.home}/.ssh/id_rsa</privateKey>
-        <passphrase>PASSWORD_TO_YOUR_PRIVATE_SSH_KEY</passphrase>               # EDIT THIS
+        <passphrase>PASSWORD_TO_YOUR_PRIVATE_SSH_KEY</passphrase>             <!-- EDIT THIS -->
         <filePermissions>664</filePermissions>
         <directoryPermissions>775</directoryPermissions>
         <configuration></configuration>
       </server>
       
       <server>
 	      <id>THE_EIGHT_DIGIT_GPG_SIGNING_KEY_NAME</id>
-	      <passphrase>PASSPHRASE_TO_YOUR_SIGNING_KEY</passphrase>              # EDIT THIS
+	      <passphrase>PASSPHRASE_TO_YOUR_SIGNING_KEY</passphrase>            <!-- EDIT THIS -->
       </server>	 
 
       <!-- To stage a website of some part of Maven -->
       <server>
         <id>apache.website</id> <!-- must match  repository identifier in site:stage-deploy -->
-        <username>ASF_LDAP_USERNAME</username>                                 # EDIT THIS
+        <username>ASF_LDAP_USERNAME</username>                               <!-- EDIT THIS -->
 
 Review comment:
   this is missing   `<password>ASF_LDAP_PASSWORD</password>`
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 380332)
    Time Spent: 20m  (was: 10m)

> add a /release directory with a skeleton settings.xml for releases and instructions/scripts to release/deploy and any mixture therof
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-2076
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-2076
>             Project: Mahout
>          Issue Type: New Feature
>          Components: release
>    Affects Versions: 0.14.0
>            Reporter: Andrew Palumbo
>            Assignee: Joe Olson
>            Priority: Minor
>             Fix For: 14.1
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> add a {{/release}} directory with {{settings.xml}} and all necessary variable changes to make a release candidate and to deploy. 
> {code:bash}
> change-scalaversion.sh 2.11
> mvn release:prepare -Papache-release
> mvn release:perform -Papache-release
> change-scala-version 2.12
> mvn release:prepare -Papache-release
> mvn release:perform -Papache-release{code}
>  
> It may be as simple as adding your personal GPG information to the `~/.m2/settings.xml` file. and running a script like above.  Spark and Flink have  examples which could be overkill:
> Spark:
> [https://github.com/apache/spark/blob/master/dev/make-distribution.sh]
> [https://github.com/apache/spark/tree/master/dev/create-release]
> Flink:
> [https://github.com/apache/flink/tree/master/tools/releasing]
> I would also propose that we consider a  {{Makefile}} for our builds or {{cmake}}, as we are moving closer to python and .cpp modules. Could be useful, we should at least consider it.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)