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

Allow user's to search for aliases across external alias repos #31

Open
sebglazebrook opened this issue Apr 25, 2017 · 0 comments
Open

Comments

@sebglazebrook
Copy link
Owner

sebglazebrook commented Apr 25, 2017

Proposal: aliases search

So this is just documenting mu thought process around this.

Given you can clone a user and it automatically looks for user's in github.com/username/dot-aliases

Example command/usage"

aliases search git commit introduced string

This under the covers makes an external request to an aliases search server which caches all known external aliases and returns results that match the query string.

How does the cache get built?

When a user aliases clone successfully a ping is sent to the aliases search server to index that user.

What does the search search use as search data?

It uses all the current data about an alias but we also add a description field to allow for free text.

What can a user do once they have found an alias they want to use?

  • Copy it locally
    • straight copy of the alias to a local user/directory
  • Clone it
    • clone the user's alias and there can a further update process that can keep it in sync, with prompts to confirm as this could be dangerous.
  • Use it once
    • maybe copy it to clipboard or something
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant