Comments (7)
I can plan this after having finished current works relative to full support of async.
But soon, it depends on what you expect. If you have some time to do a pull request, it depends on your speed, otherwise at current pace I might not release that before end of march.
from sharpbucket.
Okay, thank you.
I might be able to find the time to do a PR, depending on the scope. Can you give me the broad stokes so I can see what scope we're talking about?
from sharpbucket.
The issues endpoint is documented here:
https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/issues
The GET should be implemented in RepositoryResource.cs with List* and Enumerate* methods (look at other methods as an example)
You will also have to create an Issue
object in the Pocos folder
The POST should be implemented in the same class
Then sub requests that need the issue_id should be developed in a new IssueResource
class.
You can look at other *Ressource
class present in the EndPoints folder to see how it is done.
In function of your needs you may just implement the GET and POST, or go more deep in the API.
In any case, do not forget to cover added code with tests.
This page: contribution.md should help you to setup an environment to execute tests on a test account that you should create on BitBucket (you can use your own account, but using an empty one dedicated to that is preferred to avoid to inadvertently drop real data with unit tests)
Unit tests are probably the reason why you will need to implement POST and GET even if you are functionally interested only in GET issues, because you'll need the POST to write integration tests that demonstrate that the GET works ;)
Finally, don't forget to update our coverage documentation in your PR in function of what you really cover.
from sharpbucket.
One more though: even if functionally you want more than the base GET and POST on /issues
, you probably should start by a PR that just do that before doing another PR that goes further to avoid to create a to big PR with too much things to review.
from sharpbucket.
Now that #136 is merged, let me know if we can close this issue, or if you want more than that.
The Issues part of the API contains a lot of things (import, export, attachement, changes, ...), so if you need more it could be great if you can detail a bit more, and maybe we can split the work between the two of us if you're still interested in helping.
from sharpbucket.
I would like to help but since this was for a personal project I have currently dropped it as other priorities have emerged. I do think this was all I needed, so it's up to you whether you want to expand this issue to cover the remaining work on Issues or close as resolved and open a new one to track what is left.
from sharpbucket.
Ok in that case I close this, and we will open a new one if somebody is interested in more.
from sharpbucket.
Related Issues (20)
- Commit filtering? HOT 2
- How to make a commit? HOT 2
- PullRequest activity endpoints missing approval data HOT 3
- How to list the tags my repository? HOT 2
- Is there any way to get text the pull request? HOT 2
- I have the description of the Pull Request formatted. Example: bold, list, table, images. How can I get this Html for a friendlier presentation? HOT 2
- How do I get the last pull request from the master? to avoid the problem I'm having slow. method used: .GetPullRequestLog () HOT 2
- Project Filter on RepositoriesEndPoint HOT 2
- Expose Enumerate... methods in addition to existing List... methods HOT 2
- Add support of async methods
- Expose async methods in addition of existing methods HOT 1
- Add support of IAsyncEnumerable<T> for Enumerate methods
- Expose Enumerate_Async methods in addition to existing List... methods HOT 1
- Tag POCO is incomplete HOT 1
- The PullRequest POCO is missing an HTML link
- Clone and Fetch HOT 1
- Implement OathToken Refresh
- Comment all public types and members
- Tag creation operation missing 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 sharpbucket.