You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@logging.apache.org by Vladimir Sitnikov <si...@gmail.com> on 2021/12/16 04:49:44 UTC

[VOTE] Move log4j 1.x from SVN to Git, use the current apache/log4j mirror

Hi,

I suggest log4j 1.x moves from SVN to Git.
I do not expect to have great development, however, moving to Git would make
it easier to contribute and review changes.

[ ] +1 let's move to Git and make SVN read-only
[ ] -1 don't do that because ...

Here's my vote: +1

Vladimir

Re: [VOTE] Move log4j 1.x from SVN to Git, use the current apache/log4j mirror

Posted by Robert Middleton <rm...@apache.org>.
I think this is a good idea - regardless of whether or not we do a
release of 1.2, having the git repo easily available for reference is
nice.

-Robert Middleton

On Thu, Dec 16, 2021 at 12:18 PM Matt Sicker <bo...@gmail.com> wrote:
>
> I think migrating the repo to Git would make an eventual release easier to accomplish. I’ll note that long ago before Log4j2 switched to Git, I was using our Subversion repository via git-svn anyways, so that’s also an option (note that it’s a little finicky as you can’t introduce complicated commit histories back into subversion). However, if that approach doesn’t work for performing a release, then I think it would make sense to migrate. We can always mark the repository as archived on GitHub after the release.
> --
> Matt Sicker
>
> > On Dec 16, 2021, at 07:32, Gary Gregory <ga...@gmail.com> wrote:
> >
> > Let me also point out another aspect of the overall issue for Log4j 1 vs 2:
> > Log4j 2 provides a compatibility layer for 1, for the 1.2 API and for some
> > configuration files. It is not a 100% drop in replacement, but it could be
> > made much better with some work. So, I would prefer that brain power for
> > 1.x be applied in this direction, such that we could say update to 2.x and
> > pow, it works :-)
> >
> > Gary
> >
> > On Thu, Dec 16, 2021, 08:13 Gary Gregory <ga...@gmail.com> wrote:
> >
> >> I am just voicing my opinion, others can still cause this to pass.
> >>
> >> Gary
> >>
> >> On Thu, Dec 16, 2021, 00:12 Vladimir Sitnikov <si...@gmail.com>
> >> wrote:
> >>
> >>> I thought there was an agreement on releasing 1.2.18 as "networkless"
> >>> release.
> >>> I think moving to Git (which is a no-op basically), would greatly simplify
> >>> that.
> >>>
> >>>> 1.x has been EOL since 2015
> >>>
> >>> There's a demand for fixing CVEs in 1.x
> >>>
> >>>> with possible confusion as to which version
> >>>> 1.x vs 2.x to use in which circumstance
> >>>
> >>> There are cases when users can't upgrade. For instance, if they use
> >>> configuration from code, etc.
> >>>
> >>>> 1.x has been EOL since 2015, this would only encourage full resurrection
> >>>
> >>> 1.x live as long as there are individuals that want to maintain it.
> >>> As of now, several people suggested patches that make 1.x buildable float
> >>> at dev@logging.
> >>> Having the same patches as GitHub PR would make it easier for everyone.
> >>>
> >>> Vladimir
> >>>
> >>
>

Re: [VOTE] Move log4j 1.x from SVN to Git, use the current apache/log4j mirror

Posted by Matt Sicker <bo...@gmail.com>.
I think migrating the repo to Git would make an eventual release easier to accomplish. I’ll note that long ago before Log4j2 switched to Git, I was using our Subversion repository via git-svn anyways, so that’s also an option (note that it’s a little finicky as you can’t introduce complicated commit histories back into subversion). However, if that approach doesn’t work for performing a release, then I think it would make sense to migrate. We can always mark the repository as archived on GitHub after the release.
--
Matt Sicker

> On Dec 16, 2021, at 07:32, Gary Gregory <ga...@gmail.com> wrote:
> 
> Let me also point out another aspect of the overall issue for Log4j 1 vs 2:
> Log4j 2 provides a compatibility layer for 1, for the 1.2 API and for some
> configuration files. It is not a 100% drop in replacement, but it could be
> made much better with some work. So, I would prefer that brain power for
> 1.x be applied in this direction, such that we could say update to 2.x and
> pow, it works :-)
> 
> Gary
> 
> On Thu, Dec 16, 2021, 08:13 Gary Gregory <ga...@gmail.com> wrote:
> 
>> I am just voicing my opinion, others can still cause this to pass.
>> 
>> Gary
>> 
>> On Thu, Dec 16, 2021, 00:12 Vladimir Sitnikov <si...@gmail.com>
>> wrote:
>> 
>>> I thought there was an agreement on releasing 1.2.18 as "networkless"
>>> release.
>>> I think moving to Git (which is a no-op basically), would greatly simplify
>>> that.
>>> 
>>>> 1.x has been EOL since 2015
>>> 
>>> There's a demand for fixing CVEs in 1.x
>>> 
>>>> with possible confusion as to which version
>>>> 1.x vs 2.x to use in which circumstance
>>> 
>>> There are cases when users can't upgrade. For instance, if they use
>>> configuration from code, etc.
>>> 
>>>> 1.x has been EOL since 2015, this would only encourage full resurrection
>>> 
>>> 1.x live as long as there are individuals that want to maintain it.
>>> As of now, several people suggested patches that make 1.x buildable float
>>> at dev@logging.
>>> Having the same patches as GitHub PR would make it easier for everyone.
>>> 
>>> Vladimir
>>> 
>> 


Re: [VOTE] Move log4j 1.x from SVN to Git, use the current apache/log4j mirror

Posted by Gary Gregory <ga...@gmail.com>.
Let me also point out another aspect of the overall issue for Log4j 1 vs 2:
Log4j 2 provides a compatibility layer for 1, for the 1.2 API and for some
configuration files. It is not a 100% drop in replacement, but it could be
made much better with some work. So, I would prefer that brain power for
1.x be applied in this direction, such that we could say update to 2.x and
pow, it works :-)

Gary

On Thu, Dec 16, 2021, 08:13 Gary Gregory <ga...@gmail.com> wrote:

> I am just voicing my opinion, others can still cause this to pass.
>
> Gary
>
> On Thu, Dec 16, 2021, 00:12 Vladimir Sitnikov <si...@gmail.com>
> wrote:
>
>> I thought there was an agreement on releasing 1.2.18 as "networkless"
>> release.
>> I think moving to Git (which is a no-op basically), would greatly simplify
>> that.
>>
>> >1.x has been EOL since 2015
>>
>> There's a demand for fixing CVEs in 1.x
>>
>> >with possible confusion as to which version
>> >1.x vs 2.x to use in which circumstance
>>
>> There are cases when users can't upgrade. For instance, if they use
>> configuration from code, etc.
>>
>> >1.x has been EOL since 2015, this would only encourage full resurrection
>>
>> 1.x live as long as there are individuals that want to maintain it.
>> As of now, several people suggested patches that make 1.x buildable float
>> at dev@logging.
>> Having the same patches as GitHub PR would make it easier for everyone.
>>
>> Vladimir
>>
>

Re: [VOTE] Move log4j 1.x from SVN to Git, use the current apache/log4j mirror

Posted by Gary Gregory <ga...@gmail.com>.
I am just voicing my opinion, others can still cause this to pass.

Gary

On Thu, Dec 16, 2021, 00:12 Vladimir Sitnikov <si...@gmail.com>
wrote:

> I thought there was an agreement on releasing 1.2.18 as "networkless"
> release.
> I think moving to Git (which is a no-op basically), would greatly simplify
> that.
>
> >1.x has been EOL since 2015
>
> There's a demand for fixing CVEs in 1.x
>
> >with possible confusion as to which version
> >1.x vs 2.x to use in which circumstance
>
> There are cases when users can't upgrade. For instance, if they use
> configuration from code, etc.
>
> >1.x has been EOL since 2015, this would only encourage full resurrection
>
> 1.x live as long as there are individuals that want to maintain it.
> As of now, several people suggested patches that make 1.x buildable float
> at dev@logging.
> Having the same patches as GitHub PR would make it easier for everyone.
>
> Vladimir
>

Re: [VOTE] Move log4j 1.x from SVN to Git, use the current apache/log4j mirror

Posted by Vladimir Sitnikov <si...@gmail.com>.
I thought there was an agreement on releasing 1.2.18 as "networkless"
release.
I think moving to Git (which is a no-op basically), would greatly simplify
that.

>1.x has been EOL since 2015

There's a demand for fixing CVEs in 1.x

>with possible confusion as to which version
>1.x vs 2.x to use in which circumstance

There are cases when users can't upgrade. For instance, if they use
configuration from code, etc.

>1.x has been EOL since 2015, this would only encourage full resurrection

1.x live as long as there are individuals that want to maintain it.
As of now, several people suggested patches that make 1.x buildable float
at dev@logging.
Having the same patches as GitHub PR would make it easier for everyone.

Vladimir

Re: [VOTE] Move log4j 1.x from SVN to Git, use the current apache/log4j mirror

Posted by Gary Gregory <ga...@gmail.com>.
-1

1.x has been EOL since 2015, this would only encourage full resurrection,
and inevitable feature creep, with possible confusion as to which version
1.x vs 2.x to use in which circumstance.

Gary

On Wed, Dec 15, 2021, 23:50 Vladimir Sitnikov <si...@gmail.com>
wrote:

> Hi,
>
> I suggest log4j 1.x moves from SVN to Git.
> I do not expect to have great development, however, moving to Git would
> make
> it easier to contribute and review changes.
>
> [ ] +1 let's move to Git and make SVN read-only
> [ ] -1 don't do that because ...
>
> Here's my vote: +1
>
> Vladimir
>

Re: [VOTE] Move log4j 1.x from SVN to Git, use the current apache/log4j mirror

Posted by Robert Middleton <os...@gmail.com>.
So it is possible, that's good to know.  I was assuming that since it
is currently a mirror of SVN, it couldn't be easily migrated.

-Robert Middleton

On Sun, Dec 19, 2021 at 2:27 AM Vladimir Sitnikov
<si...@gmail.com> wrote:
>
> >I think we would
> have to create a new repo and make the PR against the new repo
> instead.
>
> Why create a new repo? The current is just fine.
>
> For instance, I migrated Apache JMeter from SVN to Git, and extra git
> repositories were not needed.
>
> See
> https://issues.apache.org/jira/browse/INFRA-18499?focusedCommentId=16855765&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16855765
>
> Vladimir

Re: [VOTE] Move log4j 1.x from SVN to Git, use the current apache/log4j mirror

Posted by Vladimir Sitnikov <si...@gmail.com>.
>I think we would
have to create a new repo and make the PR against the new repo
instead.

Why create a new repo? The current is just fine.

For instance, I migrated Apache JMeter from SVN to Git, and extra git
repositories were not needed.

See
https://issues.apache.org/jira/browse/INFRA-18499?focusedCommentId=16855765&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16855765

Vladimir

Re: [VOTE] Move log4j 1.x from SVN to Git, use the current apache/log4j mirror

Posted by Robert Middleton <os...@gmail.com>.
I think the current git repo is an SVN mirror, so there's no way to
merge from github into SVN(as far as I can tell).  I think we would
have to create a new repo and make the PR against the new repo
instead.

Making a new git repo is now self-serve:
https://infra.apache.org/svn-to-git-migration.html
The PMC chair needs to be the one to create the repo though.

-Robert Middleton

On Sat, Dec 18, 2021 at 11:38 AM Leo Simons <ma...@leosimons.com> wrote:
>
> +1 from me.
>
> I imagine it should make it easier to make the security release when setup
> for 1.2 is more similar to 2.x.
> That should mean people who are good at releasing 2.x have an easy time
> releasing 1.2.18.
>
> I think we can (and should) do this in such a way that 1.2 EOL status
> becomes *more* clear to git people.
>
> To that end, in the case where SVN stays as the source, I think we should
> still add a README.md to the trunk, so that https://github.com/apache/log4j
> makes it very clear the package is EOL.
>
>
> Cheers,
>
>
> Leo
>
> On Thu, Dec 16, 2021 at 5:50 AM Vladimir Sitnikov <
> sitnikov.vladimir@gmail.com> wrote:
>
> > Hi,
> >
> > I suggest log4j 1.x moves from SVN to Git.
> > I do not expect to have great development, however, moving to Git would
> > make
> > it easier to contribute and review changes.
> >
> > [ ] +1 let's move to Git and make SVN read-only
> > [ ] -1 don't do that because ...
> >
> > Here's my vote: +1
> >
> > Vladimir
> >

Re: [VOTE] Move log4j 1.x from SVN to Git, use the current apache/log4j mirror

Posted by Leo Simons <ma...@leosimons.com>.
+1 from me.

I imagine it should make it easier to make the security release when setup
for 1.2 is more similar to 2.x.
That should mean people who are good at releasing 2.x have an easy time
releasing 1.2.18.

I think we can (and should) do this in such a way that 1.2 EOL status
becomes *more* clear to git people.

To that end, in the case where SVN stays as the source, I think we should
still add a README.md to the trunk, so that https://github.com/apache/log4j
makes it very clear the package is EOL.


Cheers,


Leo

On Thu, Dec 16, 2021 at 5:50 AM Vladimir Sitnikov <
sitnikov.vladimir@gmail.com> wrote:

> Hi,
>
> I suggest log4j 1.x moves from SVN to Git.
> I do not expect to have great development, however, moving to Git would
> make
> it easier to contribute and review changes.
>
> [ ] +1 let's move to Git and make SVN read-only
> [ ] -1 don't do that because ...
>
> Here's my vote: +1
>
> Vladimir
>