Fix repoUrl generating wrong path, following links when it shouldn't #30
Comments
|
IMO, we should not look for the path of the repo on disk. We should just get the current repo name (e.g. ajdt/org.eclipse.ajdt or statet/org.eclipse.statet-commons) as this is what is eventually used to generate the urls of the repo:
I guess you'll have to first update the logic in https://github.com/EclipseFdn/git-eca-rest-api |
…clipseFdn#30 Replace file path check to use project name key. This will be used along with the string '.git' to match project definitions. Signed-off-by: Martin Lowe <martin.lowe@eclipse-foundation.org>
|
I've made 2 changes to affect this update, one here(#33) and one at EclipseFdn/git-eca-rest-api#42. These changes together will i.e, for |
|
The recently updated change pushed out yesterday is causing problems - see my email on cross-project. The problem may be down to simrel's special status? |
|
PS. Not just simrel that is failing for me, the CDT website also is not calling me a committer. |
|
Committer status is reserved for projects that are tracked as a repo connected to a project. Typically the websites for projects are maintained as a part of the project, but are not directly tied. This is why there is no committer status for the CDT site at least. I talked with @chrisguindon earlier and he had mentioned that SimRel is in a similar boat, and would require sign offs. |
|
This was fixed a couple of days ago, but wasn't closed, closing now. |
|
I don't know where I am supposed to make such comments - so as this is now closed I have continued in https://bugs.eclipse.org/bugs/show_bug.cgi?id=569703#c21 |
|
+1 We are using https://bugs.eclipse.org/bugs/show_bug.cgi?id=569703#c21 to capture feedback. |
Source: https://bugs.eclipse.org/bugs/show_bug.cgi?id=569607
When generating the repoUrl using the filepath, symlinks are being followed causing bad project URLs to be generated. New solution should be more robust when dealing with symlinks to retain functionality.
The text was updated successfully, but these errors were encountered: