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

URL Inputs #263

Open
robcxyz opened this issue Jan 1, 2024 · 0 comments
Open

URL Inputs #263

robcxyz opened this issue Jan 1, 2024 · 0 comments
Labels
proposal Proposal for changes in syntax / behaviour wip A work in progress proposal

Comments

@robcxyz
Copy link
Collaborator

robcxyz commented Jan 1, 2024

URL Inputs

Accept generic URLs for inputs

Overview

At one point requests was removed from tackle as a requirement which didn't allow the use of http inputs. This proposal would revert that and allow calling http for both cli / hook inputs.

It would work against:

  • Providers

    • Any url to a zip
  • Files

    • Any url to a tackle file

      • Would need to have some file type detector (ie yaml vs toml etc)

It would be used in:

  • CLI inputs

  • Hooks

    • tackle

    • yaml / json / toml

    • Default for starting with http, ie call->: https://...

      • This would be a simple get
    • import

      • Would be a faster way of importing a hook

      • Does not get version controlled unless the source had that built in

Examples

tackle <some GH raw url>
@robcxyz robcxyz changed the title tmp URL Inputs Jan 1, 2024
@robcxyz robcxyz added proposal Proposal for changes in syntax / behaviour wip A work in progress proposal labels Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal Proposal for changes in syntax / behaviour wip A work in progress proposal
Projects
None yet
Development

No branches or pull requests

1 participant