You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think i figured this out
it looks like some projects use the default repo path and host only 1 git repo https://sourceforge.net/rest/p/${project}/git/commits
this is what we use today for api calls.
But it looks like the API allows for one project to have multiple git repos and also change the name of the default one.
For example opencamera or mingw.
If you click on the project at the web interface you can see under git multiple repo names, API path should be as follows: https://sourceforge.net/rest/p/${project}/${repo}/commits
where the default seems to be git but project owner can change it. for example for opencamera its code https://sourceforge.net/rest/p/opencamera/code/commits
mingw for example has many git repos that host multiple codebases.
That tells us that we want to expose the repo as a user param with a default value git.
I don't mind updating the service over this weekend but let me know what you think about this changes first.
Thank you for your work. https://sourceforge.net/rest/p/${project}/${repo}/commits
I made some attempts at this and I think it's the correct way to get the commit history.
Are you experiencing an issue with...
shields.io
🐞 Description
Some of the projects are like:
https://sourceforge.net/projects/opencamera/
https://sourceforge.net/projects/ghostcommander/
Is it because their catalog structure is not as expected?
In the example, the catalog for guitarix is https://sourceforge.net/p/guitarix/git/ci/master/tree/ .
And in the example I gave, they were https://sourceforge.net/p/ghostcommander/svn/HEAD/tree/ & https://sourceforge.net/p/opencamera/code/ci/master/tree/ .
🔗 Link to the badge
No response
💡 Possible Solution
No response
The text was updated successfully, but these errors were encountered: