Comments (7)
Thanks for the feedback, glad that did
is helpful! Implementing releases should not be difficult although it seems that the API does not provide much filtering options:
However, all important information (such as uploader
or published_at
timestamp) seems to be there, for example here's the output for all tmt
releases:
Feel free to file a pull request with the new release stats! :)
from did.
Other github plugin stats can serve as an inspiration:
Lines 133 to 142 in 101d208
from did.
I see, thanks for the pointers!
Am I right that I would need to recursively query all repositories that the user has access to in order to retreive if they created a new release? How can I do this? Or is there another, better way?
from did.
Unfortunately it looks like that. Unless there is another API call which would allow searching across projects. I haven't found one in the list. One way could be to provide a list of active projects in the config. It could look like this:
[github]
type = github
login = psss
url = https://api.github.com/
projects = psss/did, teemtee/fmf, teemtee/tmt
Then we would check only these relevant ones.
from did.
One way could be to provide a list of active projects in the config. It could look like this:
[github] type = github login = psss url = https://api.github.com/ projects = psss/did, teemtee/fmf, teemtee/tmtThen we would check only these relevant ones.
Makes sense 👍
Since I only want to add releaeses logging and not modify existing logic, maybe projects
should be named releaseProjects
or something so that it is clear that this is only meant for the releases stats or WDYT?
from did.
I'd vote for something short, and projects
could be possibly useful for other stats as well in the future.
from did.
I'd vote for something short, and
projects
could be possibly useful for other stats as well in the future.
All right
from did.
Related Issues (20)
- git plugin doesn't pull before fetching logs HOT 1
- plugins: gerrit: Deprecation Warning: FancyURLopener
- `did last friday` - only friday supported? HOT 1
- Filter git reporting by type? HOT 5
- GitLab tasks cause an exception HOT 4
- [RFE] plugin for `patchwork` HOT 2
- Fedora 39 failure due to Python 3.12 changes HOT 1
- Gitea Support HOT 1
- Github "issues commented" includes comments by other users HOT 4
- Directory with many Git repositories isn't recognized HOT 1
- Show whether a Jira ticket got covered by a test HOT 1
- confluence plugin wrongly hint to try `kinit` when `auth_url` lead to a non existent page
- Need a New Release HOT 1
- Invalid plugin type 'jira' in section 'issues'. HOT 3
- Git plugin fails on merges in `--verbose` mode HOT 1
- Add `did` to brew repo HOT 2
- Merge is not working for github HOT 1
- Too recent GitHub pull requests included HOT 2
- Jira: "Issues updated" output is too general HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from did.