-
Notifications
You must be signed in to change notification settings - Fork 23
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
Improve ondemand data collection for npm and maven #487
Conversation
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.
@pombredanne I have some questions about expected behavior
@@ -44,7 +44,7 @@ | |||
) | |||
|
|||
|
|||
def add_package_to_scan_queue(package, pipelines=DEFAULT_PIPELINES, reindex_uri=False, priority=0): | |||
def add_package_to_scan_queue(package, pipelines=DEFAULT_PIPELINES, reindex_uri=False, priority=100): |
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.
@pombredanne When we add something to the scan queue, do we want it to be placed on top of the stack of packages to be scanned, or should that behavior only be done on requests from the collect
or similar endpoints?
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.
yes, top of the stack when asking for an exact version IMHO
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.
ack, tracking this in #502
Signed-off-by: Jono Yang <[email protected]>
Signed-off-by: Jono Yang <[email protected]>
Signed-off-by: Jono Yang <[email protected]>
Reference: #486 Signed-off-by: Philippe Ombredanne <[email protected]>
Reference: #488 Signed-off-by: Philippe Ombredanne <[email protected]>
Signed-off-by: Philippe Ombredanne <[email protected]>
Signed-off-by: Philippe Ombredanne <[email protected]>
Signed-off-by: Jono Yang <[email protected]>
Reference: #490 Signed-off-by: Philippe Ombredanne <[email protected]>
Reference: #490 Signed-off-by: Philippe Ombredanne <[email protected]>
* Always a package_content type, defaulting to BINARY if not provided * Ensure we always return a package even if there was no enhancement Reference: #490 Signed-off-by: Philippe Ombredanne <[email protected]>
Reference: #496 Signed-off-by: Philippe Ombredanne <[email protected]>
Signed-off-by: Philippe Ombredanne <[email protected]>
* Optionally override package data with new, non-empty manifest data * Expose new experimental API endpoint extra to recollect manifest data with a rescan at collect/reindex_metadata with this override capability * Enable this for Maven only for now Reference: #496 Reference: #494 Signed-off-by: Philippe Ombredanne <[email protected]>
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
12bba60
to
fc4a1cc
Compare
This PR provides various improvements wrt. on-demand data collection, and in particular: