Skip to content

Commit

Permalink
Moved parent revisions to version.ymls
Browse files Browse the repository at this point in the history
  • Loading branch information
Mattis Manfred Kaemmerer authored and salsolatragus committed Sep 21, 2016
1 parent a4cb5ab commit 8d9e1fa
Show file tree
Hide file tree
Showing 59 changed files with 61 additions and 63 deletions.
6 changes: 2 additions & 4 deletions benchmark/data/project_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,10 @@ def get_checkout(self, base_path: str) -> ProjectCheckout:
repository = self.__project.repository
if repository.vcstype == "git":
url = repository.url
revision = self.revision + "~1"
return GitProjectCheckout(url, base_path, self.__project.id, self.version_id, revision)
return GitProjectCheckout(url, base_path, self.__project.id, self.version_id, self.revision)
elif repository.vcstype == "svn":
url = repository.url
revision = str(int(self.revision) - 1)
return SVNProjectCheckout(url, base_path, self.__project.id, self.version_id, revision)
return SVNProjectCheckout(url, base_path, self.__project.id, self.version_id, self.revision)
elif repository.vcstype == "synthetic":
return SyntheticProjectCheckout(base_path, self.__project.id, self.version_id)
elif repository.vcstype == "zip":
Expand Down
4 changes: 2 additions & 2 deletions benchmark_tests/data/test_project_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def test_git_project(self):
assert_equals("ssh://foobar.git", checkout.url)
assert_equals("-project-", checkout.name)
assert_equals("-version-", checkout.version)
assert_equals("-revision-~1", checkout.revision)
assert_equals("-revision-", checkout.revision)

def test_svn_project(self):
project = create_project("-project-", meta={"repository": {"type": "svn", "url": "http://url/svn"}})
Expand All @@ -122,7 +122,7 @@ def test_svn_project(self):
assert_equals("http://url/svn", checkout.url)
assert_equals("-project-", checkout.name)
assert_equals("-version-", checkout.version)
assert_equals("666", checkout.revision)
assert_equals("667", checkout.revision)

def test_zip_project(self):
project = create_project("-project-", meta={"repository": {"type": "zip"}})
Expand Down
2 changes: 1 addition & 1 deletion data/aclang/versions/587/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ build:
misuses:
- '1'
- '2'
revision: 1fe5439baf32af2114958e3cfc3512bd72c84773
revision: 1fe5439baf32af2114958e3cfc3512bd72c84773~1
2 changes: 1 addition & 1 deletion data/acmath/versions/998/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ build:
misuses:
- '1'
- '2'
revision: d270055e874148a2742604be36ab977eec030fba
revision: d270055e874148a2742604be36ab977eec030fba~1
2 changes: 1 addition & 1 deletion data/adempiere/versions/1312/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ build:
misuses:
- '1'
- '2'
revision: 1312
revision: 1311
2 changes: 1 addition & 1 deletion data/alibaba-druid/versions/e10f28/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ build:
misuses:
- '1'
- '2'
revision: e10f2849d046265bf17360ab4aa9eb60fd3ab8de
revision: e10f2849d046265bf17360ab4aa9eb60fd3ab8de~1
2 changes: 1 addition & 1 deletion data/android-rcs-rcsjta/versions/04d847/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ build:
src: core/src/
misuses:
- '1'
revision: 04d84799daa51ed7cc0ad270f0eea51ffaf7a53a
revision: 04d84799daa51ed7cc0ad270f0eea51ffaf7a53a~1
2 changes: 1 addition & 1 deletion data/androiduil/versions/660/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ build:
src: library/src/
misuses:
- '1'
revision: 54a9038d7cc13fd46a922ce1c059610d0690115d
revision: 54a9038d7cc13fd46a922ce1c059610d0690115d~1
2 changes: 1 addition & 1 deletion data/battleforge/versions/878/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ misuses:
- '2'
- '3'
- '4'
revision: 878
revision: 877
2 changes: 1 addition & 1 deletion data/calligraphy/versions/41/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ build:
misuses:
- '1'
- '2'
revision: 0f15e9199c02771408566071884b099db7f54b64
revision: 0f15e9199c02771408566071884b099db7f54b64~1
2 changes: 1 addition & 1 deletion data/cgeo/versions/887/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ build:
src: main/src/
misuses:
- '1'
revision: 7bc931e7b5fcab1953b1fd5cb4535fff4e743591
revision: 7bc931e7b5fcab1953b1fd5cb4535fff4e743591~1
2 changes: 1 addition & 1 deletion data/closure/versions/114/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ build:
src: src/
misuses:
- '1'
revision: 67289ae4cbaba3ae70cd2e8fb92f3f2898039dfb
revision: 67289ae4cbaba3ae70cd2e8fb92f3f2898039dfb~1
2 changes: 1 addition & 1 deletion data/closure/versions/319/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ misuses:
- '2'
- 'dmmc-1023'
- 'tikanga-2'
revision: 43c245f0ff8d409e81e25687e69d34666b7cf26a
revision: 43c245f0ff8d409e81e25687e69d34666b7cf26a~1
2 changes: 1 addition & 1 deletion data/closure/versions/884/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ build:
src: src/
misuses:
- '3'
revision: d1cfe67977d8f3aaa85ec20c262171da394d5977
revision: d1cfe67977d8f3aaa85ec20c262171da394d5977~1
2 changes: 1 addition & 1 deletion data/gnucrasha/versions/221/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ build:
src: app/src/
misuses:
- '1'
revision: ce50ee116f18a373f30cb135ee48b5ad6c187db0
revision: ce50ee116f18a373f30cb135ee48b5ad6c187db0~1
2 changes: 1 addition & 1 deletion data/httpclient/versions/302/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ build:
src: src/java/
misuses:
- '1'
revision: 134494
revision: 134493
2 changes: 1 addition & 1 deletion data/httpclient/versions/444/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ build:
misuses:
- '2'
- '3'
revision: 160490
revision: 160489
2 changes: 1 addition & 1 deletion data/httpclient/versions/452/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ build:
src: src/java/
misuses:
- '4'
revision: 190480
revision: 190479
2 changes: 1 addition & 1 deletion data/itext/versions/5091/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ misuses:
- 'dmmc-937'
- 'jadet-5'
- 'jadet-9'
revision: 5091
revision: 5090
2 changes: 1 addition & 1 deletion data/jackrabbit-incubator/versions/14/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ build:
src: src/java/
misuses:
- '1'
revision: 55854
revision: 55853
2 changes: 1 addition & 1 deletion data/jackrabbit-incubator/versions/201/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ build:
src: contrib/bdb-persistence/src/java/
misuses:
- '2'
revision: 263892
revision: 263891
2 changes: 1 addition & 1 deletion data/jackrabbit/versions/1601/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ build:
src: jackrabbit-core/src/main/java/
misuses:
- '1'
revision: 656282
revision: 656281
2 changes: 1 addition & 1 deletion data/jackrabbit/versions/1678/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ build:
src: jackrabbit-jcr-server/src/main/java/
misuses:
- '2'
revision: 677893
revision: 677892
2 changes: 1 addition & 1 deletion data/jackrabbit/versions/1694/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ build:
misuses:
- '3a'
- '3b'
revision: 695766
revision: 695765
2 changes: 1 addition & 1 deletion data/jackrabbit/versions/1738/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ build:
src: jackrabbit-core/src/main/java/
misuses:
- '4'
revision: 696651
revision: 696650
2 changes: 1 addition & 1 deletion data/jackrabbit/versions/1750/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ build:
src: jackrabbit-spi-commons/src/main/java/
misuses:
- '5'
revision: 698246
revision: 698245
2 changes: 1 addition & 1 deletion data/jackrabbit/versions/2385/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ build:
src: jackrabbit-jcr-server/src/main/java/
misuses:
- '6'
revision: 880743
revision: 880742
2 changes: 1 addition & 1 deletion data/jackrabbit/versions/2580/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ build:
src: jackrabbit-core/src/main/java/
misuses:
- '7'
revision: 926354
revision: 926353
2 changes: 1 addition & 1 deletion data/jackrabbit/versions/2681/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ build:
src: jackrabbit-core/src/main/java/
misuses:
- '8'
revision: 965539
revision: 965538
2 changes: 1 addition & 1 deletion data/jackrabbit/versions/2984/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ build:
src: jackrabbit-jcr2spi/src/main/java/
misuses:
- '9'
revision: 1133332
revision: 1133331
2 changes: 1 addition & 1 deletion data/jackrabbit/versions/3050/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ build:
src: jackrabbit-jcr2spi/src/main/java/
misuses:
- '10'
revision: 1240198
revision: 1240197
2 changes: 1 addition & 1 deletion data/jackrabbit/versions/3090/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ build:
src: jackrabbit-core/src/main/java/
misuses:
- '11'
revision: 1178892
revision: 1178891
2 changes: 1 addition & 1 deletion data/jackrabbit/versions/3189/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ build:
src: jackrabbit-jca/src/main/java/
misuses:
- '12'
revision: 1232831
revision: 1232830
2 changes: 1 addition & 1 deletion data/jfreechart/versions/1025/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ build:
src: source/
misuses:
- '1'
revision: 1025
revision: 1024
2 changes: 1 addition & 1 deletion data/jfreechart/versions/103/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ build:
src: source/
misuses:
- '2'
revision: 103
revision: 102
2 changes: 1 addition & 1 deletion data/jfreechart/versions/164/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ misuses:
- '3b'
- '4a'
- '4b'
revision: 164
revision: 163
2 changes: 1 addition & 1 deletion data/jfreechart/versions/2183/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ build:
src: source/
misuses:
- '5'
revision: 2183
revision: 2182
2 changes: 1 addition & 1 deletion data/jfreechart/versions/2266/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ build:
src: source/
misuses:
- '6'
revision: 2266
revision: 2265
2 changes: 1 addition & 1 deletion data/jfreechart/versions/881/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ build:
misuses:
- '7a'
- '7b'
revision: 811
revision: 810
2 changes: 1 addition & 1 deletion data/jmrtd/versions/51/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ build:
src: src/
misuses:
- '1'
revision: 51
revision: 50
2 changes: 1 addition & 1 deletion data/jmrtd/versions/67/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ build:
src: src/
misuses:
- '2'
revision: 67
revision: 66
2 changes: 1 addition & 1 deletion data/jodatime/versions/1231/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ build:
src: JodaTimeContrib/hibernate/src/java/
misuses:
- '1'
revision: 4f0fa2ece24061b8e47e793ada1cb1b6804df334
revision: 4f0fa2ece24061b8e47e793ada1cb1b6804df334~1
2 changes: 1 addition & 1 deletion data/lnreadera/versions/62/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ build:
misuses:
- '1'
- '2'
revision: 2071b3cb8e977ba19fe51ca7cdb32ccc264563fa
revision: 2071b3cb8e977ba19fe51ca7cdb32ccc264563fa~1
2 changes: 1 addition & 1 deletion data/lucene/versions/1251/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ build:
src: src/java/
misuses:
- '1'
revision: 09b3a56ae2ecc68b56a0142e48e12247ba160dbb
revision: 09b3a56ae2ecc68b56a0142e48e12247ba160dbb~1
2 changes: 1 addition & 1 deletion data/lucene/versions/1918/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ misuses:
- '2'
- 'tikanga-0'
- 'tikanga-1'
revision: 0cb96adf12063c1ec2d586d0cec6a209abe9a2dd
revision: 0cb96adf12063c1ec2d586d0cec6a209abe9a2dd~1
2 changes: 1 addition & 1 deletion data/lucene/versions/207/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ build:
src: src/java/
misuses:
- '3'
revision: 1e2715d18d980e4f8c8cb5ac12abf3752851ee10
revision: 1e2715d18d980e4f8c8cb5ac12abf3752851ee10~1
2 changes: 1 addition & 1 deletion data/lucene/versions/2521/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ build:
src: lucene/contrib/benchmark/src/java/
misuses:
- '4'
revision: f81a5d9bf6fdcdab23bff680dee8075209bae8cf
revision: f81a5d9bf6fdcdab23bff680dee8075209bae8cf~1
2 changes: 1 addition & 1 deletion data/lucene/versions/754/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ build:
src: src/java/
misuses:
- '5'
revision: f4b3239092b2a5588d512b337e461bc5078aeba4
revision: f4b3239092b2a5588d512b337e461bc5078aeba4~1
2 changes: 1 addition & 1 deletion data/onosendai/versions/100/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ build:
src: src/main/java/
misuses:
- '1'
revision: 0e2a7570ab4491d0c4680ef52ee1008bef33fc02
revision: 0e2a7570ab4491d0c4680ef52ee1008bef33fc02~1
2 changes: 1 addition & 1 deletion data/openiab/versions/62/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ build:
src: unity_plugin/src/
misuses:
- '1'
revision: c720c6e03db7f2fecac8a25f42c39a939e489769
revision: c720c6e03db7f2fecac8a25f42c39a939e489769~1
2 changes: 1 addition & 1 deletion data/pawotag/versions/82/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ build:
src: src/
misuses:
- '1'
revision: 900
revision: 899
2 changes: 1 addition & 1 deletion data/rhino/versions/286251/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ build:
src: src/
misuses:
- '1'
revision: ed00a2e83de1e768918604a65def097895b71dd4
revision: ed00a2e83de1e768918604a65def097895b71dd4~1
2 changes: 1 addition & 1 deletion data/screen-notifications/versions/23/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ build:
src: src/
misuses:
- '1'
revision: afc542066ae1a3c57974dc180374407a7954124d
revision: afc542066ae1a3c57974dc180374407a7954124d~1
2 changes: 1 addition & 1 deletion data/tap-apps/versions/62/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ build:
src: source/
misuses:
- '1'
revision: 62
revision: 61
2 changes: 1 addition & 1 deletion data/thebluealliancea/versions/253/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ build:
src: android/src/main/java/
misuses:
- '1'
revision: d373815aeb3f065160f14986b3c952a45207bb15
revision: d373815aeb3f065160f14986b3c952a45207bb15~1
2 changes: 1 addition & 1 deletion data/tucanmobile/versions/27/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ build:
src: src/
misuses:
- '1'
revision: 02e046e5cc53ad218264dc28a4b96941f2902e38
revision: 02e046e5cc53ad218264dc28a4b96941f2902e38~1
2 changes: 1 addition & 1 deletion data/ushahidia/versions/100/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ build:
src: Core/src/
misuses:
- '1'
revision: 16adf0c3cfc9ebef01e7e9042b13d3b5b4da965f
revision: 16adf0c3cfc9ebef01e7e9042b13d3b5b4da965f~1
2 changes: 1 addition & 1 deletion data/wordpressa/versions/1928/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ build:
src: WordPress/src/main/java/
misuses:
- '1'
revision: 7a1e5a505c8d56794bb43954b8ba48cab7757238
revision: 7a1e5a505c8d56794bb43954b8ba48cab7757238~1
2 changes: 1 addition & 1 deletion data/wordpressa/versions/780/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ build:
src: WordPress/src/main/java/
misuses:
- '3'
revision: c21e5969154d1cafb15fd0becf252e8e81760b98
revision: c21e5969154d1cafb15fd0becf252e8e81760b98~1

0 comments on commit 8d9e1fa

Please sign in to comment.