[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2024-01-06 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12868:
-

Commit ef90eccbed6dc110b969bfe09f5c084ed146527f in ofbiz-framework's branch 
refs/heads/release22.01 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=ef90eccbed ]

Improved: Replace SvnCheckout in Gradle (OFBIZ-12868)

As suggested by Daniel, use "git clone --depth 1" and "--branch $branch"
everywhere


> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01
>
> Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, 
> pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, 
> pullPluginSource.sh
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2024-01-06 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12868:
-

Commit a7665c37656c3aa6be7f820e0c379380a57aed2c in ofbiz-framework's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=a7665c3765 ]

Improved: Replace SvnCheckout in Gradle (OFBIZ-12868)

As suggested by Daniel, use "git clone --depth 1" and "--branch $branch"
everywhere


> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01
>
> Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, 
> pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, 
> pullPluginSource.sh
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2024-01-06 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12868:
-

Commit 6b913d333c2215a5136f6848685ef8037c37ffe9 in ofbiz-framework's branch 
refs/heads/release18.12 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=6b913d333c ]

Improved: Replace SvnCheckout in Gradle (OFBIZ-12868)

As suggested by Daniel, use "git clone --depth 1" and "--branch $branch"
everywhere


> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01
>
> Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, 
> pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, 
> pullPluginSource.sh
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2024-01-04 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12868:
-

Commit 7942b2b519f5433cf47481a2968442388b2b3e56 in ofbiz-framework's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=7942b2b519 ]

Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868)

As suggested by Daniel, nicer syntax in pullAllPluginsSource to get the
current branch as a var


> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01
>
> Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, 
> pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, 
> pullPluginSource.sh
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2024-01-04 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12868:
-

Commit 4fa1b5c4a229eae4456275aaf4e6447a8d215b88 in ofbiz-framework's branch 
refs/heads/release22.01 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=4fa1b5c4a2 ]

Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868)

As suggested by Daniel, nicer syntax in pullAllPluginsSource to get the
current branch as a var


> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01
>
> Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, 
> pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, 
> pullPluginSource.sh
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2024-01-04 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12868:
-

Commit 65c091e0c10b357db276332a6911622444bec537 in ofbiz-framework's branch 
refs/heads/release18.12 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=65c091e0c1 ]

Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868)

As suggested by Daniel, nicer syntax in pullAllPluginsSource to get the
current branch as a var


> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01
>
> Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, 
> pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, 
> pullPluginSource.sh
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2024-01-04 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12868:
-

Commit 920e701de4f2264e923deffed7353e70825e69f4 in ofbiz-framework's branch 
refs/heads/release22.01 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=920e701de4 ]

Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868)

Previous conflict wrongly handled by hand in build.gradle
This fixes it


> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01
>
> Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, 
> pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, 
> pullPluginSource.sh
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2024-01-04 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12868:
-

Commit bdbc08a4c2d91e11fae583655611ad84fa1f6c67 in ofbiz-framework's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=bdbc08a4c2 ]

Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868)

Removes definitely SvnCheckout, pullPluginSource and pullAllPluginsSource tasks
from Gradle (in build.gradle)

Fixes both pullPluginSource scripts, notably uses a shallow clone rather than a
blobless clone as suggested by Eugen, less space, faster


> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01
>
> Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, 
> pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, 
> pullPluginSource.sh
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2024-01-04 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12868:
-

Commit 6da924da5aaddeaafa02e031160d79afe93bfd34 in ofbiz-framework's branch 
refs/heads/release22.01 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=6da924da5a ]

Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868)

Removes definitely SvnCheckout, pullPluginSource and pullAllPluginsSource tasks
from Gradle (in build.gradle)

Fixes both pullPluginSource scripts, notably uses a shallow clone rather than a
blobless clone as suggested by Eugen, less space, faster

Conflict handled by hand in build.gradle


> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01
>
> Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, 
> pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, 
> pullPluginSource.sh
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2024-01-04 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12868:
-

Commit c9009b3a4d028715fd602dbe533956541329cd61 in ofbiz-framework's branch 
refs/heads/release18.12 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=c9009b3a4d ]

Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868)

Removes definitely SvnCheckout, pullPluginSource and pullAllPluginsSource tasks
from Gradle (in build.gradle)

Fixes both pullPluginSource scripts, notably uses a shallow clone rather than a
blobless clone as suggested by Eugen, less space, faster

Conflict handled by hand in build.gradle

Conflicts handled by hand in build.gradle


> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01
>
> Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, 
> pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, 
> pullPluginSource.sh
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2024-01-04 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-12868:
-

Hi Eugen,

Indeed, it fits better for pullPluginSource since we only want the source, the 
less Git footprint the better. I'll put that in the fixing commit I'll do now, 
thanks.

About pullAllPluginsSource, to be compliant with the way the Gradle task was 
doing, I ultimately remove the .git dir that takes the most space. So only 
sources are present and I guess it's hard to take lesser space.

For developers use I don't know how others do, but they certainly don't use 
pullAllPluginsSource because you have no relation with the repo since .git is 
absent. On my side, I simply clone the plugins outside of the framework in a 
"plugins" dir and move it under the framework.


> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01
>
> Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, 
> pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, 
> pullPluginSource.sh
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2024-01-03 Thread Ioan Eugen Stan (Jira)


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

Ioan Eugen Stan commented on OFBIZ-12868:
-

[~jleroux] github might do a shallow clone : 
[https://github.blog/2020-12-21-get-up-to-speed-with-partial-clone-and-shallow-clone/]

> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01
>
> Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, 
> pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, 
> pullPluginSource.sh
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2024-01-03 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12868:
-

Commit a79773e6c538671f4b646ccf04264f8f2e7ccc75 in ofbiz-framework's branch 
refs/heads/release18.12 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=a79773e6c5 ]

Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868)

Updates the documentation for pullAllPluginsSource.sh and pullPluginSource.sh

Seems that, despite working locally in Ubuntu 20.04 and git-bash, changing
pullAllPluginsSource.sh from
git switch "$branch"
to
git switch -C "$branch"
does not work as expected in GH actions.

Another incomprehensible behaviour...so far...


> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01
>
> Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, 
> pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, 
> pullPluginSource.sh
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2024-01-03 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12868:
-

Commit 9bd538be3eef75eba33ae1c40e88ba7f90b2bdce in ofbiz-framework's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=9bd538be3e ]

Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868)

Updates the documentation for pullAllPluginsSource.sh and pullPluginSource.sh

Seems that, despite working locally in Ubuntu 20.04 and git-bash, changing
pullAllPluginsSource.sh from
git switch "$branch"
to
git switch -C "$branch"
does not work as expected in GH actions.

Another incomprehensible behaviour...so far...


> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01
>
> Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, 
> pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, 
> pullPluginSource.sh
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2024-01-03 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12868:
-

Commit 86a5feca369f1e7eb9916c458ca39383575b9924 in ofbiz-framework's branch 
refs/heads/release22.01 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=86a5feca36 ]

Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868)

Updates the documentation for pullAllPluginsSource.sh and pullPluginSource.sh

Seems that, despite working locally in Ubuntu 20.04 and git-bash, changing
pullAllPluginsSource.sh from
git switch "$branch"
to
git switch -C "$branch"
does not work as expected in GH actions.

Another incomprehensible behaviour...so far...


> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01
>
> Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, 
> pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, 
> pullPluginSource.sh
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2024-01-03 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12868:
-

Commit d2f682c2d46a6c4b04153c986e72d7c4d9c43db8 in ofbiz-framework's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=d2f682c2d4 ]

Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868)

Updates the documentation for pullAllPluginsSource.sh and pullPluginSource.sh

Uses
git switch -C "$branch"
instead of
git switch "$branch"
in both scripts

There is something weird with pullPluginSource.sh. It works perfectly on Windows
using git-bash, but in Ubuntu 20.04 it does not add but replaces plugins.
I tested using current last Git version in both OS
(respectively 2.43.0.windows.1 and 2.43.0). It's a minor issue as it does not
block the CI so I'll review that later...


> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01
>
> Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, 
> pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, 
> pullPluginSource.sh
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2024-01-03 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12868:
-

Commit fad2ea9e7dcac2221bfba0d1eea99795096a7542 in ofbiz-framework's branch 
refs/heads/release18.12 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=fad2ea9e7d ]

Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868)

Updates the documentation for pullAllPluginsSource.sh and pullPluginSource.sh

Uses
git switch -C "$branch"
instead of
git switch "$branch"
in both scripts

There is something weird with pullPluginSource.sh. It works perfectly on Windows
using git-bash, but in Ubuntu 20.04 it does not add but replaces plugins.
I tested using current last Git version in both OS
(respectively 2.43.0.windows.1 and 2.43.0). It's a minor issue as it does not
block the CI so I'll review that later...


> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01
>
> Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, 
> pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, 
> pullPluginSource.sh
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2024-01-03 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12868:
-

Commit a37191e4b54916223610b41bdcf84bbae58fc408 in ofbiz-framework's branch 
refs/heads/release22.01 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=a37191e4b5 ]

Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868)

Updates the documentation for pullAllPluginsSource.sh and pullPluginSource.sh

Uses
git switch -C "$branch"
instead of
git switch "$branch"
in both scripts

There is something weird with pullPluginSource.sh. It works perfectly on Windows
using git-bash, but in Ubuntu 20.04 it does not add but replaces plugins.
I tested using current last Git version in both OS
(respectively 2.43.0.windows.1 and 2.43.0). It's a minor issue as it does not
block the CI so I'll review that later...


> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01
>
> Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, 
> pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, 
> pullPluginSource.sh
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2024-01-02 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12868:
-

Commit 2ed2cadca55f1d090359156c553f07705b4bed3a in ofbiz-framework's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=2ed2cadca5 ]

Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868)

I was reluctant to set chmod 775 to pullPluginSource.sh but finally it's needed
to at least test


> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01
>
> Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, 
> pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, 
> pullPluginSource.sh
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2024-01-02 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12868:
-

Commit f018394b7c51ac3fed3e439891c21656feadd13d in ofbiz-framework's branch 
refs/heads/release18.12 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=f018394b7c ]

Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868)

I was reluctant to set chmod 775 to pullPluginSource.sh but finally it's needed
to at least test


> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01
>
> Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, 
> pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, 
> pullPluginSource.sh
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2024-01-02 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12868:
-

Commit db86f7bd130cb483d3a2fe259312c7c2242416c7 in ofbiz-framework's branch 
refs/heads/release22.01 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=db86f7bd13 ]

Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868)

I was reluctant to set chmod 775 to pullPluginSource.sh but finally it's needed
to at least test


> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01
>
> Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, 
> pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, 
> pullPluginSource.sh
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2024-01-02 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12868:
-

Commit 9c1d5d19f331082b28885e2da613e50e89555b6c in ofbiz-framework's branch 
refs/heads/release22.01 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=9c1d5d19f3 ]

Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868)

Fixes issues while switching branches


> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01
>
> Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, 
> pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, 
> pullPluginSource.sh
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2024-01-02 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12868:
-

Commit e16c0b3ed5e428a9bc308c0a4266bd245e719db6 in ofbiz-framework's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=e16c0b3ed5 ]

Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868)

Fixes issues while switching branches


> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01
>
> Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, 
> pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, 
> pullPluginSource.sh
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2024-01-02 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12868:
-

Commit 99dcc9d1ebdbfbe9a7d7a87d1a1a06d2903547b8 in ofbiz-framework's branch 
refs/heads/release18.12 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=99dcc9d1eb ]

Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868)

Fixes issues while switching branches


> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01
>
> Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, 
> pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, 
> pullPluginSource.sh
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2024-01-01 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12868:
-

Commit 0ba2011f26d561e08683cc5cb521dfa68a93fa0c in ofbiz-framework's branch 
refs/heads/release18.12 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=0ba2011f26 ]

Improved: Replace SvnCheckout in Gradle (OFBIZ-12868

Comments out the pullPluginSource and pullAllPluginsSource Gradle tasks and
updates the documentation to use the pullPluginSource and pullAllPluginsSource
OS scripts

Conflicts handled by hand in README.adoc


> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01
>
> Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, 
> pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, 
> pullPluginSource.sh
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2024-01-01 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12868:
-

Commit c57cf89ffc008c8ef3eae7f9fc2d666fbd560b77 in ofbiz-framework's branch 
refs/heads/release18.12 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=c57cf89ffc ]

Implemented: Replace SvnCheckout in Gradle (OFBIZ-12868)

As mentionned in 
https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
the SvnCheckout Gradle plugin will not be usable after January 8, 2024.

This is a replacement using OS scripts. Only for now to test with BuildBot


> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01
>
> Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, 
> pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, 
> pullPluginSource.sh
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2024-01-01 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12868:
-

Commit 085776316687618ad14eb30f6fab952535317573 in ofbiz-framework's branch 
refs/heads/release22.01 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=0857763166 ]

Improved: Replace SvnCheckout in Gradle (OFBIZ-12868

Comments out the pullPluginSource and pullAllPluginsSource Gradle tasks and
updates the documentation to use the pullPluginSource and pullAllPluginsSource
OS scripts


> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01
>
> Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, 
> pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, 
> pullPluginSource.sh
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2024-01-01 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12868:
-

Commit be141a17b689e245bd5dc6a32d8adf337fb74ed1 in ofbiz-framework's branch 
refs/heads/release22.01 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=be141a17b6 ]

Implemented: Replace SvnCheckout in Gradle (OFBIZ-12868) (INFRA-25327)

The pullAllPluginsSource.script is used in several CI places (GitHub actions,
BuildBot and Demos)

Lastly I committed the pullAllPluginsSource.sh and pullPluginSource.sh scripts
with Windows. As Windows has not the x flag, they were not set as executable.

This fixes it by setting them as executable using "git update-index --chmod=+x"

This also changes docker-image.yaml and gradle.yaml to use pullAllPluginsSource

I removed the build in docker-image.yaml as it's not longer needed. Only
pullAllPluginsSource was used and this task does not build anything. It just
pulls the sources

I did not set the the x flag for Windows  scripts as it will be useless anyway
since Windows does not use the x flag

Conflicts handled by hand in .github/workflows/gradle.yaml


> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01
>
> Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, 
> pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, 
> pullPluginSource.sh
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2024-01-01 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12868:
-

Commit c55ee999a11b6e67a5039d63c9d4dbd5fa6bb659 in ofbiz-framework's branch 
refs/heads/release18.12 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=c55ee999a1 ]

Implemented: Replace SvnCheckout in Gradle (OFBIZ-12868) (INFRA-25327)

The pullAllPluginsSource.script is used in several CI places (GitHub actions,
BuildBot and Demos)

Lastly I committed the pullAllPluginsSource.sh and pullPluginSource.sh scripts
with Windows. As Windows has not the x flag, they were not set as executable.

This fixes it by setting them as executable using "git update-index --chmod=+x"

This also changes docker-image.yaml and gradle.yaml to use pullAllPluginsSource

I removed the build in docker-image.yaml as it's not longer needed. Only
pullAllPluginsSource was used and this task does not build anything. It just
pulls the sources

I did not set the the x flag for Windows  scripts as it will be useless anyway
since Windows does not use the x flag

Conflicts handled by in .github/workflows/gradle.yaml


> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01
>
> Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, 
> pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, 
> pullPluginSource.sh
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2024-01-01 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12868:
-

Commit 89a83b2144e2bce718d0582eef5e14972c88358e in ofbiz-framework's branch 
refs/heads/release22.01 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=89a83b2144 ]

Implemented: Replace SvnCheckout in Gradle (OFBIZ-12868)

As mentionned in 
https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
the SvnCheckout Gradle plugin will not be usable after January 8, 2024.

This is a replacement using OS scripts. Only for now to test with BuildBot


> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01
>
> Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, 
> pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, 
> pullPluginSource.sh
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2024-01-01 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12868:
-

Commit 1eb5a52af41d096e56eb4671922075a01041515e in ofbiz-framework's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=1eb5a52af4 ]

Improved: Replace SvnCheckout in Gradle (OFBIZ-12868

Comments out the pullPluginSource and pullAllPluginsSource Gradle tasks and
updates the documentation to use the pullPluginSource and pullAllPluginsSource
OS scripts


> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01
>
> Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, 
> pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, 
> pullPluginSource.sh
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2024-01-01 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12868:
-

Commit cdb3e6e207e85879aa1744ed1464648bc9252327 in ofbiz-framework's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=cdb3e6e207 ]

Implemented: Replace SvnCheckout in Gradle (OFBIZ-12868) (INFRA-25327)

The pullAllPluginsSource.script is used in several CI places (GitHub actions,
BuildBot and Demos)

Lastly I committed the pullAllPluginsSource.sh and pullPluginSource.sh scripts
with Windows. As Windows has not the x flag, they were not set as executable.

This fixes it by setting them as executable using "git update-index --chmod=+x"

This also changes docker-image.yaml and gradle.yaml to use pullAllPluginsSource

I removed the build in docker-image.yaml as it's not longer needed. Only
pullAllPluginsSource was used and this task does not build anything. It just
pulls the sources

I did not set the the x flag for Windows  scripts as it will be useless anyway
since Windows does not use the x flag


> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, 
> pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, 
> pullPluginSource.sh
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2023-12-31 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12868:
-

Commit fd52ae3fe0bcc5edebff6f3fba939475f83c4a41 in ofbiz-framework's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=fd52ae3fe0 ]

Implemented: Replace SvnCheckout in Gradle (OFBIZ-12868)

As mentionned in 
https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
the SvnCheckout Gradle plugin will not be usable after January 8, 2024.

This is a replacement using OS scripts. Only for now to test with BuildBot


> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, 
> pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, 
> pullPluginSource.sh
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2023-12-23 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-12868:
-

{quote}At the moment the 2 new dos/bat scripts ( pullPluginSource.bat 
pullAllPluginsSource.bat ) have yet no bash scripts correspondant 
They are quite simple and can be used one after the other in any order.
I prefer to let the work for another person
It should be pushed before January 8, 2024...
{quote}
Here are the corresponding bash scripts. They work but if someone wants to 
check them I'll not be against ;)

> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, 
> pullAllPluginsSource.bat, pullPluginSource.bat
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2023-12-20 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-12868:
-

I wrote above:
bq. To minimise the change, we could decide to still use the scripts but called 
from Gradle... I have not yes tested the performance differences...
There is one advantage to that : the use of the Gradle "instal" l task. Though 
I don't know how this task really works since I can't see any implemented such 
task (not for uninstal but commented out with no code in rest-api plugin). Do 
we really need it?

> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, 
> pullAllPluginsSource.bat, pullPluginSource.bat
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2023-12-20 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-12868:
-

Here are the changes so far in the main README.adoc file:  
[^OFBIZ-12868-README.patch] 

> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2023-12-05 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-12868:
-

bq. Also I have still to handle the branches changes in pulPluginSource
I finally decided to not use Gradle but only shell scripts for 3 reasons:
* To be able to change the current directory an Exec task must be used where 
"workingDir " is accessible. And it comes with some complications I crossed
* The pullPluginSource and pullAllPluginsSource tasks come also with some 
complications and use dependsOn which is no longer recommended to use most of 
the time: 
https://melix.github.io/blog/2021/10/gradle-quickie-dependson.html#_conclusion
* Last but not least, for these 2 tasks we don't need to use Gradle which is 
much slower than directly using shell scripts (mins vs seconds)

bq. Note: I have no tested bash scripts, they should be OK, the differences are 
minimal, just passing parameters.
Actually the 2 new dos/bat scripts ( [^pullAllPlugins.bat]  and  
[^pullAPlugin.bat] ) have no bash scripts correspondant
They are quite simple, but I prefer to let the work for another person :)
They can be used one after the other in any order.







> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Major
> Attachments: build.gradle.notworking, gitClonePlugins.bat, 
> gitClonePlugins.patch, gitClonePlugins.sh, pullAPlugin.bat, 
> pullAllPlugins.bat, pullPluginSource.bat, pullPluginSource.sh
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2023-12-01 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-12868:
-

Note: I have no tested bash scripts, they should be OK, the difference are 
minimal, just passing parameters.

> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Major
> Attachments: build.gradle.notworking, gitClonePlugins.bat, 
> gitClonePlugins.patch, gitClonePlugins.sh, pullPluginSource.bat, 
> pullPluginSource.sh
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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


[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle

2023-12-01 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-12868:
-

I already have a replacement for the pullPluginSource task, see  
[^gitClonePlugins.patch] 

I Initially looked for using wget, but as explained at 
https://stackoverflow.com/questions/25374358/using-wget-to-download-an-entire-folder-from-github#answer-25379181

bq. The github webpage is just a "frontend" to the git code. To access the 
code, you need to either access the github link via GIT, or you can download 
the various released versions of the software from the Releases page of 
onepage-scroll.

There are also tools to manually download directories as archives, like 
https://minhaskamal.github.io/DownGit/#/home
But I guess we don't want to be dependent of such tools, even if users are free 
to do what they want.

I tried several ways in main build.gradle following links at bottom of 
https://github.blog/2023-01-20-sunsetting-subversion-support/
I stumbled upon the problem of changing the working dir with Gradle. Using "cd" 
does not work, and using workingdir as suggested at 
https://docs.gradle.org/current/dsl/org.gradle.api.tasks.Exec.html works but 
then I was unable to make git works in this environnemt. I tried several 
possible combinations, like prefixing 'git' command with 'cmd' command. It then 
works but w/out results :/  [^build.gradle.notworking] 

So I decided to use a simple way: script files:  [^gitClonePlugins.bat]  
[^gitClonePlugins.sh] [^pullPluginSource.bat]  [^pullPluginSource.sh]  
Note that bat and sh that are similar and even same for the clone and 
sparse-checkout parts.

Unlike a normal checkout, sparse-checkout needs a specific syntax to create 
branches. Trunk is created by default. Here is the way, eg : {{git switch -c 
release18.12 --track origin/release18.12}}

I have still to work on the pullAllPluginsSource task...

> Replace SvnCheckout in Gradle
> -
>
> Key: OFBIZ-12868
> URL: https://issues.apache.org/jira/browse/OFBIZ-12868
> Project: OFBiz
>  Issue Type: Task
>  Components: GitHub, Gradle
>Affects Versions: 22.01.01, Upcoming Branch, 18.12.10
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Major
> Attachments: build.gradle.notworking, gitClonePlugins.bat, 
> gitClonePlugins.patch, gitClonePlugins.sh, pullPluginSource.bat, 
> pullPluginSource.sh
>
>
> As mentionned in 
> https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
> the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
> So we need a replacement and it's clearly suggested by GitHub in the link 
> above



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