Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revisions property to Workitem #15

Closed
gpe5280 opened this issue Dec 21, 2017 · 3 comments
Closed

Revisions property to Workitem #15

gpe5280 opened this issue Dec 21, 2017 · 3 comments

Comments

@gpe5280
Copy link

gpe5280 commented Dec 21, 2017

Add ability to retrieve revisions as a property to Workitem.

@property
def revisions(self):
     return self.tfs.get_tfs_object('wit/workitems/{}/revisions'.format(self.id))

I use this to build control charts.

@allburov
Copy link
Member

Hello, thanks for your feedback, great idea.

Can you do the pull request from your own fork?

@allburov
Copy link
Member

allburov commented Jan 6, 2018

Will be fix in #16

allburov added a commit that referenced this issue Jan 9, 2018
Fix #15
Fix #13 

* Add dynamic attribute from _links

* remove old repsonse.json

* Add Atachment object and download method

* try to fix test

* escape /

* add revisions as property

* Add more docs

* omit test coverage

* duplicate test name

* source dir to coverage

* rtfm codacy manual

* Add docs, deploy on develop\master only

* star repo
@allburov
Copy link
Member

allburov commented Jan 9, 2018

Fixed in dohq-tfs==1.0.54
Also read more
https://github.com/devopshq/tfs/blob/master/docs/ADVANCED.md

ondrno pushed a commit to ondrno/tfs that referenced this issue Dec 20, 2018
Fix devopshq#15
Fix devopshq#13 

* Add dynamic attribute from _links

* remove old repsonse.json

* Add Atachment object and download method

* try to fix test

* escape /

* add revisions as property

* Add more docs

* omit test coverage

* duplicate test name

* source dir to coverage

* rtfm codacy manual

* Add docs, deploy on develop\master only

* star repo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants