Re: Create Release Candidate GitHub Workflow

2024-03-05 Thread Karl Wright
Very good!

In the past we've often had to add new commits to the release branch and
create a new RC.  The RCs have to be copied into the staging area (in an
svn repo) and then when actually released there's a simple svn command to
do that.  Are you familiar with that process?  For this reason it may be
better to separate the creation of the release branch from everything else.

Karl


On Tue, Mar 5, 2024 at 9:23 AM Piergiorgio Lucidi 
wrote:

> Hi folks,
>
> I have just pushed a potential GitHub workflow for creating the release
> candidate branch and artifacts [1]. The related issue is available in JIRA
> [2].
>
> We need to test it but I think that it could be something close to what we
> need:
>
> 1. Create the new branch
> 2. Update CHANGES.txt, build.xml and all the poms
> 3. Run the Ant build
> 4. Run the Maven build (if we want to push artifacts on public repos)
> 5. Check licenses using Apache RAT
> 6. Commit and push the new branch
> 7. Upload artifacts as GitHub release assets
>
> Any feedback?
> Thanks everyone.
>
> Cheers,
> PG
>
> [1] -
>
> https://github.com/apache/manifoldcf/blob/CONNECTORS-1754/.github/workflows/create-release-candidate.yml
>
> [2] - https://issues.apache.org/jira/browse/CONNECTORS-1754
> --
> Piergiorgio
>


Create Release Candidate GitHub Workflow

2024-03-05 Thread Piergiorgio Lucidi
Hi folks,

I have just pushed a potential GitHub workflow for creating the release
candidate branch and artifacts [1]. The related issue is available in JIRA
[2].

We need to test it but I think that it could be something close to what we
need:

1. Create the new branch
2. Update CHANGES.txt, build.xml and all the poms
3. Run the Ant build
4. Run the Maven build (if we want to push artifacts on public repos)
5. Check licenses using Apache RAT
6. Commit and push the new branch
7. Upload artifacts as GitHub release assets

Any feedback?
Thanks everyone.

Cheers,
PG

[1] -
https://github.com/apache/manifoldcf/blob/CONNECTORS-1754/.github/workflows/create-release-candidate.yml

[2] - https://issues.apache.org/jira/browse/CONNECTORS-1754
--
Piergiorgio


[jira] [Comment Edited] (CONNECTORS-1754) Converting release scripts to GitHub workflows

2024-03-05 Thread Piergiorgio Lucidi (Jira)


[ 
https://issues.apache.org/jira/browse/CONNECTORS-1754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17823638#comment-17823638
 ] 

Piergiorgio Lucidi edited comment on CONNECTORS-1754 at 3/5/24 2:17 PM:


A first workflow for creating a new release candidate is pushed here:

[https://github.com/apache/manifoldcf/blob/CONNECTORS-1754/.github/workflows/create-release-candidate.yml]

We need to debug it but I think that it could be something close to what we 
need:
 # Create the new branch
 # Update CHANGES.txt, build.xml and all the poms
 # Run the Ant build 
 # Run the Maven build (if we want to push artifacts on public repos)
 # Check licenses using Apache RAT
 # Commit and push the new branch
 # Upload artifacts as GitHub release assets

Any feedback?

Thanks.


was (Author: piergiorgioluc...@gmail.com):
A first workflow for creating a new release candidate is pushed here:

[https://github.com/apache/manifoldcf/blob/CONNECTORS-1754/.github/workflows/create-release-candidate.yml]

We need to debug it but I think that it could be something close to what we 
need.

Any feedback?

> Converting release scripts to GitHub workflows
> --
>
> Key: CONNECTORS-1754
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1754
> Project: ManifoldCF
>  Issue Type: Task
>  Components: Build
>Affects Versions: ManifoldCF 2.26
>Reporter: Piergiorgio Lucidi
>Assignee: Piergiorgio Lucidi
>Priority: Major
> Fix For: ManifoldCF next
>
>   Original Estimate: 120h
>  Remaining Estimate: 120h
>
> We currently have SVN in readonly mode, so we urgently need to rebuild from 
> scratch our release scripts as GitHub workflows.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (CONNECTORS-1754) Converting release scripts to GitHub workflows

2024-03-05 Thread Piergiorgio Lucidi (Jira)


[ 
https://issues.apache.org/jira/browse/CONNECTORS-1754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17823638#comment-17823638
 ] 

Piergiorgio Lucidi commented on CONNECTORS-1754:


A first workflow for creating a new release candidate is pushed here:

[https://github.com/apache/manifoldcf/blob/CONNECTORS-1754/.github/workflows/create-release-candidate.yml]

We need to debug it but I think that it could be something close to what we 
need.

Any feedback?

> Converting release scripts to GitHub workflows
> --
>
> Key: CONNECTORS-1754
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1754
> Project: ManifoldCF
>  Issue Type: Task
>  Components: Build
>Affects Versions: ManifoldCF 2.26
>Reporter: Piergiorgio Lucidi
>Assignee: Piergiorgio Lucidi
>Priority: Major
> Fix For: ManifoldCF next
>
>   Original Estimate: 120h
>  Remaining Estimate: 120h
>
> We currently have SVN in readonly mode, so we urgently need to rebuild from 
> scratch our release scripts as GitHub workflows.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)