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

--lookahead doesn't seem to work #228

Closed
brennerm opened this issue Nov 10, 2023 · 2 comments
Closed

--lookahead doesn't seem to work #228

brennerm opened this issue Nov 10, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@brennerm
Copy link

What happened:
NodeJS version 21 is going EOL in about 7 months at the time of writing.
Nevertheless, xeol doesn't pick it up when passing --lookahead 1y.

$ xeol --lookahead='1y' node:21-alpine
 ✔ EOL DB                          [no update available]  
 ✔ Scanned for EOL                 [0 eol matches]  
[0001]  WARN failed to match cycle for distro Alpine Linux: <nil>
✅ no EOL software has been found

What you expected to happen:
I'd expect that xeol reports NodeJS 21 going EOL within one year.

How to reproduce it (as minimally and precisely as possible):
xeol --lookahead='1y' node:21-alpine

Anything else we need to know?:
Scanning NodeJS images that include already EOL versions works fine, so the actual package detection seems to work fine.

$ xeol node:16-alpine
 ✔ EOL DB                          [no update available]  
 ✔ Scanned for EOL                 [1 eol matches]  
[0001]  WARN failed to match cycle for distro Alpine Linux: <nil>
NAME  VERSION  EOL         DAYS EOL  TYPE   
node  16.20.2  2023-09-11  60        binary

Environment:

  • Output of xeol version: xeol 0.9.8
  • OS (e.g: cat /etc/os-release or similar):
NAME="Manjaro Linux"
PRETTY_NAME="Manjaro Linux"
ID=manjaro
ID_LIKE=arch
BUILD_ID=rolling
ANSI_COLOR="32;1;24;144;200"
HOME_URL="https://manjaro.org/"
DOCUMENTATION_URL="https://wiki.manjaro.org/"
SUPPORT_URL="https://forum.manjaro.org/"
BUG_REPORT_URL="https://docs.manjaro.org/reporting-bugs/"
PRIVACY_POLICY_URL="https://manjaro.org/privacy-policy/"
LOGO=manjarolinux
@brennerm brennerm added the bug Something isn't working label Nov 10, 2023
@noqcks
Copy link
Collaborator

noqcks commented Nov 10, 2023

hey @brennerm thanks for the report! this should be fixed in #229

@noqcks noqcks closed this as completed Nov 10, 2023
@brennerm
Copy link
Author

@noqcks Can confirm that passing --lookahead works now. Thanks for the quick fix. 🙏

$ xeol --lookahead='1y' node:21-alpine
 ✔ EOL DB                          [no update available]  
 ✔ Scanned for EOL                 [1 eol matches]  
[0002]  WARN failed to match cycle for distro Alpine Linux: <nil>
NAME  VERSION  EOL         DAYS EOL  TYPE   
node  21.1.0   2024-06-01  -         binary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants