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

PR#78 local merge #126

Merged
merged 17 commits into from
Sep 16, 2024
Merged

PR#78 local merge #126

merged 17 commits into from
Sep 16, 2024

Conversation

jdelic
Copy link
Member

@jdelic jdelic commented Aug 13, 2024

No description provided.

xaoc7 and others added 8 commits August 13, 2024 14:07
* ensure that there are no lines longer than 120 characters
* fix imported but not used Union
* fix imported but not used AptlyAPIException
* fix imported but not used Mirror
* removed trailing whitespaces
* removed black lines at the end of files
* Incompatible type assignments
* Incompatible types for arguments
* Incompatible return values
Fixed code style1
@coveralls
Copy link

Coverage Status

coverage: 100.0%. remained the same
when pulling 31b2d94 on feature/pr78
into 4b12805 on master.

@coveralls
Copy link

coveralls commented Aug 13, 2024

Coverage Status

coverage: 100.0%. remained the same
when pulling 06a2852 on feature/pr78
into 0bd3f53 on master.

I understand that my formatting lacks rhyme or reason, but now this
is consistent with the rest of the files.
@GregoryLand
Copy link

Please see this pull request sent to xaoc7s git repo. I hoped it would be pulled into the original pull request. It corrects mirror.create missing SkipArchitectureCheck and snapshot.create_from_mirror missing its mapping for Description. There are also added unit tests for each to keep coverage at 100% and prevent regression.

https://github.com/xaoc7/aptly-api-client/pull/1

Greg Land and others added 6 commits September 16, 2024 23:59
* Fixed Mirror.Create. It didn't make use of filter_with_deps argument.
* Organized Mirror.create statements to make them easier to follow.
* Created unit tests for Mirror.Create to make sure post request is
  created correctly.
* Renamed misleading test named test_create to test_mirror_from_response
  and cleaned up the function.

(cherry picked from commit 71e19b4)
* Fixed Snapshot.create_from_mirror. Description argument was not being
  set in the post.
* Fixed test_create_from_mirror to check the post request fields to make
  sure they match expected values.

(cherry picked from commit 292be7d)
@jdelic jdelic merged commit e2a9d5b into master Sep 16, 2024
2 checks passed
@jdelic jdelic deleted the feature/pr78 branch September 16, 2024 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants