Patchwork Makefile: drop old deployment rules

login
register
mail settings
Submitter Pierre-Yves David
Date Dec. 30, 2016, 9:55 a.m.
Message ID <7dc955330c55b8cea601.1483091714@nodosa.octopoid.net>
Download mbox | patch
Permalink /patch/18056/
State Accepted
Delegated to: Pierre-Yves David
Headers show

Comments

Pierre-Yves David - Dec. 30, 2016, 9:55 a.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@ens-lyon.org>
# Date 1483091528 -3600
#      Fri Dec 30 10:52:08 2016 +0100
# Node ID 7dc955330c55b8cea601edd9e3d77a1b40883b05
# Parent  ef6da0fd2a0cdfbc59503c7a3c221efe59f7e609
Makefile: drop old deployment rules

We use a different machine now and the process on it is automated. Thanks goes
to David Soria Parra for pointing this out.
Pierre-Yves David - Dec. 30, 2016, 10:26 a.m.
That should be flagged 'website', but I messed up.

On 12/30/2016 10:55 AM, Pierre-Yves David wrote:
> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david@ens-lyon.org>
> # Date 1483091528 -3600
> #      Fri Dec 30 10:52:08 2016 +0100
> # Node ID 7dc955330c55b8cea601edd9e3d77a1b40883b05
> # Parent  ef6da0fd2a0cdfbc59503c7a3c221efe59f7e609
> Makefile: drop old deployment rules
>
> We use a different machine now and the process on it is automated. Thanks goes
> to David Soria Parra for pointing this out.
>
> diff --git a/Makefile b/Makefile
> --- a/Makefile
> +++ b/Makefile
> @@ -1,11 +1,5 @@
>  all:: serve
>
> -deploy-ssh:
> -	ssh selenic 'cd /home/hg/www && hg pull -u'
> -
> -deploy:
> -	cd /home/hg/www && hg pull -u
> -
>  serve: .env
>  	HGWEBSITE_DEBUG=1 .env/bin/python hgwebsite.py
>
> @@ -13,4 +7,4 @@ serve: .env
>  	python -m virtualenv .env
>  	.env/bin/pip install flask
>
> -.PHONY: build deploy-ssh deploy serve
> +.PHONY: build serve
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel@mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
>
Sean Farley - Dec. 30, 2016, 7:18 p.m.
Pierre-Yves David <pierre-yves.david@ens-lyon.org> writes:

> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david@ens-lyon.org>
> # Date 1483091528 -3600
> #      Fri Dec 30 10:52:08 2016 +0100
> # Node ID 7dc955330c55b8cea601edd9e3d77a1b40883b05
> # Parent  ef6da0fd2a0cdfbc59503c7a3c221efe59f7e609
> Makefile: drop old deployment rules
>
> We use a different machine now and the process on it is automated. Thanks goes
> to David Soria Parra for pointing this out.

Sound good, queued!

Patch

diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,5 @@ 
 all:: serve
 
-deploy-ssh:
-	ssh selenic 'cd /home/hg/www && hg pull -u'
-
-deploy:
-	cd /home/hg/www && hg pull -u
-
 serve: .env
 	HGWEBSITE_DEBUG=1 .env/bin/python hgwebsite.py
 
@@ -13,4 +7,4 @@  serve: .env
 	python -m virtualenv .env
 	.env/bin/pip install flask
 
-.PHONY: build deploy-ssh deploy serve
+.PHONY: build serve