-
I guess you are busy but in case you can spare time I have setup bounty for the implementation: For anybody interested I have setup a bounty for the implementation: https://www.bountysource.com/issues/99526689-staticman-support-for-onedev-devops-platform
However, if you have time for some extra work, I would gladly pay you directly but if you have time I would ask you to do other, higher priority features, first.
-
I plan to release 4.7.0 recently to analyze ANSI escape sequences to show build logs with color, together with some other bug fixes and usage improvements. After that I will check and prioritize my todos.
-
Previous Value Current Value Open
Closed
-
OneDev side work has been done according to pull request #28
-
Previous Value Current Value Closed
Open
-
I am now testing the implementation and trying to get everything work.
During my tests I encountered the issue, which seems quite serious as it makes the whole system very difficult to use by average user.
I am referring to the issue described in this comment: OneDev Api requires project ID instead of project name
The biggest problem is that the project ID is nowhere visible on the 1dev website. At least I could not find it anywhere. Getting the project ID through API is very cumbersome.
So, for the simple fix, I suggest to add project ID information somewhere in the project description. Maybe on the project's settings page.
A better solution would be to allow to use project name in he API.
-
All OneDev resources are operated via its internal id, which never changes. Project id can be checked via general setting:

It can also be queries via restful api like below:
curl "https://code.onedev.io/api/projects? query=%22Name%22+is+%22onedev-server%22&offset=0&count=1" -
Thank you for responding the information.
This is really good that this information is available from web ui. Although you really have to know where to look. I was searching for the project ID for a while and did not spot this.
Command line option is also good but not for all users. As I am working on 1dev application for people who might not be comfortable with running stuff from command line. Therefore it is important to get this information from web ui.
-
This issue can be closed from my side.
-
Previous Value Current Value Open
Closed
| Type |
Question
|
| Priority |
Major
|
| Assignee |
Staticman has support for GitHub and GitLab. I guess it should be relatively easy to add support for 1dev for somebody knowledgable.
That would be last puzzle in having Pages like feature in 1dev with semi-dynamic comments on the website.
I think this could also encourage many people in looking at 1dev as a good alternative to GitHub and GitLab.
I am willing to pay for adding 1dev support to Staticman.