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

Introduce short option for --repo #2082

Open
Jguer opened this issue Apr 6, 2023 · 6 comments · May be fixed by #2314 or #2380
Open

Introduce short option for --repo #2082

Jguer opened this issue Apr 6, 2023 · 6 comments · May be fixed by #2314 or #2380
Labels
beginner friendly Beginner friendly issues that are easily coverable through unit tests good first issue Status: Approved Feature Request or Enchancement has been approved. Type: Feature Request

Comments

@Jguer
Copy link
Owner

Jguer commented Apr 6, 2023

Is your feature request related to a problem? Please describe.

Created from #2080

Introduce a short option for the existing long option --repo

Describe the solution you'd like

-n as in native is the proposed short option but open to suggestions

Describe alternatives you've considered

-s and -r and already in use by --root and --search

@Jguer Jguer added Type: Feature Request Status: Discussion Open Topic is being considered and open for discussion Status: Approved Feature Request or Enchancement has been approved. good first issue beginner friendly Beginner friendly issues that are easily coverable through unit tests and removed Status: Discussion Open Topic is being considered and open for discussion labels Apr 6, 2023
@Jguer
Copy link
Owner Author

Jguer commented Apr 6, 2023

-x is used for --regex in -F, although it's still available for -S and regex is behind --search/-s it might be confusing if you already associate with regex.

@Arzumify
Copy link

What about -Syun for
noaur

@Jguer
Copy link
Owner Author

Jguer commented May 26, 2023

Actually a good point but instead of noaur there's a -n in query options that applies well

       -n, --native
           Restrict or filter output to packages that are found in the sync database(s).
           This is the inverse filter of --foreign.

EDIT:

Here's the entry for foreign

       -m, --foreign
           Restrict or filter output to packages that were not found in the sync
           database(s). Typically these are packages that were downloaded manually and
           installed with --upgrade.

@starquake
Copy link

starquake commented Sep 11, 2023

I'm not entirely sure what the last comment means. Are you saying -n is not an option because it is already used? Any suggestions for another letter?

When a letter has been decided I want to try and implement it.

EDIT: Or are you saying that the functionality of --repo can be replaced by the -n functionality and the -a functionality replaced by --foreign ?

@VishnuSanal
Copy link

hi, is this still active? I would like to work on this. I am a bit new here & looking forward to contributing :)

@Arzumify
Copy link

Yup

@VishnuSanal VishnuSanal linked a pull request Nov 13, 2023 that will close this issue
@danieloh0714 danieloh0714 linked a pull request Feb 23, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beginner friendly Beginner friendly issues that are easily coverable through unit tests good first issue Status: Approved Feature Request or Enchancement has been approved. Type: Feature Request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants