microsoft / microsoft/azure-devops-python-api

Git Search Criteria show_oldest_first wrong documented order of precidence

Open
#374 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
684
Forks
218
Avg merge
8d 10h
Merged PRs (30d)
1

Description

The search criteria model says that if you use show_oldest_first it ignores item_version. but in testing it's the other way around, it itself is ignored if you also include item_version. Ommiting item_version allows it to work.

https://github.com/microsoft/azure-devops-python-api/blob/451cade4c475482792cbe9e522c1fee32393139e/azure-devops/azure/devops/v6_0/git/models.py#L1959

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in azure-devops/azure/devops/v6_0/git/models.py around line 1959 and compare the documented precedence of show_oldest_first and item_version with the behavior described in the issue. Verify the behavior when both criteria are present, then ensure the model documentation reflects the confirmed precedence.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, python
Domain
api, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.