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

feat: search without solving and with --solve #1799

Merged
merged 2 commits into from
Nov 28, 2024

Conversation

mosteo
Copy link
Member

@mosteo mosteo commented Nov 23, 2024

We were solving all releases found during alr search which could slow notably the search in exchange for knowing upfront whether all dependencies are solvable.

This is now skipped, dependencies (if existing) are marked with a dimmed '?':

$ alr search unicode
NAME                 STATUS  VERSION               DESCRIPTION                                                           NOTES  MATCHES
emojis                       1.0.1                 A library to replace names between colons with emojis                        Tag
gwindows              U      1.4.3                 GWindows - Ada Framework for Windows Development                             Long_Description
mandelbrot_ascii             1.0.0                 Mandelbrot renderer using Unicode glyphs                                     Description
matreshka_league       ?     21.0.0                League - universal string library. Part of Matreshka framework               Tag
umwi                         0.1.0                 Unicode Monospace Width Information                                          Description, Tag
universal_text_file    ?     20220720.0.0          Proposed universal format for Unicode text files                             Description, Long_Description, Tag
utf8test                     0.1.0                 Test the terminal behavior when outputting Latin-1 and UTF-8 strings         Tag
uxstrings              ?     0.7.1+alpha-20240525  Unicode Extended Strings utilities                                           Description, Tag
vss                    ?     24.0.0                Advanced string and text manipulation with Unicode support                   Description, Tag
xmlada                 ?     24.0.0                The XML/Ada toolkit                                                          Project_File

The old behavior can be enabled with --solve:

$ alr search unicode --solve
NAME                 STATUS  VERSION               DESCRIPTION                                                           NOTES  MATCHES
emojis                       1.0.1                 A library to replace names between colons with emojis                        Tag
gwindows              U      1.4.3                 GWindows - Ada Framework for Windows Development                             Long_Description
mandelbrot_ascii             1.0.0                 Mandelbrot renderer using Unicode glyphs                                     Description
matreshka_league             21.0.0                League - universal string library. Part of Matreshka framework               Tag
umwi                         0.1.0                 Unicode Monospace Width Information                                          Description, Tag
universal_text_file          20220720.0.0          Proposed universal format for Unicode text files                             Description, Long_Description, Tag
utf8test                     0.1.0                 Test the terminal behavior when outputting Latin-1 and UTF-8 strings         Tag
uxstrings                    0.7.1+alpha-20240525  Unicode Extended Strings utilities                                           Description, Tag
vss                          24.0.0                Advanced string and text manipulation with Unicode support                   Description, Tag
xmlada                       24.0.0                The XML/Ada toolkit

@mosteo mosteo marked this pull request as ready for review November 25, 2024 09:32
@mosteo mosteo merged commit e6269b1 into alire-project:master Nov 28, 2024
25 checks passed
@mosteo mosteo deleted the feat/search-no-solve branch November 28, 2024 08:12
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

Successfully merging this pull request may close these issues.

2 participants