Closed aleroot closed 3 years ago
Could someone check this pull request and merge please ?
It is a feature I'm using extensively and I would like to have it in the upstream version of scrapy.
Thanks.
Could you not run, for example:
scrapyd-deploy --build-egg /home/user/$(date +"%s").egg
If so, that is preferred, to avoid adding another feature to scrapyd-client.
Default the file name of the --build-egg output to the current timestamp in the case just a folder is passed as parameter. In the case the parameter is a file the behaviour remain exactly the same as before.
Example :
scrapyd-deploy --build-egg /home/user/ /home/user/1511341699.egg file generated ...
I've implemented it, since I have a docker image build script that generate the egg and then copy to the docker image all the generated eggs in a given folder...