infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Sitnikov (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (INFRA-18499) Migrate primary VCS from SVN to Git for Apache JMeter
Date Mon, 17 Jun 2019 15:10:00 GMT

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

Vladimir Sitnikov edited comment on INFRA-18499 at 6/17/19 3:09 PM:
--------------------------------------------------------------------

> What is the problem you are trying to achieve

Daniel, we have a bunch of jar files in the repository (see id, size, name below) which were
created and removed "long ago".
Those blobs still count towards the repository size, and those increase fork size/download
size for everybody (people often tend to use full clones).

So I'm trying to minimize the repository size. Of course the saving of 1.5M is not tremendous,
however we are only 4 trivial commits past migration from SVN, so it is not like I'm trying
to rewrite "the whole history" for the sake of saving 1.5M.

The amount of "rewritten" history would be 4 trivial commits. The rest is kept in SVN anyway.

The js.jar was removed in 2009, and I see no reason I could delete the blob by adding more
Git commits:

> Sebastian Bazley <sebb@apache.org>  2009-09-19 17:19:26
> https://svn.apache.org/repos/asf/jakarta/jmeter/trunk@816920
> Message: Drop jars that are downloadable elsewhere


List of blobs:

43080ba9bab1 3832 lib/junit/test.jar
423c8a3297d8 4337 extras/ant-jmeter.jar
06a49dca69d1 5462 extras/ant-jmeter.jar
87c3d42360a8 6909 bin/Apache-JMeter.jar
df9d33b6a793 8088 extras/ant-jmeter.jar
8905dc13b989 8238 lib/excalibur-i18n-1.1.jar
115edd0b00c6 8782 extras/ant-jmeter.jar
6b648bb77ee2 9395 bin/Apache-JMeter.jar
780b574cb24f 24538 lib/xpp3_min-1.1.3.4.I.jar
640441dad25a 24677 lib/xpp3_min-1.1.3.4.O.jar
813a9a830bd0 24956 lib/xpp3_min-1.1.4c.jar
a34d599e7bae 596528 lib/js.jar
2b926505d024 708951 lib/js_rhino1_6R5.jar


was (Author: vladimirsitnikov):
> What is the problem you are trying to achieve

Daniel, we have a bunch of jar files in the repository (see id, size, name below) which were
created and removed "long ago".
Those blobs still count towards the repository size, and those increase fork size/download
size for everybody (people often tend to use full clones).

So I'm trying to minimize the repository size. Of course the saving of 1.5M is not tremendous,
however we are 4 trivial commits past "cleanup" migration, so it is not like I'm trying to
rewrite "the whole history" for the sake of saving 1.5M.

The amount of "rewritten" history would be 4 trivial commits. The rest is kept in SVN anyway.

The js.jar was removed in 2009, and I see no reason I could delete the blob by adding more
Git commits:

> Sebastian Bazley <sebb@apache.org>  2009-09-19 17:19:26
> https://svn.apache.org/repos/asf/jakarta/jmeter/trunk@816920
> Message: Drop jars that are downloadable elsewhere


List of blobs:

43080ba9bab1 3832 lib/junit/test.jar
423c8a3297d8 4337 extras/ant-jmeter.jar
06a49dca69d1 5462 extras/ant-jmeter.jar
87c3d42360a8 6909 bin/Apache-JMeter.jar
df9d33b6a793 8088 extras/ant-jmeter.jar
8905dc13b989 8238 lib/excalibur-i18n-1.1.jar
115edd0b00c6 8782 extras/ant-jmeter.jar
6b648bb77ee2 9395 bin/Apache-JMeter.jar
780b574cb24f 24538 lib/xpp3_min-1.1.3.4.I.jar
640441dad25a 24677 lib/xpp3_min-1.1.3.4.O.jar
813a9a830bd0 24956 lib/xpp3_min-1.1.4c.jar
a34d599e7bae 596528 lib/js.jar
2b926505d024 708951 lib/js_rhino1_6R5.jar

> Migrate primary VCS from SVN to Git for Apache JMeter
> -----------------------------------------------------
>
>                 Key: INFRA-18499
>                 URL: https://issues.apache.org/jira/browse/INFRA-18499
>             Project: Infrastructure
>          Issue Type: SVN->GIT Migration
>          Components: GitBox, Subversion
>            Reporter: Vladimir Sitnikov
>            Assignee: Chris Lambertus
>            Priority: Major
>
> There's an agreement to migrate from SVN to GitBox for Apache JMeter.
> Here's the vote thread: https://www.mail-archive.com/dev@jmeter.apache.org/msg13085.html
> One of the ideas is to cleanup Git repository as a part of migration (e.g. remove accidentally
committed multi-megabyte jar files)
> Can you please clarify if that is a viable approach?
> My understanding is that it is valid to alter history (e.g. remove unrelated files) during
SVN->Git migration.
> Note: I do understand that "GitHub pull requests will need to be rebased", so the question
is more like "are there limitations on history edits during migration?"
> Current SVN: https://svn.apache.org/repos/asf/jmeter
> Desired Git: https://github.com/apache/jmeter
> "git cleanup" is an automatic script: https://github.com/vlsi/jmeter-git-cleanup/blob/4cb08789bd70eb61f77e94fbebc32974ea6da215/run.sh
> The result is as follows: https://github.com/vlsi/jmeter-git-cleanup-result
> As far as I understand, the process is as follows:
> * JMeter committers settle on a timeframe so they do not commit to SVN/Git repositories
> * Infra disables SVN->Git sync
> * Infra disables mail notifications for https://github.com/apache/jmeter
> * Infra makes SVN repository a read-only one
> * Infra (or someone from JMeter comitters?) populates https://github.com/apache/jmeter
> * Infra enables mail notifications for https://github.com/apache/jmeter



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message