Broken documentation on Hackage.

Peter Selinger selinger at mathstat.dal.ca
Sun Jun 8 17:06:40 UTC 2014


Good point. But could you remind me what package this Makefile is in?
As far as I remember, this Makefile is for the private use of package
authors, and is not included in any publicly available code.

-- Peter

Serge Kosyrev wrote:
> 
> Peter,
> 
> A notable detail we should consider is -- not sending the user password
> unencrypted over the wire:
> 
> --- Makefile	2014-06-08 18:13:44.205418114 +0400
> +++ Makefile.orig	2014-06-08 18:32:50.999706699 +0400
> @@ -27,7 +27,7 @@
>  	tar -Hustar -zcf ${PACKAGE}-${VERSION}-docs.tar.gz ${PACKAGE}-${VERSION}-docs
>  
>  doc-upload: ${PACKAGE}-${VERSION}-docs.tar.gz
> -	echo -n "Hackage password for ${HACKAGE_USER}: "; read PASSWORD; curl -X PUT -H 'Content-Type: application/x-tar' -H 'Content-Encoding: gzip' --data-binary @${PACKAGE}-${VERSION}-docs.tar.gz http://${HACKAGE_USER}:$$PASSWORD at hackage.haskell.org/package/${PACKAGE}-${VERSION}/docs
> +	echo -n "Hackage password for ${HACKAGE_USER}: "; read PASSWORD; curl -X PUT -H 'Content-Type: application/x-tar' -H 'Content-Encoding: gzip' --data-binary @${PACKAGE}-${VERSION}-docs.tar.gz https://${HACKAGE_USER}:$$PASSWORD at hackage.haskell.org/package/${PACKAGE}-${VERSION}/docs
>  
>  install: dist/setup/setup
>  	cabal install
> 
> -- 
> с уважениeм,
> Серёга Косырев
> 



More information about the cabal-devel mailing list