Re: [DISCUSS] Move maven caching to an external repository

2022-01-15 Thread Guillaume Nodet
Jira project? > > +1 > > > > >>(3) ok for me to move MNG-7129 issue (and sub-tasks) to that new Jira > project? > > Mb, copy or clone ? as #607 and #622 are done under this Jira > > > > Kind regards, > > Max > > > > -Original

RE: [DISCUSS] Move maven caching to an external repository

2022-01-15 Thread Herve Boutemy
> Kind regards, > Max > > -Original Message- > From: Hervé BOUTEMY > Sent: Tuesday, January 11, 2022 2:17 AM > To: Maven Developers List > Subject: Re: [DISCUSS] Move maven caching to an external repository > > let's finish the work > > code

RE: [DISCUSS] Move maven caching to an external repository

2022-01-13 Thread Maximilian Novikov
project? Mb, copy or clone ? as #607 and #622 are done under this Jira Kind regards, Max -Original Message- From: Hervé BOUTEMY Sent: Tuesday, January 11, 2022 2:17 AM To: Maven Developers List Subject: Re: [DISCUSS] Move maven caching to an external repository let's finish the work code

Re: [DISCUSS] Move maven caching to an external repository

2022-01-10 Thread Hervé BOUTEMY
let's finish the work code of former MNG-7129-maven-caching branch is now in https://github.com/apache/maven-build-cache-extension (1) ok if I delete MNG-7129-maven-caching branch from maven.git? (2) ok for me to create MBUILDCACHE Jira project? (3) ok for me to move MNG-7129 issue (and

Re: [DISCUSS] Move maven caching to an external repository

2022-01-04 Thread Hervé BOUTEMY
perhaps we should create a Jira project? MBUILDCACHE? Le mardi 4 janvier 2022, 13:07:09 CET Herve Boutemy a écrit : > done: https://github.com/apache/maven-build-cache-extension > > On 2022/01/04 07:30:40 Guillaume Nodet wrote: > > I'd go for #2 ... > > > > Le mar. 4 janv. 2022 à 00:14, Hervé

Re: [DISCUSS] Move maven caching to an external repository

2022-01-04 Thread Herve Boutemy
done: https://github.com/apache/maven-build-cache-extension On 2022/01/04 07:30:40 Guillaume Nodet wrote: > I'd go for #2 ... > > Le mar. 4 janv. 2022 à 00:14, Hervé BOUTEMY a > écrit : > > > yes, I was happy to learn about that shallow + filter approach :) > > > > now, we have one choice to

Re: [DISCUSS] Move maven caching to an external repository

2022-01-03 Thread Guillaume Nodet
I'd go for #2 ... Le mar. 4 janv. 2022 à 00:14, Hervé BOUTEMY a écrit : > yes, I was happy to learn about that shallow + filter approach :) > > now, we have one choice to do: > 1. keep the shallow repository > or > 2. keep a strongly filtered repository done from the shallow > > option 2 gives

Re: [DISCUSS] Move maven caching to an external repository

2022-01-03 Thread Hervé BOUTEMY
yes, I was happy to learn about that shallow + filter approach :) now, we have one choice to do: 1. keep the shallow repository or 2. keep a strongly filtered repository done from the shallow option 2 gives a smaller Git repository (0.8 MB vs 3.77 MB), but old commits cannot be built (because

Re: [DISCUSS] Move maven caching to an external repository

2022-01-03 Thread Guillaume Nodet
Awesome ! I didn't know about the shallow options during clone. This looks good to me ! Guillaume Le ven. 24 déc. 2021 à 00:14, Hervé BOUTEMY a écrit : > short version: > I think I managed to extract exactly what we wanted: >

Re: [DISCUSS] Move maven caching to an external repository

2021-12-23 Thread Hervé BOUTEMY
short version: I think I managed to extract exactly what we wanted: https://github.com/hboutemy/maven-build-cache-extension-shallow-filtered please review and confirm the result is ok longer version: how was it done? the first recipe I found is to drop old history: git clone

Re: [DISCUSS] Move maven caching to an external repository

2021-12-19 Thread Hervé BOUTEMY
I've tried to use git filter-repo, excluding unwanted directories or extensions here is a sample result: https://github.com/hboutemy/maven-build-cache-extension-filtered = 4200 commits instead of initial 11700 https://github.com/hboutemy/maven-build-cache-extension we can still improve the list

Re: [DISCUSS] Move maven caching to an external repository

2021-12-17 Thread Romain Manni-Bucau
+1 Romain Manni-Bucau @rmannibucau | Blog | Old Blog | Github | LinkedIn | Book

Re: [DISCUSS] Move maven caching to an external repository

2021-12-17 Thread Guillaume Nodet
I've tried various things without any good results. Given there's not much history to preserve here, I'd go ahead and just create a new repo with the current contents of the branch. Any objections? Le dim. 12 déc. 2021 à 15:43, Jeff Jensen a écrit : > I've split git repos before and using

Re: [DISCUSS] Move maven caching to an external repository

2021-12-12 Thread Jeff Jensen
I've split git repos before and using filter-branch is the key to keep the desired and purge the rest. >From my notes, these two posts helped me: * https://docs.github.com/en/get-started/using-git/splitting-a-subfolder-out-into-a-new-repository *

Re: [DISCUSS] Move maven caching to an external repository

2021-12-12 Thread Hervé BOUTEMY
nice work done I published the result to https://maven.apache.org/ref/caching-LATEST/ now, on moving source to a separate Git repository, I did a basic test pushing to a new repository: https://github.com/hboutemy/maven-build-cache-extension this leads to getting quite a lot of Maven history

Re: [DISCUSS] Move maven caching to an external repository

2021-12-10 Thread Arnaud Héritier
+1 go for it !! On Fri, Dec 10, 2021 at 7:37 PM Michael Osipov wrote: > Am 2021-12-10 um 10:30 schrieb Guillaume Nodet: > > I've refactored the build to be a single-module build. > > I agree that maven-caching is not the most descriptive, I'd be pleased > with > >*

Re: [DISCUSS] Move maven caching to an external repository

2021-12-10 Thread Michael Osipov
Am 2021-12-10 um 10:30 schrieb Guillaume Nodet: I've refactored the build to be a single-module build. I agree that maven-caching is not the most descriptive, I'd be pleased with * maven-build-cache-extension* This sounds very promising.

Re: [DISCUSS] Move maven caching to an external repository

2021-12-10 Thread Jason van Zyl
+1 jvz > On Dec 10, 2021, at 4:30 AM, Guillaume Nodet wrote: > > I've refactored the build to be a single-module build. > I agree that maven-caching is not the most descriptive, I'd be pleased with > * maven-build-cache-extension* > > Guillaume >

Re: [DISCUSS] Move maven caching to an external repository

2021-12-10 Thread Romain Manni-Bucau
+1 for maven-build-cache-extension as well Romain Manni-Bucau @rmannibucau | Blog | Old Blog | Github | LinkedIn |

Re: [DISCUSS] Move maven caching to an external repository

2021-12-10 Thread Tamás Cservenák
+1 for maven-build-cache-extension On Fri, Dec 10, 2021 at 11:00 AM Guillaume Nodet wrote: > I've refactored the build to be a single-module build. > I agree that maven-caching is not the most descriptive, I'd be pleased with > * maven-build-cache-extension* > > Guillaume > > Le jeu. 9 déc.

Re: [DISCUSS] Move maven caching to an external repository

2021-12-10 Thread Guillaume Nodet
I've refactored the build to be a single-module build. I agree that maven-caching is not the most descriptive, I'd be pleased with * maven-build-cache-extension* Guillaume Le jeu. 9 déc. 2021 à 11:40, Michael Osipov a écrit : > Am 2021-12-07 um 09:47 schrieb Guillaume Nodet: > > Following

Re: [DISCUSS] Move maven caching to an external repository

2021-12-09 Thread Michael Osipov
Am 2021-12-07 um 09:47 schrieb Guillaume Nodet: Following the recent work done to integrate the maven caching / incremental build system into maven, I think it's now time to discuss where we want its long-term location to be. This extension was donated a few months ago and provides local and

Re: [DISCUSS] Move maven caching to an external repository

2021-12-09 Thread Guillaume Nodet
Le jeu. 9 déc. 2021 à 09:52, Hervé BOUTEMY a écrit : > we have most plugins that are simple with only 1 mono-module build > This makes documentation easy in /plugins/maven-*-plugin/: > see https://maven.apache.org/components/plugins/ for full list > > we have a few components that have a plugin

Re: [DISCUSS] Move maven caching to an external repository

2021-12-09 Thread Hervé BOUTEMY
we have most plugins that are simple with only 1 mono-module build This makes documentation easy in /plugins/maven-*-plugin/: see https://maven.apache.org/components/plugins/ for full list we have a few components that have a plugin as part of a larger multi-module build, like surefire, jxr,

Re: [DISCUSS] Move maven caching to an external repository

2021-12-09 Thread Tamás Cservenák
s/scp/scm Sorry T On Thu, Dec 9, 2021 at 9:04 AM Tamás Cservenák wrote: > Howdy, > > yes, like maven-scm, that contains m-scp-p among other things, but there > is complete scm codebase (while m-scp-p merely "invokes" it), also, there > are examples of re-using maven-scm outside of maven, like

Re: [DISCUSS] Move maven caching to an external repository

2021-12-09 Thread Tamás Cservenák
Howdy, yes, like maven-scm, that contains m-scp-p among other things, but there is complete scm codebase (while m-scp-p merely "invokes" it), also, there are examples of re-using maven-scm outside of maven, like in case of m2e Can maven-caching be reused in any other way than extension (by

Re: [DISCUSS] Move maven caching to an external repository

2021-12-09 Thread Guillaume Nodet
I think the repository name should not contain 'extension', similar to surefire which provides a plugin, but it a bit more complex The fact that it is provided as an extension is a technicality in this case imho. No big deal though... Le mar. 7 déc. 2021 à 09:53, Tamás Cservenák a écrit : >

Re: [DISCUSS] Move maven caching to an external repository

2021-12-07 Thread Hervé BOUTEMY
Le mardi 7 décembre 2021, 10:21:47 CET Arnaud Héritier a écrit : > I agree that having a set of official extensions might be ideal. see https://maven.apache.org/extensions/ We can publish maven-caching-extension to https://maven.apache.org/extensions/maven-caching-extension I can publish the site

Re: [DISCUSS] Move maven caching to an external repository

2021-12-07 Thread Arnaud Héritier
I agree that having a set of official extensions might be ideal. Today the most popular are still the Takari ones AFAIK but they aren't officially supported by our team and thus probably less used than they could/should. Due to the git organization @ASF I don't know what is easier between having 1

Re: [DISCUSS] Move maven caching to an external repository

2021-12-07 Thread Tamás Cservenák
Howdy, I'd rather group ASF extensions (are there any existing ones aside of caching?), to be clear... so GH repo could be something like apache/maven-caching-extension apache/maven-foobar-extension etc? T On Tue, Dec 7, 2021 at 9:48 AM Guillaume Nodet wrote: > Following the recent work done

[DISCUSS] Move maven caching to an external repository

2021-12-07 Thread Guillaume Nodet
Following the recent work done to integrate the maven caching / incremental build system into maven, I think it's now time to discuss where we want its long-term location to be. This extension was donated a few months ago and provides local and remote caching of maven project's output, based on