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

Lost access to PPM snapshots from ~2019 #115

Closed
pawelru opened this issue Jul 26, 2024 · 2 comments
Closed

Lost access to PPM snapshots from ~2019 #115

pawelru opened this issue Jul 26, 2024 · 2 comments

Comments

@pawelru
Copy link
Contributor

pawelru commented Jul 26, 2024

ATM I have the following:

r$> pkgcache::ppm_snapshots() |> head()
# A data frame: 6 × 2
  date                   id
* <dttm>              <int>
1 2020-03-09 00:00:00     0
2 2020-03-12 00:00:00     0
3 2020-03-16 00:00:00     0
4 2020-03-19 00:00:00     0
5 2020-03-23 00:00:00     0
6 2020-03-26 00:00:00     0

In the other issue I reported some time ago I had access to 2019-07-11.
In the PPM itself I have access to 2017-10-10.

@gaborcsardi
Copy link
Member

This is because of a PPM API change, it returns at most 1000 transactions now at https://packagemanager.posit.co/__api__/sources/1/transactions, even if I set a higher limit.

@pawelru
Copy link
Contributor Author

pawelru commented Jul 26, 2024

How about a while loop iterating on the _page parameter? I can see that there is something like https://packagemanager.posit.co/__api__/sources/1/transactions?_limit=1000&_page=2

netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this issue Oct 19, 2024
# pak 0.8.0

* `pkg_deps()` now accepts a vector of package names.

* The metadata cache now does not use source URLs for packages in `Archive`
  on Posit Package Manager repositories. This URLs may serve a different
  package, even a source package when the main URL for the same package
  serves a binary package. The alternative URLs are not needed on PPM,
  anyway, because PPM is in a consistent state w.r.t. metadata and
  package files (#623).

* pak now supports `gitlab::` package sources better, by adding
  explicit syntax to specify subdirectories (r-lib/pkgdepends#353, @dgkf).

* `gitlab::` and `git::` package sources now support git submodules if
  the `git-submodules` configuration option is set to `TRUE`. See
  `?"pak-config"` (r-lib/pkgdepends#354).

* The new `?ignore-unavailable` parameter makes it easy to ignore soft
  dependencies that are unavailable (#606).

* pak now automatically ignores soft dependencies that have an
  incompatible OS type (`OS_type` entry in `DESCRIPTION`) when installing
  packages.

* `repo_add()` and the `ppm_*()` functions, e.g. `ppm_snapshots()`, now
  work again after the PPM API changes
  (r-lib/pkgcache#110,
   r-lib/pkgcache#115).

# pak 0.7.2

* pak now supports using parameters for all packages with the
  `*=?<param>` form. E.g. `*=?source` installs all packages from source.

* pak now supports R 4.4.0 again, and also Rtools44.
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

No branches or pull requests

2 participants