-
Notifications
You must be signed in to change notification settings - Fork 54
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
Remove libpagure #71
Remove libpagure #71
Conversation
Signed-off-by: Frantisek Lachman <flachman@redhat.com>
Signed-off-by: Frantisek Lachman <flachman@redhat.com>
Signed-off-by: Frantisek Lachman <flachman@redhat.com>
Signed-off-by: Frantisek Lachman <flachman@redhat.com>
Signed-off-by: Frantisek Lachman <flachman@redhat.com>
@jscotka |
Signed-off-by: Frantisek Lachman <flachman@redhat.com>
Signed-off-by: Frantisek Lachman <flachman@redhat.com>
I played with it a little bit, and I got:
|
Signed-off-by: Frantisek Lachman <flachman@redhat.com>
Good catch. Fixed. |
Thanks, I tried all of the commands above on |
That was just an example. Whole API should be already implemented... |
Signed-off-by: Frantisek Lachman <flachman@redhat.com>
Signed-off-by: Frantisek Lachman <flachman@redhat.com>
Signed-off-by: Frantisek Lachman <flachman@redhat.com>
Signed-off-by: Frantisek Lachman <flachman@redhat.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haven't tried yet
Co-Authored-By: Jiri Popelka <jpopelka@redhat.com>
Signed-off-by: Frantisek Lachman <flachman@redhat.com>
Signed-off-by: Frantisek Lachman <flachman@redhat.com>
Signed-off-by: Frantisek Lachman <flachman@redhat.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
few issues regarding to easier mocking of pagure API.
@lachmanfrantisek by readonly mode are directly wrappend method in services/pagure, so no change here. |
Signed-off-by: Frantisek Lachman <flachman@redhat.com>
Signed-off-by: Frantisek Lachman <flachman@redhat.com>
Sorry, I meant the request caching... @jscotka :
|
Signed-off-by: Frantisek Lachman <flachman@redhat.com>
a71b271
to
14de65c
Compare
Signed-off-by: Frantisek Lachman <flachman@redhat.com>
14de65c
to
2e8b680
Compare
@jscotka Can you take another look? |
Signed-off-by: Frantisek Lachman <flachman@redhat.com>
Signed-off-by: Frantisek Lachman <flachman@redhat.com>
9e8c659
to
3f68db5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Frantisek, now it seems very well from perspective of mocking and representing request-response object. thanks a lot for these changes
Thanks, but the loading response values does not work now... |
4c98111
to
f5c5fe2
Compare
Signed-off-by: Frantisek Lachman <flachman@redhat.com>
Signed-off-by: Frantisek Lachman <flachman@redhat.com>
f5c5fe2
to
1e2edfb
Compare
I have a working version with direct yaml dumping but it does not go through the pre-commit yaml validation. @jscotka Do we want to use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes seems well. LGTM from perspective of mocking
OK, let's leave it as is and we can change it to object-dumping later. |
@TomasTomecek @jpopelka Do you want to take a look at this? Otherwise, we can merge. |
Let's merge and test in production :P |
Do we need to do any changes in packit? I still see |
Good point. The API should state the same, but mocking probably needs some changes... |
Filled new issue packit/packit#355 |
Fix #64
Fix #67
TODO:
How to test?