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

Stale package information is used from user cache #9

Open
keywan-ghadami-oxid opened this issue Apr 21, 2020 · 0 comments
Open

Stale package information is used from user cache #9

keywan-ghadami-oxid opened this issue Apr 21, 2020 · 0 comments

Comments

@keywan-ghadami-oxid
Copy link
Owner

Describe the bug
Repository does not return new package version if a new version version was created after the first connection to the repository

To Reproduce
Steps to reproduce the behavior:

  • clear cache by deleting the content of the repository servers cache directory (optional step)
  • run composer show -a vendorname/packagename
  • create a new tag in gitlab
  • run composer show -a vendorname/packagename again
    -> new version is not be shown

Expected behavior
the new version should be listed

Additional context
the repository should recognize the new version data in the cache/module directory which is successfully updated by the gitlab webhoks. This issue was caused by the new userbased caching, and may be solved by ching the last modification time of other files before using the user cache.

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

1 participant