You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by Vladimir Sitnikov <si...@gmail.com> on 2019/06/04 05:37:01 UTC
Re: Migrate SVN -> Git
sebb> but the other still applies, i.e. is
sebb>Infra OK with dropping files during conversion?
As per INFRA-18499:
Chris>A documented note of the blob removal process (script) and
Chris>a list of the removed objects should be sufficient if the project
agrees that it is so.
Hopefully it resolves both concerns.
Vladimir
Re: Migrate SVN -> Git
Posted by Felix Schumacher <fe...@internetallee.de>.
Am 16.06.19 um 20:10 schrieb Vladimir Sitnikov:
> Philippe>Fixed and tested first PR merging
>
> Ok. Great.
>
> Should we use "squash and merge" / "rebase and merge" for PRs by default?
>
> You just created a merge commit "Merge pull request #468 from
> ubikloadpack/master", and merge commits might become complicated,
> especially when you merge commits that were created long ago.
> I don't think we want this for JMeter history:
> https://twitter.com/dominikhonnef/status/1126850717690552320
>
> I suggest we try to stick with linear history.
> What if we disable "merge" button and leave just "squash and merge" /
> "rebase and merge"?
As it is only a few people that can do a merge, I would try to first
teach those to use the alternatives before taking one away.
I tend to favor rebase and merge, as it keeps the smaller steps that
lead to the PR while giving a nice linear history after the merge.
Felix
>
> Vladimir
>
Re: Migrate SVN -> Git
Posted by Vladimir Sitnikov <si...@gmail.com>.
Philippe>Fixed and tested first PR merging
Ok. Great.
Should we use "squash and merge" / "rebase and merge" for PRs by default?
You just created a merge commit "Merge pull request #468 from
ubikloadpack/master", and merge commits might become complicated,
especially when you merge commits that were created long ago.
I don't think we want this for JMeter history:
https://twitter.com/dominikhonnef/status/1126850717690552320
I suggest we try to stick with linear history.
What if we disable "merge" button and leave just "squash and merge" /
"rebase and merge"?
Vladimir
Re: Migrate SVN -> Git
Posted by Philippe Mouawad <ph...@gmail.com>.
Thanks Vladimir.
Fixed and tested first PR merging.
That's nice !
On Sun, Jun 16, 2019 at 7:11 PM Vladimir Sitnikov <
sitnikov.vladimir@gmail.com> wrote:
> Philippe>Our build is marked as failed on github due to a commit on
> failing PR.
>
> I guess the reason is README.md explicitly refers branch=trunk, so we need
> to update README.md to point to "master" branch as well.
>
> As you can see, "master" build is ok:
> https://travis-ci.org/apache/jmeter/branches
>
> Vladimir
>
--
Cordialement.
Philippe Mouawad.
Re: Migrate SVN -> Git
Posted by Vladimir Sitnikov <si...@gmail.com>.
Philippe>Our build is marked as failed on github due to a commit on failing PR.
I guess the reason is README.md explicitly refers branch=trunk, so we need
to update README.md to point to "master" branch as well.
As you can see, "master" build is ok:
https://travis-ci.org/apache/jmeter/branches
Vladimir
Re: Migrate SVN -> Git
Posted by Philippe Mouawad <pm...@apache.org>.
One thing I noticed since migration.
Our build is marked as failed on github due to a commit on failing PR.
i don’t think it was the case before.
Regards
On Thursday, June 13, 2019, Vladimir Sitnikov <si...@gmail.com>
wrote:
> Vladimir> https://github.com/apache/jmeter
> Philippe>Isn't it
>
> Just in case: https://github.com/apache/jmeter (with master=778016e..) is
> a
> **result** of cleanup v2.2.0
> The cleanup script is
> https://github.com/vlsi/jmeter-git-cleanup/tree/v2.2.0/clean_fork (you
> just use it as is, and you do not un-comment lines unless you are
> absolutely sure)
>
> PS. Are there Windows users? We might need Windows-based *.bat script,
> however as nobody asks for that I just ignore it.
>
> >Yes , I had used 2.1.1
> >Shall I run 2.2.0 on my current fork ?
>
> Do you have a backup?
> If you do, I would recommend get that and run 2.2.0 on top of it.
>
> Alternative option is to run 2.2.0 on top of "after cleanup v2.1.1" repo.
> Theoretically it should produce the same result (the only difference is
> CRLF issues, so cleanup 2.2.0 should work after 2.1.1 just fine).
> However I would be on a safe side and just ran v2.2.0 on top of your fork.
> At the end of the day, I have not tested all the possible cleanup execution
> orders.
>
> Note: I executed v2.2.0 in my own fork and it was just fine (I develop
> Gradle migration in that fork, and there are lots of historical branches as
> well).
> I did not have to clone-reclone that from github. I just copied repo in a
> side folder, copied cleanup scripts there and that was it.
>
> Vladimir
>
Re: Migrate SVN -> Git
Posted by Vladimir Sitnikov <si...@gmail.com>.
Vladimir> https://github.com/apache/jmeter
Philippe>Isn't it
Just in case: https://github.com/apache/jmeter (with master=778016e..) is a
**result** of cleanup v2.2.0
The cleanup script is
https://github.com/vlsi/jmeter-git-cleanup/tree/v2.2.0/clean_fork (you
just use it as is, and you do not un-comment lines unless you are
absolutely sure)
PS. Are there Windows users? We might need Windows-based *.bat script,
however as nobody asks for that I just ignore it.
>Yes , I had used 2.1.1
>Shall I run 2.2.0 on my current fork ?
Do you have a backup?
If you do, I would recommend get that and run 2.2.0 on top of it.
Alternative option is to run 2.2.0 on top of "after cleanup v2.1.1" repo.
Theoretically it should produce the same result (the only difference is
CRLF issues, so cleanup 2.2.0 should work after 2.1.1 just fine).
However I would be on a safe side and just ran v2.2.0 on top of your fork.
At the end of the day, I have not tested all the possible cleanup execution
orders.
Note: I executed v2.2.0 in my own fork and it was just fine (I develop
Gradle migration in that fork, and there are lots of historical branches as
well).
I did not have to clone-reclone that from github. I just copied repo in a
side folder, copied cleanup scripts there and that was it.
Vladimir
Re: Migrate SVN -> Git
Posted by Philippe Mouawad <ph...@gmail.com>.
Hi Vladimir,
On Thu, Jun 13, 2019 at 5:37 PM Vladimir Sitnikov <
sitnikov.vladimir@gmail.com> wrote:
> Just in case, I've pushed EOL v2.2.0 cleanup to
> https://github.com/apache/jmeter
Isn't it:
https://github.com/vlsi/jmeter-git-cleanup/tree/v2.2.0/clean_fork
>
>
> Travis is still in progress (
> https://travis-ci.org/apache/jmeter/builds/545287212 ), however I think it
> would be ok because final repository state is the same modulo line endings.
>
> @Philippe, did you succeed with fork cleanup?
>
Yes , I had used 2.1.1
https://github.com/vlsi/jmeter-git-cleanup/tree/v2.1.1/clean_fork and
resubmitted a PR.
But then some other manipulations were done by Infra and now repo is unsync.
Shall I run 2.2.0 on my current fork ?
Or should I drop fork's master and run 2.2.0 ?
Thanks
> Vladimir
>
--
Cordialement.
Philippe Mouawad.
Re: Migrate SVN -> Git
Posted by Vladimir Sitnikov <si...@gmail.com>.
Just in case, I've pushed EOL v2.2.0 cleanup to
https://github.com/apache/jmeter
Travis is still in progress (
https://travis-ci.org/apache/jmeter/builds/545287212 ), however I think it
would be ok because final repository state is the same modulo line endings.
@Philippe, did you succeed with fork cleanup?
Vladimir
Re: Migrate SVN -> Git
Posted by Vladimir Sitnikov <si...@gmail.com>.
Here you go:
https://github.com/vlsi/jmeter-git-cleanup/tree/v2.2.0/clean_fork (new
cleanup script + new bfg)
I have normalized line endings, and it looks like an improvement to me.
It is nice how "fix eol" commits become a no-op, thus "history browsing"
would be much simpler:
https://github.com/vlsi/jmeter-git-cleanup-result/commit/8f1496b2ec2c5f258d2b5216579e2a57fe96d950
The updated preview is https://github.com/vlsi/jmeter-git-cleanup-result
I've asked Chris to disable mail notifications and unlock master so I can
push updated repo to apache/jmeter.
Vladimir
Re: Migrate SVN -> Git
Posted by Vladimir Sitnikov <si...@gmail.com>.
Philippe> had applied the cleanup procedure on a fork and pushed a PR.
Was that the first cleanup on that fork?
Did you use v2.1.1 script for cleanup?
Note: you can't run cleanup v.2.1.1 in case you used other cleaup scripts
before.
Did you copy blobExecCache directory from cleanup script?
Did you use bfg-1.13.2-vlsi-master-44b5b85.jar?
I tried to migrate a non-bare repository, and I identified that we still
have certain text files stored as CRLF in Git.
I thought we fixed those, however it looks like we still have issues.
It looks like a severe inconvenience (especially for checking out previous
releases).
What do you think if we step back a bit and run one more pass over
historical commits and normalize CRLF vs LF all over the place?
I think I can implement that (I'm going to reuse Ant's implementation), and
hopefully it won't take ages/gigabytes of RAM to process the sources.
Steps to reproduce (macOS):
git clone https://github.com/apache/jmeter jmeter_fromgithub
cd jmeter_fromgithub
git diff # no differences
Open bin/report-template/sbadmin2-1.0.7/dist/js/sb-admin-2.js. This file
happens to be in CRLF format
rm bin/report-template/sbadmin2-1.0.7/dist/js/sb-admin-2.js
git reset --hard
git diff # shows sb-admin-2.js as modified
Alternative steps:
git clone https://github.com/apache/jmeter jmeter_fromgithub
cd jmeter_fromgithub
git diff # no differences
copy jmeter_fromgithub to jmeter_fromgithub2 (e.g. create a new folder and
copy all the files)
git diff # 26 differences, all related to bin/report-template/sbadmin2-1.0.7
Vladimir
Re: Migrate SVN -> Git
Posted by Philippe Mouawad <ph...@gmail.com>.
Thanks Vladimir for completing this migration.
I had applied the cleanup procedure on a fork and pushed a PR.
but there were some additional steps done for migration and fork is again
unsynched:
- Fork master branch is 16209 commits ahead, 16211 commits behind
apache:master.
What is the procedure to sync again?
Thanks
On Thursday, June 13, 2019, Vladimir Sitnikov <si...@gmail.com>
wrote:
> The repository is configured (mail notifications should go to commits@j.a.o
> ),
> and we can continue with JMeter development.
>
> The URLs are: https://github.com/apache/jmeter and
> https://gitbox.apache.org/repos/asf/jmeter.git
>
> Thanks everybody, and sorry for the disruption. Please let me know if you
> think something is not working right (e.g. git produces warnings or
> displays 'all files as modified' or whatever)
>
> Note: if you want push via GitHub and/or manage PRs, then you need to link
> your accounts via https://gitbox.apache.org/
>
> Note: theoretically GitHub allows for transparent use of SVN, however I
> have never tried it.
>
> Note: if you want to use your fork repository that you created before the
> cleanup, you should process it as per
> https://github.com/vlsi/jmeter-git-cleanup/tree/v2.1.1/clean_fork
>
>
> I guess we might want to update the site.
> So we need to figure out which git repo to use for the site (suddenly we
> have two: https://github.com/apache/jmeter-site and
> https://github.com/apache/jmeter-website), then we populate it and ask
> infra to setup site publish from that.
>
> Vladimir
>
> >
>
--
Cordialement.
Philippe Mouawad.
Re: Migrate SVN -> Git
Posted by Vladimir Sitnikov <si...@gmail.com>.
Hm, it looks like the set of files is smaller: 1.5M
At this point I'm +0 re removal of rhino jars as 1.5M could probably be
just ignored.
On the other hand, file removal can be implemented on top of previous
cleanup, so there's no need to re-clone, and so on.
Any thoughts?
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
bd7d15ab3275 11421 extras/ant-jmeter-1.1.1.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
Vladimir
Re: Migrate SVN -> Git
Posted by Vladimir Sitnikov <si...@gmail.com>.
It looks like blob removal became a no-no in Apache infra somehow (see
https://issues.apache.org/jira/browse/INFRA-18499?focusedCommentId=16865674&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16865674
)
So:
1) We have to live with the current state of Git repo (which is not bad
though).
2) We should **refrain from adding huge blobs** to Git repo (e.g.
uncompressed pngs, jars, pdfs, etc, etc), as they increase repository size
very fast, and the blobs are hard to remove (== we need either approval
from vp-infra@a.o or something like that).
Of course, there are ways to cleanup (e.g. Git -> Git migration, so we keep
old Git repo intact, and ask a brand new repo), however it is kind of
complicated (however I would really like to watch the reaction of the infra
team on Git->Git migration :) ).
Note: it is not something new with Git. In SVN we would still like to avoid
adding (big) binary blobs to the repository.
The "new" problem now is it becomes more complicated to rip those blobs out
of the repository.
Vladimir
Re: Migrate SVN -> Git
Posted by Felix Schumacher <fe...@internetallee.de>.
Am 16.06.19 um 20:27 schrieb Vladimir Sitnikov:
> Felix>As it is only a few people that can do a merge, I would try to first
>
> What I mean is GitHub's merge button.
Yes, I thought so. If there is a way to pre-select "Rebase and merge",
than do so :)
>
> Felix>Thanks for your work on this whole migration.
>
> Thanks.
> However, I see there 9MiB of jars left in the repo:
> b10a48fa41c3 14549 lib/jodd-log-3.6.4.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
> c73cf12b60e2 111892 lib/commons-pool2-2.4.1.jar
> 00bad5fda166 204806 lib/jodd-lagarto-3.6.4.jar
> 1d7417c40313 284184 lib/commons-codec-1.10.jar
> 111fef9c3634 307637 lib/dnsjava-2.1.7.jar
> 3a7fc266c3e3 314932 lib/junit-4.12.jar
> c006d90cbb14 379938 lib/jodd-core-3.6.4.jar
> a493c3b99d5f 538830 lib/xstream-1.4.8.jar
> 104e1660f2a7 560997 lib/tika-core-1.9.jar
> a34d599e7bae 596528 lib/js.jar
> 0defbe2138e1 679096 lib/tika-parsers-1.9.jar
> 2b926505d024 708951 lib/js_rhino1_6R5.jar
> a8b70c7e76c6 1037784 lib/rsyntaxtextarea-2.5.6.jar
> 76b6eaed61a1 1142627 lib/rhino-1.7R5.jar
> db99f8c288c7 2038489 lib/commons-math3-3.5.jar
>
> I've no idea how I missed that.
>
> Should we cleanup those as well?
If we don't loose the newly committed changes, I am OK with it.
Felix
>
> Vladimir
>
Re: Migrate SVN -> Git
Posted by Vladimir Sitnikov <si...@gmail.com>.
Felix>As it is only a few people that can do a merge, I would try to first
What I mean is GitHub's merge button.
Felix>Thanks for your work on this whole migration.
Thanks.
However, I see there 9MiB of jars left in the repo:
b10a48fa41c3 14549 lib/jodd-log-3.6.4.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
c73cf12b60e2 111892 lib/commons-pool2-2.4.1.jar
00bad5fda166 204806 lib/jodd-lagarto-3.6.4.jar
1d7417c40313 284184 lib/commons-codec-1.10.jar
111fef9c3634 307637 lib/dnsjava-2.1.7.jar
3a7fc266c3e3 314932 lib/junit-4.12.jar
c006d90cbb14 379938 lib/jodd-core-3.6.4.jar
a493c3b99d5f 538830 lib/xstream-1.4.8.jar
104e1660f2a7 560997 lib/tika-core-1.9.jar
a34d599e7bae 596528 lib/js.jar
0defbe2138e1 679096 lib/tika-parsers-1.9.jar
2b926505d024 708951 lib/js_rhino1_6R5.jar
a8b70c7e76c6 1037784 lib/rsyntaxtextarea-2.5.6.jar
76b6eaed61a1 1142627 lib/rhino-1.7R5.jar
db99f8c288c7 2038489 lib/commons-math3-3.5.jar
I've no idea how I missed that.
Should we cleanup those as well?
Vladimir
Re: Migrate SVN -> Git
Posted by Vladimir Sitnikov <si...@gmail.com>.
> Does it reproduce for the local repo only?
>yes
The solution is:
1) commit the changes (ensure `git status` "no modifications". untracked
files are fine)
2) remove the offending files (e.g. rm
bin/report-template/sbadmin2-1.0.7/bower_components/flot.tooltip/js)
3) git reset --hard (it will re-create the files with proper line endings)
Note: git reset --hard discards uncommitted modifications, so be careful if
you just copy-paste the commands one by one.
I think it happens because once upon a time Git learned that "those js
files have CRLF issues" and it just silenced the warning.
After you remove the files (just from the disk) and do reset --hard the
problem should go away.
Does it work for you?
Vladimir
Re: Migrate SVN -> Git
Posted by Philippe Mouawad <ph...@gmail.com>.
On Tue, Jun 18, 2019 at 10:47 PM Vladimir Sitnikov <
sitnikov.vladimir@gmail.com> wrote:
> Does it reproduce when you clone the fork again?
>
No
> Does it reproduce for the local repo only?
>
yes
>
> In other words, does it happen when you do git clone
> https://github.com/ubikloadpack/jmeter.git (or whatever repo you use) ?
>
> No
> Vladimir
>
Thanks
--
Cordialement.
Philippe Mouawad.
Re: Migrate SVN -> Git
Posted by Vladimir Sitnikov <si...@gmail.com>.
Does it reproduce when you clone the fork again?
Does it reproduce for the local repo only?
In other words, does it happen when you do git clone
https://github.com/ubikloadpack/jmeter.git (or whatever repo you use) ?
Vladimir
Re: Migrate SVN -> Git
Posted by Philippe Mouawad <ph...@gmail.com>.
On a forked repository, I checkout a branch and run git status I have all
those files marked as to be commited due to CRLF/LF difference
On Tue, Jun 18, 2019 at 10:39 PM Vladimir Sitnikov <
sitnikov.vladimir@gmail.com> wrote:
> >modified:
>
> >bin/report-template/sbadmin2-1.0.7/bower_components/flot.tooltip/js/jquery.flot.js
>
> What's the step by step?
>
> Vladimir
>
--
Cordialement.
Philippe Mouawad.
Re: Migrate SVN -> Git
Posted by Vladimir Sitnikov <si...@gmail.com>.
>modified:
>bin/report-template/sbadmin2-1.0.7/bower_components/flot.tooltip/js/jquery.flot.js
What's the step by step?
Vladimir
Re: Migrate SVN -> Git
Posted by Philippe Mouawad <ph...@gmail.com>.
Hello,
I am having same issue as Felix with Line endings.
I am on Mac OSX , I applied:
- git config --global core.autocrlf input but issue persists.
But I always have those:
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot.tooltip/js/jquery.flot.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot.tooltip/js/jquery.flot.tooltip.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot.tooltip/js/jquery.flot.tooltip.min.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot.tooltip/js/jquery.flot.tooltip.source.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot/excanvas.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.colorhelpers.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.canvas.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.categories.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.crosshair.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.errorbars.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.fillbetween.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.image.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.navigate.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.resize.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.selection.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.stack.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.symbol.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.threshold.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.time.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/font-awesome/css/font-awesome.css
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/font-awesome/css/font-awesome.min.css
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/metisMenu/dist/metisMenu.min.css
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/metisMenu/dist/metisMenu.min.js
modified: bin/report-template/sbadmin2-1.0.7/dist/css/sb-admin-2.css
modified: bin/report-template/sbadmin2-1.0.7/dist/js/sb-admin-2.js
Regards
On Sun, Jun 16, 2019 at 8:22 PM Felix Schumacher <
felix.schumacher@internetallee.de> wrote:
> Thanks for your work on this whole migration.
>
> Pushing through gitbox worked like a charme.
>
> Felix
>
> Am 13.06.19 um 05:40 schrieb Vladimir Sitnikov:
> > The repository is configured (mail notifications should go to
> commits@j.a.o),
> > and we can continue with JMeter development.
> >
> > The URLs are: https://github.com/apache/jmeter and
> > https://gitbox.apache.org/repos/asf/jmeter.git
> >
> > Thanks everybody, and sorry for the disruption. Please let me know if you
> > think something is not working right (e.g. git produces warnings or
> > displays 'all files as modified' or whatever)
> >
> > Note: if you want push via GitHub and/or manage PRs, then you need to
> link
> > your accounts via https://gitbox.apache.org/
> >
> > Note: theoretically GitHub allows for transparent use of SVN, however I
> > have never tried it.
> >
> > Note: if you want to use your fork repository that you created before the
> > cleanup, you should process it as per
> > https://github.com/vlsi/jmeter-git-cleanup/tree/v2.1.1/clean_fork
> >
> >
> > I guess we might want to update the site.
> > So we need to figure out which git repo to use for the site (suddenly we
> > have two: https://github.com/apache/jmeter-site and
> > https://github.com/apache/jmeter-website), then we populate it and ask
> > infra to setup site publish from that.
> >
> > Vladimir
> >
>
--
Cordialement.
Philippe Mouawad.
Re: Migrate SVN -> Git
Posted by Felix Schumacher <fe...@internetallee.de>.
Thanks for your work on this whole migration.
Pushing through gitbox worked like a charme.
Felix
Am 13.06.19 um 05:40 schrieb Vladimir Sitnikov:
> The repository is configured (mail notifications should go to commits@j.a.o),
> and we can continue with JMeter development.
>
> The URLs are: https://github.com/apache/jmeter and
> https://gitbox.apache.org/repos/asf/jmeter.git
>
> Thanks everybody, and sorry for the disruption. Please let me know if you
> think something is not working right (e.g. git produces warnings or
> displays 'all files as modified' or whatever)
>
> Note: if you want push via GitHub and/or manage PRs, then you need to link
> your accounts via https://gitbox.apache.org/
>
> Note: theoretically GitHub allows for transparent use of SVN, however I
> have never tried it.
>
> Note: if you want to use your fork repository that you created before the
> cleanup, you should process it as per
> https://github.com/vlsi/jmeter-git-cleanup/tree/v2.1.1/clean_fork
>
>
> I guess we might want to update the site.
> So we need to figure out which git repo to use for the site (suddenly we
> have two: https://github.com/apache/jmeter-site and
> https://github.com/apache/jmeter-website), then we populate it and ask
> infra to setup site publish from that.
>
> Vladimir
>
Re: Migrate SVN -> Git
Posted by Vladimir Sitnikov <si...@gmail.com>.
The repository is configured (mail notifications should go to commits@j.a.o),
and we can continue with JMeter development.
The URLs are: https://github.com/apache/jmeter and
https://gitbox.apache.org/repos/asf/jmeter.git
Thanks everybody, and sorry for the disruption. Please let me know if you
think something is not working right (e.g. git produces warnings or
displays 'all files as modified' or whatever)
Note: if you want push via GitHub and/or manage PRs, then you need to link
your accounts via https://gitbox.apache.org/
Note: theoretically GitHub allows for transparent use of SVN, however I
have never tried it.
Note: if you want to use your fork repository that you created before the
cleanup, you should process it as per
https://github.com/vlsi/jmeter-git-cleanup/tree/v2.1.1/clean_fork
I guess we might want to update the site.
So we need to figure out which git repo to use for the site (suddenly we
have two: https://github.com/apache/jmeter-site and
https://github.com/apache/jmeter-website), then we populate it and ask
infra to setup site publish from that.
Vladimir
>
Re: Migrate SVN -> Git
Posted by Vladimir Sitnikov <si...@gmail.com>.
Philippe>When can we complete migration ?
I guess we can if everybody is OK with the contents.
Vladimir
Re: Migrate SVN -> Git
Posted by Philippe Mouawad <ph...@gmail.com>.
Hello Vladimir ,
What’s the next step?
When can we complete migration ?
Thanks
On Monday, June 10, 2019, Felix Schumacher <
felix.schumacher@internetallee.de> wrote:
>
> Am 10.06.19 um 14:06 schrieb Vladimir Sitnikov:
> > Felix>They will have to be rebased to the new repo and reopened anyway,
> or
> > do
> > Felix>you mean old closed PRs?
> >
> > I just assume we can never rebase all the forks in the wild :)
> > On the other hand, if we need "old git" once again, we can re-create it
> > from SVN.
> > So there's no need to keep "backup git" and/or insert urls.
>
> No, we can't rebase those repositories, but hopefully the owners of
> those repositories can rebase their work onto origin/head and then do
> git format-patch/git am to the new forks.
>
> >
> > Felix>Do you think that is a problem?
> >
> > No.
>
> For me it is not a problem either, as any change in the repo would have
> led to this.
>
> Felix
>
> >
> > Vladimir
> >
>
--
Cordialement.
Philippe Mouawad.
Re: Migrate SVN -> Git
Posted by Felix Schumacher <fe...@internetallee.de>.
Am 10.06.19 um 14:06 schrieb Vladimir Sitnikov:
> Felix>They will have to be rebased to the new repo and reopened anyway, or
> do
> Felix>you mean old closed PRs?
>
> I just assume we can never rebase all the forks in the wild :)
> On the other hand, if we need "old git" once again, we can re-create it
> from SVN.
> So there's no need to keep "backup git" and/or insert urls.
No, we can't rebase those repositories, but hopefully the owners of
those repositories can rebase their work onto origin/head and then do
git format-patch/git am to the new forks.
>
> Felix>Do you think that is a problem?
>
> No.
For me it is not a problem either, as any change in the repo would have
led to this.
Felix
>
> Vladimir
>
Re: Migrate SVN -> Git
Posted by Vladimir Sitnikov <si...@gmail.com>.
Felix>They will have to be rebased to the new repo and reopened anyway, or
do
Felix>you mean old closed PRs?
I just assume we can never rebase all the forks in the wild :)
On the other hand, if we need "old git" once again, we can re-create it
from SVN.
So there's no need to keep "backup git" and/or insert urls.
Felix>Do you think that is a problem?
No.
Vladimir
Re: Migrate SVN -> Git
Posted by Felix Schumacher <fe...@internetallee.de>.
Am 10.06.19 um 11:57 schrieb Vladimir Sitnikov:
> Felix>So compared to removal we pay 13 MiB for keeping old images?
>
> Something like that.
I can live with that.
>
> Felix>Were are those references used (I suspect in old PRs and bugzilla
> Felix>entries)?
>
> Old PRs, forks.
> I don't think Git ids were used in Bugzilla.
They will have to be rebased to the new repo and reopened anyway, or do
you mean old closed PRs?
Do you think that is a problem?
>
> Felix>If I set core.autocrlf to input
>
> In fact, it is the recommended way to go by default:
> https://help.github.com/en/articles/dealing-with-line-endings
>
> My macOS is configured with core.autocrlf=input and Windows is configured
> with core.autocrlf=true.
>
> However, the very same article says that .gitattributes file overrides
> "defaults", that is why adding .gitattributes to back branches should
> theoretically help even for "misconfigured" defaults.
> Adding .gitignore to all commits is not trivial though.
I think it is enough to add a little note to the developer docs. It
works on my machine ;)
Felix
>
> Vladimir
>
Re: Migrate SVN -> Git
Posted by Vladimir Sitnikov <si...@gmail.com>.
Felix>So compared to removal we pay 13 MiB for keeping old images?
Something like that.
Felix>Were are those references used (I suspect in old PRs and bugzilla
Felix>entries)?
Old PRs, forks.
I don't think Git ids were used in Bugzilla.
Felix>If I set core.autocrlf to input
In fact, it is the recommended way to go by default:
https://help.github.com/en/articles/dealing-with-line-endings
My macOS is configured with core.autocrlf=input and Windows is configured
with core.autocrlf=true.
However, the very same article says that .gitattributes file overrides
"defaults", that is why adding .gitattributes to back branches should
theoretically help even for "misconfigured" defaults.
Adding .gitignore to all commits is not trivial though.
Vladimir
Re: Migrate SVN -> Git
Posted by Felix Schumacher <fe...@internetallee.de>.
Am 10.06.19 um 11:31 schrieb Felix Schumacher:
> Am 10.06.19 um 10:14 schrieb Vladimir Sitnikov:
>> Felix>My problem here is, that I sometimes checkout a historic version and
>> Felix>can't get away from it, as git complains that the files have changed
>>
>> Please provide the exact steps to reproduce.
>> So far git checkout v213 V2_13; git checkout master; works for me just fine
>> when using Windows/macOS
> Under ubuntu 18.04 I used the following steps:
>
> $ mkdir test
> $ cd test
> $ git clone https://github.com/apache/jmeter
>
> Cloning into 'jmeter'...
> remote: Enumerating objects: 191859, done.
> remote: Total 191859 (delta 0), reused 0 (delta 0), pack-reused 191859
> Receiving objects: 100% (191859/191859), 88.72 MiB | 5.46 MiB/s, done.
> Resolving deltas: 100% (102811/102811), done.
>
> $ cd jmeter
> $ git checkout v2_13
>
> error: Your local changes to the following files would be overwritten by
> checkout:
>
> bin/report-template/sbadmin2-1.0.7/bower_components/flot.tooltip/js/jquery.flot.js
>
> bin/report-template/sbadmin2-1.0.7/bower_components/flot.tooltip/js/jquery.flot.tooltip.js
>
> bin/report-template/sbadmin2-1.0.7/bower_components/flot.tooltip/js/jquery.flot.tooltip.min.js
>
> bin/report-template/sbadmin2-1.0.7/bower_components/flot.tooltip/js/jquery.flot.tooltip.source.js
> bin/report-template/sbadmin2-1.0.7/bower_components/flot/excanvas.js
>
> bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.colorhelpers.js
>
> bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.canvas.js
>
> bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.categories.js
>
> bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.crosshair.js
>
> bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.errorbars.js
>
> bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.fillbetween.js
>
> bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.image.js
> bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.js
>
> bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.navigate.js
>
> bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.resize.js
>
> bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.selection.js
>
> bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.stack.js
>
> bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.symbol.js
>
> bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.threshold.js
>
> bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.time.js
>
> bin/report-template/sbadmin2-1.0.7/bower_components/font-awesome/css/font-awesome.css
>
> bin/report-template/sbadmin2-1.0.7/bower_components/font-awesome/css/font-awesome.min.css
>
> bin/report-template/sbadmin2-1.0.7/bower_components/metisMenu/dist/metisMenu.min.css
>
> bin/report-template/sbadmin2-1.0.7/bower_components/metisMenu/dist/metisMenu.min.js
> bin/report-template/sbadmin2-1.0.7/dist/css/sb-admin-2.css
> bin/report-template/sbadmin2-1.0.7/dist/js/sb-admin-2.js
> Please commit your changes or stash them before you switch branches.
> Aborting
>
> $ git status
>
> On branch master
> Your branch is up to date with 'origin/master'.
>
> Changes not staged for commit:
> (use "git add <file>..." to update what will be committed)
> (use "git checkout -- <file>..." to discard changes in working directory)
>
> modified:
> bin/report-template/sbadmin2-1.0.7/bower_components/flot.tooltip/js/jquery.flot.js
> modified:
> bin/report-template/sbadmin2-1.0.7/bower_components/flot.tooltip/js/jquery.flot.tooltip.js
> modified:
> bin/report-template/sbadmin2-1.0.7/bower_components/flot.tooltip/js/jquery.flot.tooltip.min.js
> modified:
> bin/report-template/sbadmin2-1.0.7/bower_components/flot.tooltip/js/jquery.flot.tooltip.source.js
> modified:
> bin/report-template/sbadmin2-1.0.7/bower_components/flot/excanvas.js
> modified:
> bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.colorhelpers.js
> modified:
> bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.canvas.js
> modified:
> bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.categories.js
> modified:
> bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.crosshair.js
> modified:
> bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.errorbars.js
> modified:
> bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.fillbetween.js
> modified:
> bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.image.js
> modified:
> bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.js
> modified:
> bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.navigate.js
> modified:
> bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.resize.js
> modified:
> bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.selection.js
> modified:
> bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.stack.js
> modified:
> bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.symbol.js
> modified:
> bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.threshold.js
> modified:
> bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.time.js
> modified:
> bin/report-template/sbadmin2-1.0.7/bower_components/font-awesome/css/font-awesome.css
> modified:
> bin/report-template/sbadmin2-1.0.7/bower_components/font-awesome/css/font-awesome.min.css
> modified:
> bin/report-template/sbadmin2-1.0.7/bower_components/metisMenu/dist/metisMenu.min.css
> modified:
> bin/report-template/sbadmin2-1.0.7/bower_components/metisMenu/dist/metisMenu.min.js
> modified: bin/report-template/sbadmin2-1.0.7/dist/css/sb-admin-2.css
> modified: bin/report-template/sbadmin2-1.0.7/dist/js/sb-admin-2.js
>
> no changes added to commit (use "git add" and/or "git commit -a")
>
> $ git diff
>
> $ git diff | head
> warning: CRLF will be replaced by LF in
> bin/report-template/sbadmin2-1.0.7/bower_components/flot.tooltip/js/jquery.flot.js.
> The file will have its original line endings in your working directory.
> warning: CRLF will be replaced by LF in
> bin/report-template/sbadmin2-1.0.7/bower_components/flot.tooltip/js/jquery.flot.tooltip.js.
> The file will have its original line endings in your working directory.
> warning: CRLF will be replaced by LF in
> bin/report-template/sbadmin2-1.0.7/bower_components/flot.tooltip/js/jquery.flot.tooltip.min.js.
> The file will have its original line endings in your working directory.
> warning: CRLF will be replaced by LF in
> bin/report-template/sbadmin2-1.0.7/bower_components/flot.tooltip/js/jquery.flot.tooltip.source.js.
> The file will have its original line endings in your working directory.
> warning: CRLF will be replaced by LF in
> bin/report-template/sbadmin2-1.0.7/bower_components/flot/excanvas.js.
> The file will have its original line endings in your working directory.
> ...
>
> $ git config -l
>
> push.default=simple
> alias.tree=log --graph --decorate --pretty=oneline --abbrev-commit
> core.repositoryformatversion=0
> core.filemode=true
> core.bare=false
> core.logallrefupdates=true
> remote.origin.url=https://github.com/apache/jmeter
> remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
> branch.master.remote=origin
> branch.master.merge=refs/heads/master
>
> Tell me, if you need more info.
Looking a bit further into this. If I set core.autocrlf to input with
$ git config --global core.autocrlf=input
the checkout works. Did you have this config setting enabled?
Felix
>
>> Felix>Yes, for future versions of our source, that would be a nice
>> enhancement.
>>
>> I've kept all the css, js, etc files.
>> I've ran pngquant (2.12.2, January 2018, libpng 1.6.37) through all the
>> historical commits.
>>
>> It results in 53MiB repository (it was 40 when historical png were just
>> removed).
> Thanks for your work. I really think it is better to keep those old
> images (and if they are quant'ed, all the better).
>
> The 53 MiB is the amount of space they use, right? So compared to
> removal we pay 13 MiB for keeping old images?
>
>> Hopefully multi-megabyte files won't be pushed to the repository, and I
>> hope JS/CSS dependencies would be managed though Webpack (or whatever).
>> I guess "component UI" images can be generated automatically at build time,
>> however that's a side discussion.
> +1 to both. But I think the generation of component UI will be more
> complicated.
>> The updated repository: https://github.com/apache/jmeter
>> SVN references are good,
>> Git references are good.
>> Travis build passes ( https://travis-ci.org/apache/jmeter/builds/543612661 )
>>
>> Note: migrate procedure is updated. The key change is you need my release
>> of BFG.
>> See https://github.com/vlsi/jmeter-git-cleanup/tree/v2.1.1/clean_fork
>>
>>
>> PS In fact, references to "old" Git commit ids would be more or less
>> useless without "old Git repo".
>> I just thought we could create a "readonly" Git repo, and use links that
>> point to commits in that repository instead of just current "commit ids".
>> Any thoughts on that? It can be done quite easily (I use my own build of
>> BFG anyway, so I can add http://github.com/apache/jmeter-svn-mirror/...
>> there)
>> On the other hand, I'm +-0 about that since I think the new Git repo is
>> just fine, and just commit id is sufficient for the search purposes.
> Were are those references used (I suspect in old PRs and bugzilla
> entries)? Most of the referenced commits can be identified by their svn
> revision, which is embedded in the old commit messages, though.
>
> So I don't think this is a big problem.
>
>> Vladimir
>>
Re: Migrate SVN -> Git
Posted by Felix Schumacher <fe...@internetallee.de>.
Am 10.06.19 um 10:14 schrieb Vladimir Sitnikov:
> Felix>My problem here is, that I sometimes checkout a historic version and
> Felix>can't get away from it, as git complains that the files have changed
>
> Please provide the exact steps to reproduce.
> So far git checkout v213 V2_13; git checkout master; works for me just fine
> when using Windows/macOS
Under ubuntu 18.04 I used the following steps:
$ mkdir test
$ cd test
$ git clone https://github.com/apache/jmeter
Cloning into 'jmeter'...
remote: Enumerating objects: 191859, done.
remote: Total 191859 (delta 0), reused 0 (delta 0), pack-reused 191859
Receiving objects: 100% (191859/191859), 88.72 MiB | 5.46 MiB/s, done.
Resolving deltas: 100% (102811/102811), done.
$ cd jmeter
$ git checkout v2_13
error: Your local changes to the following files would be overwritten by
checkout:
bin/report-template/sbadmin2-1.0.7/bower_components/flot.tooltip/js/jquery.flot.js
bin/report-template/sbadmin2-1.0.7/bower_components/flot.tooltip/js/jquery.flot.tooltip.js
bin/report-template/sbadmin2-1.0.7/bower_components/flot.tooltip/js/jquery.flot.tooltip.min.js
bin/report-template/sbadmin2-1.0.7/bower_components/flot.tooltip/js/jquery.flot.tooltip.source.js
bin/report-template/sbadmin2-1.0.7/bower_components/flot/excanvas.js
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.colorhelpers.js
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.canvas.js
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.categories.js
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.crosshair.js
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.errorbars.js
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.fillbetween.js
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.image.js
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.js
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.navigate.js
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.resize.js
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.selection.js
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.stack.js
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.symbol.js
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.threshold.js
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.time.js
bin/report-template/sbadmin2-1.0.7/bower_components/font-awesome/css/font-awesome.css
bin/report-template/sbadmin2-1.0.7/bower_components/font-awesome/css/font-awesome.min.css
bin/report-template/sbadmin2-1.0.7/bower_components/metisMenu/dist/metisMenu.min.css
bin/report-template/sbadmin2-1.0.7/bower_components/metisMenu/dist/metisMenu.min.js
bin/report-template/sbadmin2-1.0.7/dist/css/sb-admin-2.css
bin/report-template/sbadmin2-1.0.7/dist/js/sb-admin-2.js
Please commit your changes or stash them before you switch branches.
Aborting
$ git status
On branch master
Your branch is up to date with 'origin/master'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot.tooltip/js/jquery.flot.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot.tooltip/js/jquery.flot.tooltip.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot.tooltip/js/jquery.flot.tooltip.min.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot.tooltip/js/jquery.flot.tooltip.source.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot/excanvas.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.colorhelpers.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.canvas.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.categories.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.crosshair.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.errorbars.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.fillbetween.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.image.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.navigate.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.resize.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.selection.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.stack.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.symbol.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.threshold.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/flot/jquery.flot.time.js
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/font-awesome/css/font-awesome.css
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/font-awesome/css/font-awesome.min.css
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/metisMenu/dist/metisMenu.min.css
modified:
bin/report-template/sbadmin2-1.0.7/bower_components/metisMenu/dist/metisMenu.min.js
modified: bin/report-template/sbadmin2-1.0.7/dist/css/sb-admin-2.css
modified: bin/report-template/sbadmin2-1.0.7/dist/js/sb-admin-2.js
no changes added to commit (use "git add" and/or "git commit -a")
$ git diff
$ git diff | head
warning: CRLF will be replaced by LF in
bin/report-template/sbadmin2-1.0.7/bower_components/flot.tooltip/js/jquery.flot.js.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in
bin/report-template/sbadmin2-1.0.7/bower_components/flot.tooltip/js/jquery.flot.tooltip.js.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in
bin/report-template/sbadmin2-1.0.7/bower_components/flot.tooltip/js/jquery.flot.tooltip.min.js.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in
bin/report-template/sbadmin2-1.0.7/bower_components/flot.tooltip/js/jquery.flot.tooltip.source.js.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in
bin/report-template/sbadmin2-1.0.7/bower_components/flot/excanvas.js.
The file will have its original line endings in your working directory.
...
$ git config -l
push.default=simple
alias.tree=log --graph --decorate --pretty=oneline --abbrev-commit
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.url=https://github.com/apache/jmeter
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.master.remote=origin
branch.master.merge=refs/heads/master
Tell me, if you need more info.
>
> Felix>Yes, for future versions of our source, that would be a nice
> enhancement.
>
> I've kept all the css, js, etc files.
> I've ran pngquant (2.12.2, January 2018, libpng 1.6.37) through all the
> historical commits.
>
> It results in 53MiB repository (it was 40 when historical png were just
> removed).
Thanks for your work. I really think it is better to keep those old
images (and if they are quant'ed, all the better).
The 53 MiB is the amount of space they use, right? So compared to
removal we pay 13 MiB for keeping old images?
>
> Hopefully multi-megabyte files won't be pushed to the repository, and I
> hope JS/CSS dependencies would be managed though Webpack (or whatever).
> I guess "component UI" images can be generated automatically at build time,
> however that's a side discussion.
+1 to both. But I think the generation of component UI will be more
complicated.
>
> The updated repository: https://github.com/apache/jmeter
> SVN references are good,
> Git references are good.
> Travis build passes ( https://travis-ci.org/apache/jmeter/builds/543612661 )
>
> Note: migrate procedure is updated. The key change is you need my release
> of BFG.
> See https://github.com/vlsi/jmeter-git-cleanup/tree/v2.1.1/clean_fork
>
>
> PS In fact, references to "old" Git commit ids would be more or less
> useless without "old Git repo".
> I just thought we could create a "readonly" Git repo, and use links that
> point to commits in that repository instead of just current "commit ids".
> Any thoughts on that? It can be done quite easily (I use my own build of
> BFG anyway, so I can add http://github.com/apache/jmeter-svn-mirror/...
> there)
> On the other hand, I'm +-0 about that since I think the new Git repo is
> just fine, and just commit id is sufficient for the search purposes.
Were are those references used (I suspect in old PRs and bugzilla
entries)? Most of the referenced commits can be identified by their svn
revision, which is embedded in the old commit messages, though.
So I don't think this is a big problem.
>
> Vladimir
>
Re: Migrate SVN -> Git
Posted by Vladimir Sitnikov <si...@gmail.com>.
Felix>My problem here is, that I sometimes checkout a historic version and
Felix>can't get away from it, as git complains that the files have changed
Please provide the exact steps to reproduce.
So far git checkout v213 V2_13; git checkout master; works for me just fine
when using Windows/macOS
Felix>Yes, for future versions of our source, that would be a nice
enhancement.
I've kept all the css, js, etc files.
I've ran pngquant (2.12.2, January 2018, libpng 1.6.37) through all the
historical commits.
It results in 53MiB repository (it was 40 when historical png were just
removed).
Hopefully multi-megabyte files won't be pushed to the repository, and I
hope JS/CSS dependencies would be managed though Webpack (or whatever).
I guess "component UI" images can be generated automatically at build time,
however that's a side discussion.
The updated repository: https://github.com/apache/jmeter
SVN references are good,
Git references are good.
Travis build passes ( https://travis-ci.org/apache/jmeter/builds/543612661 )
Note: migrate procedure is updated. The key change is you need my release
of BFG.
See https://github.com/vlsi/jmeter-git-cleanup/tree/v2.1.1/clean_fork
PS In fact, references to "old" Git commit ids would be more or less
useless without "old Git repo".
I just thought we could create a "readonly" Git repo, and use links that
point to commits in that repository instead of just current "commit ids".
Any thoughts on that? It can be done quite easily (I use my own build of
BFG anyway, so I can add http://github.com/apache/jmeter-svn-mirror/...
there)
On the other hand, I'm +-0 about that since I think the new Git repo is
just fine, and just commit id is sufficient for the search purposes.
Vladimir
>
Re: Migrate SVN -> Git
Posted by Felix Schumacher <fe...@internetallee.de>.
Am 09.06.19 um 11:35 schrieb Vladimir Sitnikov:
> Felix> It would be great, if those deletion could be reduced to the
> replacement
> Felix> of re-quant'ed pngs, but I fear that is just too much work
>
> Unfortunately, BFG does not support for png quantization, and I'm not that
> fond of implementing that
> taking into account the amount of comments in this thread.
> Going with git filter-branch is not an option because it is extremely slow
> at JMeter scale.
No I didn't mean, that the quantization should be done inside of bfg. I
wanted to point out, that there were two reasons for png replacement in
our history:
* Screenshots changed because functionality changed (those would be
great to keep in our history)
* quant'ing (those would be great to loose from our history)
>
> Felix >Would it be possible to exclude the xdocs path from css and svg
> removal?
>
> The exact list of removed ids is listed in
> https://github.com/vlsi/jmeter-git-cleanup/blob/v1.0.0/clean_fork/deleted-files.txt
> Feel free to provide suggestions.
That is the file I looked at and found the xdocs references.
Other files I think should be kept are:
asf-logo.*
logo.* (old logo is quite big, but of historical interest IMHO)
new-style.css
style.css
>
> Re "css", there are files like bootstrap.css (140K), bootstrap.css.map
> (3.8M) which I don't think are crucial.
Those are the ones from our report feature. I am not sure, how well old
versions of reporting work with "newer" versions of bootstrap.
> I think xdocs/css/new-style.css can be kept though.
Please :)
> It might be a nice idea to download JS dependencies from external
> repositories for both site and report.
Yes, for future versions of our source, that would be a nice enhancement.
>
> Felix>tag v2_13
> Felix>warning: CRLF will be replaced by LF in
>
> Probably you want to add .gitattributes file that would specify which files
> are text and which are binary.
> I think we could add ".gitattributes" file to the initial Git commit,
> however it would make cleanup procedure (for forks) more complicated.
> I guess there's no BFG option to add a file.
My problem here is, that I sometimes checkout a historic version and
can't get away from it, as git complains that the files have changed.
Adding .gitattributes on those versions won't help me.
Any other way to get my checkout working in such a case?
Felix
>
> Vladimir
>
Re: Migrate SVN -> Git
Posted by Vladimir Sitnikov <si...@gmail.com>.
Felix> It would be great, if those deletion could be reduced to the
replacement
Felix> of re-quant'ed pngs, but I fear that is just too much work
Unfortunately, BFG does not support for png quantization, and I'm not that
fond of implementing that
taking into account the amount of comments in this thread.
Going with git filter-branch is not an option because it is extremely slow
at JMeter scale.
Felix >Would it be possible to exclude the xdocs path from css and svg
removal?
The exact list of removed ids is listed in
https://github.com/vlsi/jmeter-git-cleanup/blob/v1.0.0/clean_fork/deleted-files.txt
Feel free to provide suggestions.
Re "css", there are files like bootstrap.css (140K), bootstrap.css.map
(3.8M) which I don't think are crucial.
I think xdocs/css/new-style.css can be kept though.
It might be a nice idea to download JS dependencies from external
repositories for both site and report.
Felix>tag v2_13
Felix>warning: CRLF will be replaced by LF in
Probably you want to add .gitattributes file that would specify which files
are text and which are binary.
I think we could add ".gitattributes" file to the initial Git commit,
however it would make cleanup procedure (for forks) more complicated.
I guess there's no BFG option to add a file.
Vladimir
Re: Migrate SVN -> Git
Posted by Felix Schumacher <fe...@internetallee.de>.
Hi Vladimir,
I cloned the new jmeter repo on my linux system and wanted to checkout
tag v2_13 (irrelevant information :), but git would not let me do that
as it thought that I had modified some files under
bin/report-template/sbadmin2...
git diff shows something along the lines:
warning: CRLF will be replaced by LF in
bin/report-template/sbadmin2-1.0.7/bower_components/flot.tooltip/js/jquery.flot.js.
The file will have its original line endings in your working directory.
Is this expected?
Felix
Am 08.06.19 um 20:13 schrieb Vladimir Sitnikov:
> Hi,
>
> I'm glad we have progress here.
> Chris moved SVN to a read-only mode, and I've cleaned Git repo.
>
> Please review the cleanup result at https://github.com/apache/jmeter
> Unfortunately, gitbox repo
> ( https://gitbox.apache.org/repos/asf?p=jmeter.git ) misses tags for
> some reason, however I think it will be resolved soon (INFRA-18499).
>
> Please vote regarding the contents of jmeter.git:
>
> [ ] +1: I support use of jmeter.git
> [ ] -1: I do not support that because ...
>
> Here's my vote: ++1
>
> Note: there were 10 open PRs which were unexpectedly closed by the
> removal of "trunk" branch.
> In order to proceed with PRs the same cleanup should be performed in
> contributors' repositories.
> After migration to Apache GitBox, committers would be able to push to
> PR branches (to the relative branches of contributors repos), so PR
> update could be either done by a contributor or by a JMeter committer.
> I'm sure it does not block git repo review/svn->git migration.
>
> The modifications I did were:
> 1) Remove of docs/ folder
> 2) Remove docs- branches
> 3) Remove "test" tags
> 4) Remove RC tags (as suggested in "JMeter release creation" wiki)
> 5) Remove all historical versions of the following
> files: '*.{class,jar,png,gif,jtl,js,map,css,svg,odt,pdf,sxi}'.
> The main case there is "old, unoptimized pngs" which literally took 40MiB
>
> The exact list of removed blobs is attached (see deleted-files.zip)
> The log of updated/removed refs is attached (see git_push.log).
>
> PS. The above is the same procedure I did to produce
> jmeter-git-cleanup-result with extra removal of RC tags.
>
> Vladimir
>
Re: Migrate SVN -> Git
Posted by Felix Schumacher <fe...@internetallee.de>.
Am 08.06.19 um 20:13 schrieb Vladimir Sitnikov:
> Hi,
>
> I'm glad we have progress here.
> Chris moved SVN to a read-only mode, and I've cleaned Git repo.
>
> Please review the cleanup result at https://github.com/apache/jmeter
> Unfortunately, gitbox repo
> ( https://gitbox.apache.org/repos/asf?p=jmeter.git ) misses tags for
> some reason, however I think it will be resolved soon (INFRA-18499).
>
> Please vote regarding the contents of jmeter.git:
>
> [ ] +1: I support use of jmeter.git
> [ ] -1: I do not support that because ...
>
> Here's my vote: ++1
>
> Note: there were 10 open PRs which were unexpectedly closed by the
> removal of "trunk" branch.
> In order to proceed with PRs the same cleanup should be performed in
> contributors' repositories.
> After migration to Apache GitBox, committers would be able to push to
> PR branches (to the relative branches of contributors repos), so PR
> update could be either done by a contributor or by a JMeter committer.
> I'm sure it does not block git repo review/svn->git migration.
>
> The modifications I did were:
> 1) Remove of docs/ folder
> 2) Remove docs- branches
> 3) Remove "test" tags
> 4) Remove RC tags (as suggested in "JMeter release creation" wiki)
> 5) Remove all historical versions of the following
> files: '*.{class,jar,png,gif,jtl,js,map,css,svg,odt,pdf,sxi}'.
I don't think that removing historical versions of css, svg and js (even
jtl and the document files odt, pdf and sxi) are a good idea. At least
css, svg and js could be relevant to produce the "correct" old web site
again, if needed.
Would it be possible to exclude the xdocs path from css and svg removal?
The logo png would probably be a good candidate for exclusion, too.
And I still know, that svn will not be gone.
> The main case there is "old, unoptimized pngs" which literally took 40MiB
It would be great, if those deletion could be reduced to the replacement
of re-quant'ed pngs, but I fear that is just too much work.
Felix
>
> The exact list of removed blobs is attached (see deleted-files.zip)
> The log of updated/removed refs is attached (see git_push.log).
>
> PS. The above is the same procedure I did to produce
> jmeter-git-cleanup-result with extra removal of RC tags.
>
> Vladimir
>
Re: Migrate SVN -> Git
Posted by Vladimir Sitnikov <si...@gmail.com>.
I've identified a defect: "Former-commit-id" footers were referencing
invalid commit Git ids.
Relevant BFG issue is https://github.com/rtyley/bfg-repo-cleaner/issues/112 ,
and it turns out the order of BFG commands is important.
I've updated the scripts, and refreshed
https://github.com/vlsi/jmeter-git-cleanup-result
I'll update apache/jmeter repository as master branch is unprotected.
Philippe>what must cloned repositories do after this operation to updated
their PR ?
They can use the following script:
https://github.com/vlsi/jmeter-git-cleanup/tree/v1.0.0/clean_fork
You copy the script to a fork repo, download bfg-1.13.0.jar, launch the
script, then you remove bfg jar and cleanup scripts.
Vladimir
Re: Migrate SVN -> Git
Posted by Philippe Mouawad <ph...@gmail.com>.
I made some random checks on:
- Old tags presence
- History of files
Didn't see problems , so I tend to [X] +1: I support use of jmeter.git
@Vladimir Sitnikov <si...@gmail.com> , what must cloned
repositories do after this operation to updated their PR ?
Thanks
On Sat, Jun 8, 2019 at 8:46 PM Vladimir Sitnikov <
sitnikov.vladimir@gmail.com> wrote:
> Philippe>AFAIU, the switch has been done no?
>
> No
>
> Philippe>What is the vote about exactly ?
>
> Before we switch to Git, we need to agree that the current state of
> https://github.com/apache/jmeter looks good to proceed.
>
> We are at step 4 of
>
> https://issues.apache.org/jira/browse/INFRA-18499?focusedCommentId=16855765&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16855765
>
> Chris>4. Project signs off on new cleaned up repo state
>
> As we agree the git repo looks good, we can enable write access for
> committers and proceed with JMeter development.
>
> Vladimir
>
--
Cordialement.
Philippe Mouawad.
Re: Migrate SVN -> Git
Posted by Vladimir Sitnikov <si...@gmail.com>.
Philippe>AFAIU, the switch has been done no?
No
Philippe>What is the vote about exactly ?
Before we switch to Git, we need to agree that the current state of
https://github.com/apache/jmeter looks good to proceed.
We are at step 4 of
https://issues.apache.org/jira/browse/INFRA-18499?focusedCommentId=16855765&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16855765
Chris>4. Project signs off on new cleaned up repo state
As we agree the git repo looks good, we can enable write access for
committers and proceed with JMeter development.
Vladimir
Re: Migrate SVN -> Git
Posted by Philippe Mouawad <ph...@gmail.com>.
Hello Vladimir,
What is the vote about exactly ?
AFAIU, the switch has been done no?
Otherwise please clarify to me.
Thanks
Regards
On Saturday, June 8, 2019, Vladimir Sitnikov <si...@gmail.com>
wrote:
> Hi,
>
> I'm glad we have progress here.
> Chris moved SVN to a read-only mode, and I've cleaned Git repo.
>
> Please review the cleanup result at https://github.com/apache/jmeter
> Unfortunately, gitbox repo ( https://gitbox.apache.org/
> repos/asf?p=jmeter.git ) misses tags for some reason, however I think it
> will be resolved soon (INFRA-18499).
>
> Please vote regarding the contents of jmeter.git:
>
> [ ] +1: I support use of jmeter.git
> [ ] -1: I do not support that because ...
>
> Here's my vote: ++1
>
> Note: there were 10 open PRs which were unexpectedly closed by the removal
> of "trunk" branch.
> In order to proceed with PRs the same cleanup should be performed in
> contributors' repositories.
> After migration to Apache GitBox, committers would be able to push to PR
> branches (to the relative branches of contributors repos), so PR update
> could be either done by a contributor or by a JMeter committer.
> I'm sure it does not block git repo review/svn->git migration.
>
> The modifications I did were:
> 1) Remove of docs/ folder
> 2) Remove docs- branches
> 3) Remove "test" tags
> 4) Remove RC tags (as suggested in "JMeter release creation" wiki)
> 5) Remove all historical versions of the following
> files: '*.{class,jar,png,gif,jtl,js,map,css,svg,odt,pdf,sxi}'.
> The main case there is "old, unoptimized pngs" which literally took 40MiB
>
> The exact list of removed blobs is attached (see deleted-files.zip)
> The log of updated/removed refs is attached (see git_push.log).
>
> PS. The above is the same procedure I did to produce
> jmeter-git-cleanup-result with extra removal of RC tags.
>
> Vladimir
>
>
--
Cordialement.
Philippe Mouawad.
Re: Migrate SVN -> Git
Posted by Vladimir Sitnikov <si...@gmail.com>.
Hi,
I'm glad we have progress here.
Chris moved SVN to a read-only mode, and I've cleaned Git repo.
Please review the cleanup result at https://github.com/apache/jmeter
Unfortunately, gitbox repo (
https://gitbox.apache.org/repos/asf?p=jmeter.git ) misses tags for some
reason, however I think it will be resolved soon (INFRA-18499).
Please vote regarding the contents of jmeter.git:
[ ] +1: I support use of jmeter.git
[ ] -1: I do not support that because ...
Here's my vote: ++1
Note: there were 10 open PRs which were unexpectedly closed by the removal
of "trunk" branch.
In order to proceed with PRs the same cleanup should be performed in
contributors' repositories.
After migration to Apache GitBox, committers would be able to push to PR
branches (to the relative branches of contributors repos), so PR update
could be either done by a contributor or by a JMeter committer.
I'm sure it does not block git repo review/svn->git migration.
The modifications I did were:
1) Remove of docs/ folder
2) Remove docs- branches
3) Remove "test" tags
4) Remove RC tags (as suggested in "JMeter release creation" wiki)
5) Remove all historical versions of the following
files: '*.{class,jar,png,gif,jtl,js,map,css,svg,odt,pdf,sxi}'.
The main case there is "old, unoptimized pngs" which literally took 40MiB
The exact list of removed blobs is attached (see deleted-files.zip)
The log of updated/removed refs is attached (see git_push.log).
PS. The above is the same procedure I did to produce
jmeter-git-cleanup-result with extra removal of RC tags.
Vladimir
Re: Migrate SVN -> Git
Posted by Vladimir Sitnikov <si...@gmail.com>.
It is sad that there's no much feedback on "git repository contents"
besides "+1 re migration in general".
Sebb had concerns, however those have been successfully resolved.
Note: the cleanup procedure is reproducible (at least it produces the same
result every time for me).
In other words, even (in very unlikely case) if we miss a file or a tag
(e.g. if "test" branch turns out to be crucial), we would still be able to
re-add the file/branch/tag later.
So I would suggest to just move to Git and see how it plays in practice.
It would still be nice to hear opinions on
https://github.com/vlsi/jmeter-git-cleanup-result even in case you voted
regarding Git migration.
Otherwise I would assume there's an agreement to proceed and ask (~6th
June, 15:00UTC) Infra to move SVN into read-only mode.
Note: technically speaking, voting re vlsi/jmeter-git-cleanup-result
repository means nothing. In any case we would need to analyze and agree on
apache/jmeter repository after SVN becomes read-only. However my intention
is to make those two equal modulo "gradle" branch which won't appear in
apache/jmeter.
Vladimir
Re: Migrate SVN -> Git
Posted by Vladimir Sitnikov <si...@gmail.com>.
sebb>The JIRA issue is not yet signed off by Infra.
Just in case, here's what Chris proposes (see
https://issues.apache.org/jira/browse/INFRA-18499 )
Chris>1. Project agrees on cleanup approach and approves sync state of the
current git repo
Chris>2. Infra makes svn read-only
Chris>3. Infra disables sync process and allows [~vladimirsitnikov] access
to perform the cleanup on github.com/apache/jmeter
Chris>4. Project signs off on new cleaned up repo state
Chris>5. Infra enables gitbox and sets up permissions properly
Chris>Please let me know the results of step 1 and a timeline of when you
want to start the process.
So the question boils down to "timeline of when we want to start the
process".
I suggest to start on the 5th or the 6th of June.
Just in case, the up-to-date result of cleanup is available at
https://github.com/vlsi/jmeter-git-cleanup-result
Vladimir
Re: Migrate SVN -> Git
Posted by Vladimir Sitnikov <si...@gmail.com>.
sebb>The JIRA issue is not yet signed off by Infra.
It is.
If you think something is missing, please clarify exactly.
Vladimir
Re: Migrate SVN -> Git
Posted by sebb <se...@gmail.com>.
On Tue, 4 Jun 2019 at 06:37, Vladimir Sitnikov
<si...@gmail.com> wrote:
>
> sebb> but the other still applies, i.e. is
> sebb>Infra OK with dropping files during conversion?
>
> As per INFRA-18499:
>
> Chris>A documented note of the blob removal process (script) and
> Chris>a list of the removed objects should be sufficient if the project
> agrees that it is so.
This is an partial extract of the response, and omits several concerns
that Infra have about the proposed process.
> Hopefully it resolves both concerns.
The JIRA issue is not yet signed off by Infra.
> Vladimir