From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1R8VqM-0003KD-1S for garchives@archives.gentoo.org; Tue, 27 Sep 2011 11:29:06 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2307C21C0BE; Tue, 27 Sep 2011 11:28:49 +0000 (UTC) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 66D7C21C028 for ; Tue, 27 Sep 2011 11:27:56 +0000 (UTC) Received: by wyf19 with SMTP id 19so8828161wyf.40 for ; Tue, 27 Sep 2011 04:27:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:reply-to:to:subject:date:user-agent:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=oofljdhoBIx5bUSFaoKleDe7JLoJpJ9xU8ITXwKEgIg=; b=NHaZP6pXtOJdOMQqDZZ0gnjgfVYE1bZhbmrPm51Ur84rxw3B7Wo56TFg5T9Ma2u2/w FH7hdBRGaDCoDkZApk1YK9qjO9/ZzkWl2VrkCJtqBV/Wy8peR4UP85gRuRnkwqaoHEzw qpIG08Vd/zkqW+UJ8qvTJQ5LQ5g/7d9Ivdoe4= Received: by 10.227.28.69 with SMTP id l5mr8783413wbc.38.1317122875618; Tue, 27 Sep 2011 04:27:55 -0700 (PDT) Received: from dell_xps.localnet ([213.123.142.221]) by mx.google.com with ESMTPS id es10sm29622228wbb.4.2011.09.27.04.27.53 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 27 Sep 2011 04:27:54 -0700 (PDT) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] {OT} Development framework with access restriction? Date: Tue, 27 Sep 2011 12:27:36 +0100 User-Agent: KMail/1.13.7 (Linux/2.6.39-gentoo-r3; KDE/4.6.5; x86_64; ; ) References: <4E80F086.9010804@orlitzky.com> In-Reply-To: <4E80F086.9010804@orlitzky.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1438363.Txu24C9ir1"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201109271227.46863.michaelkintzios@gmail.com> X-Archives-Salt: X-Archives-Hash: 1a6ddaa9a276010d9e7a0ad0c845eb59 --nextPart1438363.Txu24C9ir1 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Monday 26 Sep 2011 22:37:10 Michael Orlitzky wrote: > On 09/26/11 16:01, Grant wrote: > > I'd like to hire a freelancer to work on my website. I don't want to > > provide access to all of my code, but instead only the particular file > > or files being worked on. Does anyone know of a development framework > > that would help facilitate that sort of thing? Would no shell access > > along with restricted SFTP access be the simplest, safest, most > > effective way to go? >=20 > Why not just send him the stuff he should be working on? He can run his > own Apache/PHP/whatever on his development machine. When he's done, he > can send you a tarball of the site files and maybe a SQL dump if you're > using a database. >=20 > That's the easiest one-off solution. If you're looking for something > more permanent, another idea is to have a "public" git repo somewhere > while the developers all work on their own workstations. SQL changes can > be made via numbered migrations, e.g., >=20 > 001-create_users_table.sql > 002-create_nodes_table.sql > 003-disregard_that_drop_users_table.sql >=20 > and devs can push everything to the git repo, as long as it's a > fast-forward (so they can't trash the repo history). >=20 > Once you're ready to move something live, an admin logs in to the > production box, does a `git pull`, and then runs the migrations or > makefile. Or, create a demo-site (in a subdomain blocked by robots.txt so that your=20 google rankings are not messed up) and let him rip. Then diff the live and= =20 demo files to see what's been changed? The demo can have different passwds= =20 and what not to ensure access controls as necessary. =2D-=20 Regards, Mick --nextPart1438363.Txu24C9ir1 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEABECAAYFAk6BszIACgkQVTDTR3kpaLYPkgCfdz5om5OS56bTcdGacQss7/cl g/QAn24BOTweg5GjQ8dEdAJmsFYqKL3B =frv9 -----END PGP SIGNATURE----- --nextPart1438363.Txu24C9ir1--