composer-service icon indicating copy to clipboard operation
composer-service copied to clipboard

Display the command line to download the vendor.zip

Open pborreli opened this issue 11 years ago • 17 comments

pborreli avatar Dec 31 '13 09:12 pborreli

sounds interesting, like on github? when copying the git@github...? i am on it, please assign me

cordoval avatar Jan 01 '14 21:01 cordoval

we are not thousands of developers here yet :) you are assigned automatically :) I was just thinking of something like that :

curl -o http://composer.borreli.com/assets/12ce3296d1006283654053e9a66985c8fd43ff71/vendor.zip

pborreli avatar Jan 02 '14 18:01 pborreli

thank you!

cordoval avatar Jan 02 '14 18:01 cordoval

I've got a branch with ZeroClipboard (and composer output and .lock log waiting for #39), maybe we can do someting from there?

youbs avatar Jan 07 '14 23:01 youbs

@youbs sure ! let's see :+1:

pborreli avatar Jan 07 '14 23:01 pborreli

allright I'l clean it and push it tomorrow :)

youbs avatar Jan 07 '14 23:01 youbs

nice can't wait :+1:

pborreli avatar Jan 07 '14 23:01 pborreli

http://hm-feat-copyurl.youbs-composer-service.stage1.io/

I was thinking about providing a command-line that extracts the downloaded file into vendor/, etc, but I'm not sure about it. First I didn't manage to make unzip work with curl output piped into it, and I was wondering if it wouldn't bother the user who just wants the download link, or if there are files already in the vendor dir. So I just let the download link as is.

youbs avatar Jan 16 '14 23:01 youbs

@youbs the zip download and extraction of the downloaded zip into the vendors dir should be part of the composer-cli integration (which is one of the long termin goals of this project, if I read the projects readme correctly).

I think this is something which needs to be done in the future after the composeraas itself stabilized a bit.

staabm avatar Jan 17 '14 08:01 staabm

@staabm totally agree a composer update/install --whatever using the website would be a killer feature and is the goal, I started to work on a API, I will share something this weekend hopefully

pborreli avatar Jan 17 '14 10:01 pborreli

Yes you're right, it should totally be part of the cli (that's even the first thing I thought when Pascal announced the project). But why would it be incompatible with this feature request? Do you mean we should just provide the raw link? in that case I'm totally ok with that

youbs avatar Jan 19 '14 00:01 youbs

I am not sure if I got your request.. Why should a user want a download link?

staabm avatar Jan 19 '14 01:01 staabm

Oh that's just a field with the url (the same as the big download button) where you can click on an icon to quickly copy the content into you clipboard (exactly the same as the one on the homepage of a github project where you can copy https://github.com/pborreli/composer-service.git for exemple)

Click on the GO button here: http://hm-feat-copyurl.youbs-composer-service.stage1.io/ It's juste the field that show up at the end, nothing more

youbs avatar Jan 19 '14 01:01 youbs

Your url doesnt work, got 404

staabm avatar Jan 19 '14 09:01 staabm

The link should work now.

ubermuda avatar Jan 23 '14 16:01 ubermuda

thank you @ubermuda

pborreli avatar Jan 23 '14 17:01 pborreli

Oops. so? Thanks @ubermuda

youbs avatar Jan 24 '14 01:01 youbs