1
0
Fork 0

Update fixtures to include gar/nix (which is being replaced) and bar/baz (which has a branch-alias)

pull/3347/head
Matthias Pigulla 2014-10-13 12:48:40 +02:00
parent 905f08e46e
commit 579409e6c5
12 changed files with 368 additions and 121 deletions

View File

@ -14,4 +14,7 @@ All these repositories contain the following packages.
* `foo/bar` versions 1.0.0, 1.0.1 and 1.1.0; dev-default and 1.0.x-dev branches. On dev-default and in 1.1.0, `bar/baz` ~1.0 is required. * `foo/bar` versions 1.0.0, 1.0.1 and 1.1.0; dev-default and 1.0.x-dev branches. On dev-default and in 1.1.0, `bar/baz` ~1.0 is required.
* `qux/quux` only has a dev-default branch. It `replace`s `gar/nix`. * `qux/quux` only has a dev-default branch. It `replace`s `gar/nix`.
* `gar/nix` has a 1.0.0 version and a dev-default branch. It is being replaced by `qux/quux`.
* `bar/baz` has a 1.0.0 version and 1.0.x-dev as well as dev-default branches. Additionally, 1.1.x-dev is a branch alias for dev-default.

View File

@ -1,5 +1,48 @@
{ {
"packages": { "packages": {
"bar/baz": {
"1.0.0": {
"name": "bar/baz",
"version": "1.0.0",
"version_normalized": "1.0.0.0",
"source": {
"type": "hg",
"url": "http://some.where/over/the/rainbow/",
"reference": "35810817c14d"
},
"time": "2014-10-13 12:04:55",
"type": "library"
},
"1.0.x-dev": {
"name": "bar/baz",
"version": "1.0.x-dev",
"version_normalized": "1.0.9999999.9999999-dev",
"source": {
"type": "hg",
"url": "http://some.where/over/the/rainbow/",
"reference": "ffff9aae6ed5"
},
"time": "2014-10-13 12:05:37",
"type": "library"
},
"dev-default": {
"name": "bar/baz",
"version": "dev-default",
"version_normalized": "9999999-dev",
"source": {
"type": "hg",
"url": "http://some.where/over/the/rainbow/",
"reference": "f317e556f2e2"
},
"time": "2014-10-13 12:06:45",
"type": "library",
"extra": {
"branch-alias": {
"dev-default": "1.1.x-dev"
}
}
}
},
"foo/bar": { "foo/bar": {
"1.0.0": { "1.0.0": {
"name": "foo/bar", "name": "foo/bar",
@ -7,7 +50,7 @@
"version_normalized": "1.0.0.0", "version_normalized": "1.0.0.0",
"source": { "source": {
"type": "hg", "type": "hg",
"url": "http://some.where/over/the/rainbow", "url": "http://some.where/over/the/rainbow/",
"reference": "249dec95a52a" "reference": "249dec95a52a"
}, },
"time": "2014-10-11 15:42:00", "time": "2014-10-11 15:42:00",
@ -19,7 +62,7 @@
"version_normalized": "1.0.1.0", "version_normalized": "1.0.1.0",
"source": { "source": {
"type": "hg", "type": "hg",
"url": "http://some.where/over/the/rainbow", "url": "http://some.where/over/the/rainbow/",
"reference": "21e3328295d4" "reference": "21e3328295d4"
}, },
"time": "2014-10-11 15:45:56", "time": "2014-10-11 15:45:56",
@ -31,7 +74,7 @@
"version_normalized": "1.0.9999999.9999999-dev", "version_normalized": "1.0.9999999.9999999-dev",
"source": { "source": {
"type": "hg", "type": "hg",
"url": "http://some.where/over/the/rainbow", "url": "http://some.where/over/the/rainbow/",
"reference": "14dc17c8e860" "reference": "14dc17c8e860"
}, },
"time": "2014-10-11 15:45:59", "time": "2014-10-11 15:45:59",
@ -43,7 +86,7 @@
"version_normalized": "1.1.0.0", "version_normalized": "1.1.0.0",
"source": { "source": {
"type": "hg", "type": "hg",
"url": "http://some.where/over/the/rainbow", "url": "http://some.where/over/the/rainbow/",
"reference": "d2fa3e69ad5b" "reference": "d2fa3e69ad5b"
}, },
"require": { "require": {
@ -58,7 +101,7 @@
"version_normalized": "9999999-dev", "version_normalized": "9999999-dev",
"source": { "source": {
"type": "hg", "type": "hg",
"url": "http://some.where/over/the/rainbow", "url": "http://some.where/over/the/rainbow/",
"reference": "8e5a5c224336" "reference": "8e5a5c224336"
}, },
"require": { "require": {
@ -68,6 +111,32 @@
"type": "library" "type": "library"
} }
}, },
"gar/nix": {
"1.0.0": {
"name": "gar/nix",
"version": "1.0.0",
"version_normalized": "1.0.0.0",
"source": {
"type": "hg",
"url": "http://some.where/over/the/rainbow/",
"reference": "44977145d64e"
},
"time": "2014-10-13 12:03:33",
"type": "library"
},
"dev-default": {
"name": "gar/nix",
"version": "dev-default",
"version_normalized": "9999999-dev",
"source": {
"type": "hg",
"url": "http://some.where/over/the/rainbow/",
"reference": "51cca95a31c2"
},
"time": "2014-10-13 12:03:35",
"type": "library"
}
},
"qux/quux": { "qux/quux": {
"dev-default": { "dev-default": {
"name": "qux/quux", "name": "qux/quux",
@ -75,7 +144,7 @@
"version_normalized": "9999999-dev", "version_normalized": "9999999-dev",
"source": { "source": {
"type": "hg", "type": "hg",
"url": "http://some.where/over/the/rainbow", "url": "http://some.where/over/the/rainbow/",
"reference": "4a10a567baa5" "reference": "4a10a567baa5"
}, },
"replace": { "replace": {

View File

@ -1,89 +0,0 @@
{
"packages": {
"foo/bar": {
"1.0.0": {
"name": "foo/bar",
"version": "1.0.0",
"version_normalized": "1.0.0.0",
"source": {
"type": "hg",
"url": "http://some.where/over/the/rainbow",
"reference": "249dec95a52a"
},
"time": "2014-10-11 15:42:00",
"type": "library"
},
"1.0.1": {
"name": "foo/bar",
"version": "1.0.1",
"version_normalized": "1.0.1.0",
"source": {
"type": "hg",
"url": "http://some.where/over/the/rainbow",
"reference": "21e3328295d4"
},
"time": "2014-10-11 15:45:56",
"type": "library"
},
"1.0.x-dev": {
"name": "foo/bar",
"version": "1.0.x-dev",
"version_normalized": "1.0.9999999.9999999-dev",
"source": {
"type": "hg",
"url": "http://some.where/over/the/rainbow",
"reference": "14dc17c8e860"
},
"time": "2014-10-11 15:45:59",
"type": "library"
},
"1.1.0": {
"name": "foo/bar",
"version": "1.1.0",
"version_normalized": "1.1.0.0",
"source": {
"type": "hg",
"url": "http://some.where/over/the/rainbow",
"reference": "d2fa3e69ad5b"
},
"require": {
"bar/baz": "~1.0"
},
"time": "2014-10-11 15:43:16",
"type": "library"
},
"dev-default": {
"name": "foo/bar",
"version": "dev-default",
"version_normalized": "9999999-dev",
"source": {
"type": "hg",
"url": "http://some.where/over/the/rainbow",
"reference": "8e5a5c224336"
},
"require": {
"bar/baz": "~1.0"
},
"time": "2014-10-11 15:43:18",
"type": "library"
}
},
"qux/quux": {
"dev-default": {
"name": "qux/quux",
"version": "dev-default",
"version_normalized": "9999999-dev",
"source": {
"type": "hg",
"url": "http://some.where/over/the/rainbow",
"reference": "4a10a567baa5"
},
"replace": {
"gar/nix": "1.0.*"
},
"time": "2014-10-11 15:48:15",
"type": "library"
}
}
}
}

View File

@ -0,0 +1,158 @@
{
"packages": {
"bar/baz": {
"1.0.0": {
"name": "bar/baz",
"version": "1.0.0",
"version_normalized": "1.0.0.0",
"source": {
"type": "hg",
"url": "http://some.where/over/the/rainbow/",
"reference": "35810817c14d"
},
"time": "2014-10-13 12:04:55",
"type": "library"
},
"1.0.x-dev": {
"name": "bar/baz",
"version": "1.0.x-dev",
"version_normalized": "1.0.9999999.9999999-dev",
"source": {
"type": "hg",
"url": "http://some.where/over/the/rainbow/",
"reference": "ffff9aae6ed5"
},
"time": "2014-10-13 12:05:37",
"type": "library"
},
"dev-default": {
"name": "bar/baz",
"version": "dev-default",
"version_normalized": "9999999-dev",
"source": {
"type": "hg",
"url": "http://some.where/over/the/rainbow/",
"reference": "f317e556f2e2"
},
"time": "2014-10-13 12:06:45",
"type": "library",
"extra": {
"branch-alias": {
"dev-default": "1.1.x-dev"
}
}
}
},
"foo/bar": {
"1.0.0": {
"name": "foo/bar",
"version": "1.0.0",
"version_normalized": "1.0.0.0",
"source": {
"type": "hg",
"url": "http://some.where/over/the/rainbow/",
"reference": "249dec95a52a"
},
"time": "2014-10-11 15:42:00",
"type": "library"
},
"1.0.1": {
"name": "foo/bar",
"version": "1.0.1",
"version_normalized": "1.0.1.0",
"source": {
"type": "hg",
"url": "http://some.where/over/the/rainbow/",
"reference": "21e3328295d4"
},
"time": "2014-10-11 15:45:56",
"type": "library"
},
"1.0.x-dev": {
"name": "foo/bar",
"version": "1.0.x-dev",
"version_normalized": "1.0.9999999.9999999-dev",
"source": {
"type": "hg",
"url": "http://some.where/over/the/rainbow/",
"reference": "14dc17c8e860"
},
"time": "2014-10-11 15:45:59",
"type": "library"
},
"1.1.0": {
"name": "foo/bar",
"version": "1.1.0",
"version_normalized": "1.1.0.0",
"source": {
"type": "hg",
"url": "http://some.where/over/the/rainbow/",
"reference": "d2fa3e69ad5b"
},
"require": {
"bar/baz": "~1.0"
},
"time": "2014-10-11 15:43:16",
"type": "library"
},
"dev-default": {
"name": "foo/bar",
"version": "dev-default",
"version_normalized": "9999999-dev",
"source": {
"type": "hg",
"url": "http://some.where/over/the/rainbow/",
"reference": "8e5a5c224336"
},
"require": {
"bar/baz": "~1.0"
},
"time": "2014-10-11 15:43:18",
"type": "library"
}
},
"gar/nix": {
"1.0.0": {
"name": "gar/nix",
"version": "1.0.0",
"version_normalized": "1.0.0.0",
"source": {
"type": "hg",
"url": "http://some.where/over/the/rainbow/",
"reference": "44977145d64e"
},
"time": "2014-10-13 12:03:33",
"type": "library"
},
"dev-default": {
"name": "gar/nix",
"version": "dev-default",
"version_normalized": "9999999-dev",
"source": {
"type": "hg",
"url": "http://some.where/over/the/rainbow/",
"reference": "51cca95a31c2"
},
"time": "2014-10-13 12:03:35",
"type": "library"
}
},
"qux/quux": {
"dev-default": {
"name": "qux/quux",
"version": "dev-default",
"version_normalized": "9999999-dev",
"source": {
"type": "hg",
"url": "http://some.where/over/the/rainbow/",
"reference": "4a10a567baa5"
},
"replace": {
"gar/nix": "1.0.*"
},
"time": "2014-10-11 15:48:15",
"type": "library"
}
}
}
}

View File

@ -3,8 +3,8 @@
], ],
"includes": { "includes": {
"include/all$4a06adbb14bcd09b8fc8108e3b46e2d73e4c423e.json": { "include/all$5fa86b937f0502d92f776072cd49c002dca742b9.json": {
"sha1": "4a06adbb14bcd09b8fc8108e3b46e2d73e4c423e" "sha1": "5fa86b937f0502d92f776072cd49c002dca742b9"
} }
} }
} }

View File

@ -0,0 +1,50 @@
{
"packages": {
"bar\/baz": {
"1.0.0": {
"name": "bar\/baz",
"version": "1.0.0",
"version_normalized": "1.0.0.0",
"source": {
"type": "hg",
"url": "http:\/\/some.where\/over\/the\/rainbow\/",
"reference": "35810817c14d"
},
"time": "2014-10-13 12:04:55",
"type": "library",
"uid": 0
},
"1.0.x-dev": {
"name": "bar\/baz",
"version": "1.0.x-dev",
"version_normalized": "1.0.9999999.9999999-dev",
"source": {
"type": "hg",
"url": "http:\/\/some.where\/over\/the\/rainbow\/",
"reference": "ffff9aae6ed5"
},
"time": "2014-10-13 12:05:37",
"type": "library",
"uid": 1
},
"dev-default": {
"name": "bar\/baz",
"version": "dev-default",
"version_normalized": "9999999-dev",
"source": {
"type": "hg",
"url": "http:\/\/some.where\/over\/the\/rainbow\/",
"reference": "f317e556f2e2"
},
"time": "2014-10-13 12:06:45",
"type": "library",
"extra": {
"branch-alias": {
"dev-default": "1.1.x-dev"
}
},
"uid": 2
}
}
}
}

View File

@ -7,12 +7,12 @@
"version_normalized": "1.0.0.0", "version_normalized": "1.0.0.0",
"source": { "source": {
"type": "hg", "type": "hg",
"url": "http:\/\/some.where\/over\/the\/rainbow", "url": "http:\/\/some.where\/over\/the\/rainbow\/",
"reference": "249dec95a52a" "reference": "249dec95a52a"
}, },
"time": "2014-10-11 15:42:00", "time": "2014-10-11 15:42:00",
"type": "library", "type": "library",
"uid": 0 "uid": 3
}, },
"1.0.1": { "1.0.1": {
"name": "foo\/bar", "name": "foo\/bar",
@ -20,12 +20,12 @@
"version_normalized": "1.0.1.0", "version_normalized": "1.0.1.0",
"source": { "source": {
"type": "hg", "type": "hg",
"url": "http:\/\/some.where\/over\/the\/rainbow", "url": "http:\/\/some.where\/over\/the\/rainbow\/",
"reference": "21e3328295d4" "reference": "21e3328295d4"
}, },
"time": "2014-10-11 15:45:56", "time": "2014-10-11 15:45:56",
"type": "library", "type": "library",
"uid": 1 "uid": 4
}, },
"1.0.x-dev": { "1.0.x-dev": {
"name": "foo\/bar", "name": "foo\/bar",
@ -33,12 +33,12 @@
"version_normalized": "1.0.9999999.9999999-dev", "version_normalized": "1.0.9999999.9999999-dev",
"source": { "source": {
"type": "hg", "type": "hg",
"url": "http:\/\/some.where\/over\/the\/rainbow", "url": "http:\/\/some.where\/over\/the\/rainbow\/",
"reference": "14dc17c8e860" "reference": "14dc17c8e860"
}, },
"time": "2014-10-11 15:45:59", "time": "2014-10-11 15:45:59",
"type": "library", "type": "library",
"uid": 2 "uid": 5
}, },
"1.1.0": { "1.1.0": {
"name": "foo\/bar", "name": "foo\/bar",
@ -46,7 +46,7 @@
"version_normalized": "1.1.0.0", "version_normalized": "1.1.0.0",
"source": { "source": {
"type": "hg", "type": "hg",
"url": "http:\/\/some.where\/over\/the\/rainbow", "url": "http:\/\/some.where\/over\/the\/rainbow\/",
"reference": "d2fa3e69ad5b" "reference": "d2fa3e69ad5b"
}, },
"require": { "require": {
@ -54,7 +54,7 @@
}, },
"time": "2014-10-11 15:43:16", "time": "2014-10-11 15:43:16",
"type": "library", "type": "library",
"uid": 3 "uid": 6
}, },
"dev-default": { "dev-default": {
"name": "foo\/bar", "name": "foo\/bar",
@ -62,7 +62,7 @@
"version_normalized": "9999999-dev", "version_normalized": "9999999-dev",
"source": { "source": {
"type": "hg", "type": "hg",
"url": "http:\/\/some.where\/over\/the\/rainbow", "url": "http:\/\/some.where\/over\/the\/rainbow\/",
"reference": "8e5a5c224336" "reference": "8e5a5c224336"
}, },
"require": { "require": {
@ -70,7 +70,7 @@
}, },
"time": "2014-10-11 15:43:18", "time": "2014-10-11 15:43:18",
"type": "library", "type": "library",
"uid": 4 "uid": 7
} }
} }
} }

View File

@ -0,0 +1,50 @@
{
"packages": {
"qux\/quux": {
"dev-default": {
"name": "qux\/quux",
"version": "dev-default",
"version_normalized": "9999999-dev",
"source": {
"type": "hg",
"url": "http:\/\/some.where\/over\/the\/rainbow\/",
"reference": "4a10a567baa5"
},
"replace": {
"gar\/nix": "1.0.*"
},
"time": "2014-10-11 15:48:15",
"type": "library",
"uid": 10
}
},
"gar\/nix": {
"1.0.0": {
"name": "gar\/nix",
"version": "1.0.0",
"version_normalized": "1.0.0.0",
"source": {
"type": "hg",
"url": "http:\/\/some.where\/over\/the\/rainbow\/",
"reference": "44977145d64e"
},
"time": "2014-10-13 12:03:33",
"type": "library",
"uid": 8
},
"dev-default": {
"name": "gar\/nix",
"version": "dev-default",
"version_normalized": "9999999-dev",
"source": {
"type": "hg",
"url": "http:\/\/some.where\/over\/the\/rainbow\/",
"reference": "51cca95a31c2"
},
"time": "2014-10-13 12:03:35",
"type": "library",
"uid": 9
}
}
}
}

View File

@ -0,0 +1,16 @@
{
"providers": {
"bar\/baz": {
"sha256": "923363b3c22e73abb2e3fd891c8156dd4d0821a97fd3e428bc910833e3e46dbe"
},
"foo\/bar": {
"sha256": "4baabb3303afa3e34a4d3af18fb138e5f3b79029c1f8d9ab5b477ea15776ba0a"
},
"gar\/nix": {
"sha256": "5d210670cb46c8364c8e3fb449967b9bea558b971e5b082f330ae4f1d484c321"
},
"qux\/quux": {
"sha256": "c142d1a07ca354be46b613f59f1d601923a5a00ccc5fcce50a77ecdd461eb72d"
}
}
}

View File

@ -1,10 +0,0 @@
{
"providers": {
"foo\/bar": {
"sha256": "fc231cb99b4427d2e6e10e500e3195c9e927eed6628ee1913b8331f97850cc1c"
},
"qux\/quux": {
"sha256": "301aa898cc49a14ebe56084431db1e29805d822e2f25f8cbc2985f800c0d6d33"
}
}
}

View File

@ -7,7 +7,7 @@
"version_normalized": "9999999-dev", "version_normalized": "9999999-dev",
"source": { "source": {
"type": "hg", "type": "hg",
"url": "http:\/\/some.where\/over\/the\/rainbow", "url": "http:\/\/some.where\/over\/the\/rainbow\/",
"reference": "4a10a567baa5" "reference": "4a10a567baa5"
}, },
"replace": { "replace": {
@ -15,7 +15,7 @@
}, },
"time": "2014-10-11 15:48:15", "time": "2014-10-11 15:48:15",
"type": "library", "type": "library",
"uid": 5 "uid": 10
} }
} }
} }

View File

@ -2,8 +2,8 @@
"packages": [], "packages": [],
"providers-url": "\/p\/%package%$%hash%.json", "providers-url": "\/p\/%package%$%hash%.json",
"provider-includes": { "provider-includes": {
"p\/provider-active$d0a9908f6006b833fa0b654dc47b23711c60833672056925a868fe5c6af9c9c2.json": { "p\/provider-active$1893a061e579543822389ecd12d791c612db0c05e22d90e9286e233cacd86ed8.json": {
"sha256": "d0a9908f6006b833fa0b654dc47b23711c60833672056925a868fe5c6af9c9c2" "sha256": "1893a061e579543822389ecd12d791c612db0c05e22d90e9286e233cacd86ed8"
} }
} }
} }