liocuevas / python-bamboo-api

Bamboo API client for python
20 stars 25 forks source link

Inconsistent behaviour in get_builds #5

Open kako-nawao opened 8 years ago

kako-nawao commented 8 years ago

This is actually an inconsistency in the Build service in the Bamboo server, which Lists the latest builds for all plans on the Bamboo server when no plan is specified, and Provides information about builds executed for a build plan from latest to the first build when plan is specified.

But in the interest of making sense, I think it's convenient to move the first case to another method get_lastest_builds, and use get_builds only with a plan key.

liocuevas commented 7 years ago

thanks @kako-nawao ! I will work on this. Sorry for the delayed response :/