Make it possible to specify BR format in query string #97

Open
michals wants to merge 1 commits from michals/autogits:main into main
First-time contributor

instead of

curl -H 'accept: application/obs+xml' https://br.opensuse.org/status/Java:packages/jameica
curl -H 'accept: application/json' https://br.opensuse.org/status/Java:packages/jameica

this can be used

curl https://br.opensuse.org/status/Java:packages/jameica?format=xml
curl https://br.opensuse.org/status/Java:packages/jameica?format=json

which provides much simpler and easier to understand interface.

Fixes: #94

instead of curl -H 'accept: application/obs+xml' https://br.opensuse.org/status/Java:packages/jameica curl -H 'accept: application/json' https://br.opensuse.org/status/Java:packages/jameica this can be used curl https://br.opensuse.org/status/Java:packages/jameica?format=xml curl https://br.opensuse.org/status/Java:packages/jameica?format=json which provides much simpler and easier to understand interface. Fixes: #94
michals added 1 commit 2025-11-06 17:08:46 +01:00
Author
First-time contributor

It builds but not sure how to test.

Did not find tests for the non-svg output.

It builds but not sure how to test. Did not find tests for the non-svg output.
Checking for merge conflicts ...
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u main:michals-main
git checkout michals-main
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: git-workflow/autogits#97
No description provided.