[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[orion-dev] Sites API Target vs Repro Id
|
http://wiki.eclipse.org/Orion/Server_API/Site_Configuration_API#Getting_all_site_configurations
has
"Mappings": [
{
"Source": "/",
"Target": "/I"
},
{
"Source": "/github",
"Target": "http://mamacdon.github.com"
}
],
but http://wiki.eclipse.org/Orion/Server_API/Git_API#Getting_the_list_of_repositories
has
{"Children": [
{
"BranchLocation": "http://localhost:8080/gitapi/branch/file/u/",
"ConfigLocation": "http://localhost:8080/gitapi/config/clone/file/u/",
"ContentLocation": "http://localhost:8080/file/u/",
"GitUrl": "ssh://sfranklin@xxxxxxxxxxxxxxx/gitroot/e4/org.eclipse.orion.client.git",
"HeadLocation": "http://localhost:8080/gitapi/commit/HEAD/file/u/",
"Id": "u/",
"Location": "http://localhost:8080/gitapi/clone/file/u/",
"Name": "sfranklin",
"RemoteLocation": "http://localhost:8080/gitapi/remote/file/u/"
},
...
Notice that the id is path-segment slash while the target is slash
path-segment. This makes identifying which repro is a Target
annoying.
jjb