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

Orlo 0.4.3 #53

Merged
merged 22 commits into from
May 17, 2017
Merged

Orlo 0.4.3 #53

merged 22 commits into from
May 17, 2017

Conversation

al4
Copy link
Collaborator

@al4 al4 commented May 17, 2017

PR for what will become orlo 0.4.3, see commits for more details.

  • Added "by_release" parameter to /info/packages/versions, and corresponding "behaviour/versions_by_release" config option. See documentation for details.
  • Set default database to /var/lib/orlo/orlo.db. This is created by the .deb but pypi installs must create the path this manually. The default in-memory sqlite caused confusing behaviour as it is per-thread, so a release created in one request would appear to have disappeared if another thread serviced the request.
  • Return 404 status codes when no releases are found.
  • .deb packaging fixes.

Bug fixes:

al4 added 22 commits April 11, 2017 17:30
"sqlite://" is a problematic default because an in-memory database
means having a separate database per-thread.
* Don't raise InvalidUsage without filters
* Set default limit to 100
* Return 404 when no packages are found
orloclient will read this to find the orlo server
Changed the urls to return 404 if no results were found, this fixes the
tests to account for that.
Requires a few if statements, but generally less repetition
`is` vs `==` ... I was under the impression that low ints were references
to the same object. Bad to be exploiting this in any case.
Just use a url that doesn't return 404 if there are no packages
 * Renamed exclude_partial_releases param to by_release
 * Added 'behaviour' section in config, with corresponding
versions_by_release parameter
@al4 al4 merged commit e9e6027 into eBayClassifiedsGroup:master May 17, 2017
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.

1 participant