GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — bin/xbps-alternatives: add repository mode to list repo alternatives by Duncaen · Pull Request #340 · void-linux/xbps

Conversation

@Duncaen

@Duncaen Duncaen commented Oct 14, 2020

Copy link
Copy Markdown
Member

No description provided.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

mobinmob reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@Duncaen

Duncaen commented Oct 14, 2020

Copy link
Copy Markdown
Member Author

xbps-alternatives -Rl produces https://gist.github.com/Duncaen/578435c3619c372ee2463ef79dbd5edb.

This also works for specific groups:

$ ./bin/xbps-alternatives/xbps-alternatives -Rlg vim
vim
 - gvim-8.2.1666_2
  - vim:/usr/bin/gvim
 - gvim-huge-8.2.1666_2
  - vim:/usr/bin/gvim-huge
 - neovim-0.4.4_1
  - vim:/usr/bin/nvim
  - vim.1:/usr/share/man/man1/nvim.1
 - vim-8.2.1666_2
  - vim:/usr/bin/vim-normal
 - vim-huge-8.2.1666_2
  - vim:/usr/bin/vim-huge
 - vim-x11-8.2.1666_2
  - vim:/usr/bin/vim-x11
$ # without -R
$ ./bin/xbps-alternatives/xbps-alternatives -lg vim
vim
 - vim (current)
  - vim:/usr/bin/vim-normal
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lgtm-com

lgtm-com Bot commented Oct 14, 2020

Copy link
Copy Markdown

This pull request introduces 1 alert when merging 8052917 into 05ff04a - view on LGTM.com

new alerts:

  • 1 for Empty branch of conditional
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Duncaen
Duncaen force-pushed the alternatives-list branch from 8052917 to 72840e6 Compare October 14, 2020 12:35
@Duncaen Duncaen added the hacktoberfest-accepted label Oct 15, 2020
@Duncaen Duncaen mentioned this pull request Jul 19, 2022
search for alternatives providers with xbps-query? #499
Closed
@Duncaen
Duncaen force-pushed the alternatives-list branch 2 times, most recently from 281e1b7 to 1932fff Compare August 31, 2023 15:25
@classabbyamp

classabbyamp commented Sep 12, 2023 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

this looks like it would fix my issue (#499), but it just exits without doing anything: nevermind, it works now

outdated log

$ LD_LIBRARY_PATH=./lib/ bin/xbps-alternatives/xbps-alternatives -dRlg vim 
[DEBUG] XBPS: 0.60 API: 20200423 GIT: a9c3af43
[DEBUG] Processing configuration directory: /usr/local/etc/xbps.d
[DEBUG] Processing system configuration directory: /usr/local/share/xbps.d

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Duncaen added 4 commits May 21, 2025 16:59
@Duncaen
bin/xbps-alternatives: add repository mode to list repo alternatives
053a545
@Duncaen
bin/xbps-alternatives: show usage for extra args in list mode
67edbed
@Duncaen
bin/xbps-alternatives: initialize xbps_handle directly
3a2ae81
@Duncaen
NEWS: add xbps-alternatives repo mode
da0a442
@Duncaen
Duncaen force-pushed the alternatives-list branch from 1932fff to da0a442 Compare May 21, 2025 15:11
@Duncaen
Duncaen merged commit da0a442 into void-linux:master May 21, 2025
@Duncaen
Duncaen temporarily deployed to github-pages May 21, 2025 15:16 — with GitHub Actions Inactive

This branch was previously deployed

1 inactive deployment
github-pages — da0a442a Deployed May 21, 2025 by Duncaen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

hacktoberfest-accepted

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@Duncaen @classabbyamp
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.