-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add incoming time to history snapshots #36
Comments
👋 @nx10! Thanks for your interest! |
Hi Florian @nx10, not sure how this incoming time would be, if you mean when was the package submitted, this information is not available on the folders available (afaik). snapshot_time is constant for each batch, but I don't think there is any workaround as CRAN does not provide any API notifying about changes on the queue and then the only solution is to scan at some frequency, which cannot be too high to not create more pressure on CRAN's website. But if you want to calculate how long does it take I've done an analysis of the data here. The number of files is going to be a problem. I've set up a similar GitHub Action to record hourly CRAN and Bioconductor packages and sometimes downloading the branch fails due to its size. Moving to a more general solution would help provide a better service and recording. Metacran does look if there are new packages available on CRAN every minute and stores the results on a database. If you wanted something of this detail you will need to set up something outside a GitHub Action |
Thank you for your responses. @maelle I already wrote an implementation using the @llrs I am sorry for being unclear, with "incoming time" I meant the timestamp on the FTP server. I want to use it to show time in folder, placement in the current "queue" (folder) and (maybe) estimated time remaining using some regression model. While I agree, that there should be a dedicated server that collects the data in a proper database and exposes a public API, I do not have the resources to run one by myself. (Although I would be happy to contribute code). I have already seen your analysis when you posted it in the mailing list, very cool! |
Thanks! mmh, yes, including the timestamp reported by the ftp site would be useful, this would have helped my analysis. I'm sure that if this move forward to a dedicated API it will be included. |
Can you please add the incoming time to the history branch CSV snapshots?
Those currently only include
snapshot_time
which is constant for all of them.I am trying to use the GitHub API to build an alternative frontend for the data.
Thank you for your time.
Edit: For reference I am doing this (TypeScript):
The text was updated successfully, but these errors were encountered: