-
Notifications
You must be signed in to change notification settings - Fork 8
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
'publish' generates public access urls for files. #6
base: master
Are you sure you want to change the base?
Conversation
This is only implemented in the S3 backend. A way to link the stub file to its content would ease integration into repo hosting systems, if that ever happens in the future. eg, adding an url at the end of the stub file?
@rainwoodman should this a feature of git-fat? If we want to publish files in S3 as public or private, it's feature of S3, we should not add all file function to git-fat, or else we may end of at more commands: @dlin @willkelleher thoughts? |
I wouldn't mind a command (something like |
My use case here is I have been committing some IPtyhon notebooks to the repository, that I would like to share with collaborators with a directly link that is directly copied from a console. I agree the publish command is more or less only for S3 and too speicallized. I propose
It would return the filename->sha1 pairs without '-p' parameter. |
Without -p, locate the SHA-1 blob name of filenames With -p, locate a public-ly access URL of the file from the storage backend (rsync unimplemented yet)
Re: I think (1) maybe a bit common for git-fat usage but (2) maybe not its initial usage. If you agree on this -- "...publish command is more or less only for S3 and too specialized") merging (1) and (2) won't solve. |
|
I think that technically, we can have "rsync" urls. We might even have |
|
This is only implemented in the S3 backend.
A way to link the stub file to its content would
ease integration into repo hosting systems, if that ever happens
in the future.
eg, adding an url at the end of the stub file?
Example usage: