-
Notifications
You must be signed in to change notification settings - Fork 423
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
Vendor cornice
and cornice.ext.swagger
#3497
base: main
Are you sure you want to change the base?
Conversation
|
5f464c7
to
da5bd13
Compare
da5bd13
to
c64fae3
Compare
I have tried to import tests from cornice and cornice.ext.swagger in https://github.com/Kinto/kinto/tree/import-cornice-tests
I am tempted to propose to leave the PR like this with code coverage ignored in |
Getting some thoughts out, might be slightly messy.
If doing this means you don't have to dedicate more time to a repo that's in maintenance-only mode, let's go for it. |
That sounds good to me. Especially if there are tests already in |
Thank you for your inputs here 🙏
Great!
I did. Should we release a new version that emits a warning saying no one is maintaining it anymore?
Shall I include the commit that removes the dead code or not? If we disable coverage, maybe it's not necessary. And if for whatever reason we want to be able to backport patches, it's easier if the codebase does drift too much
Great, I'll open a draft PR with the follow-ups
That's a good idea. I want to believe that there is a single place that ramificates into several tests, so maybe with another pair of eyes we can find the culprit
Great, ready to review 😎
Awesome 👌 Thaaanks |
In order to remove the number of repositories that we maintain to support https://github.com/mozilla/remote-settings we could vendor and
cornice
andcornice.ext.swagger
.In the past years, I have laboriously maintained a myriad of repositories by myself. It was not always fun. Many open issues require to dive deeply in code to support specific use-case and corner-cases. It is very time consuming, for very little value for our project. I don't want to do this anymore.
Since Pylons/trypyramid.com#388 we don't recommend using Cornice in your new Pyramid projects.
Cornice is an abstraction layer on top of Pyramid, and with this PR, it becomes an internal module of Kinto.
I am very open to suggestions on how to execute this major move.