Re: [Distutils] buildout bootstrap question

2014-02-25 Thread Eric V. Smith
On 02/18/2014 07:35 AM, Eric V. Smith wrote:
 I realize that I'll also need to add
 back --download-base to pass to ez_setup.use_setuptools.

 Yup.  Feel free to propose something simpler.
 
 I opened issue #165.

I added a patch to issue 165 that I believe is complete, except for
documentation and tests. I've been using it pretty extensively for a
week or so, and it does just what I need.

Before creating a pull request, I'd like to add some documentation. I
can't find any tests of bootstrap.py, so I'm not sure what to do there.
But before I spend more time on this, could someone (Jim?) pass judgment
on the code patch? I don't want to spend much more time on this if it
doesn't have a hope of getting accepted.

I addressed a few issues in the checkin message at
https://github.com/buildout/buildout/commit/e4f5809962fb3851f48dd6558a55dda0bd299563
. I'd like to make sure my decisions outlined there are acceptable, too.

Thanks.
Eric.

___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


Re: [Distutils] buildout bootstrap question

2014-02-18 Thread Eric V. Smith
On 2/17/2014 6:13 AM, Jim Fulton wrote:
 On Sun, Feb 16, 2014 at 10:46 PM, Eric V. Smith e...@trueblade.com wrote:
 In older versions of bootstrap.py, the --setup-source option would let
 me select an alternate source of ez_setup.py. I just downloaded a new
 version today from http://downloads.buildout.org/2/bootstrap.py, and I
 notice this option is gone. bootstrap always will download ez_setup from
 http://downloads.buildout.org/2/bootstrap.py (assuming setuptools isn't
 installed, which in my case it is not).

 I run buildout on machines that have access to my own internal http
 servers, but do not have internet access. The requirement for internet
 access breaks this setup.

 Is there some reason --setup-source was removed?
 
 I didn't know people needed it and was trying to reduce the complexity
 of the bootstrap source.  We can add it back,

While working up a patch for this, I realize that I'll also need to add
back --download-base to pass to ez_setup.use_setuptools.

Is the best way to do this to open an issue on
https://github.com/buildout/buildout, and create a fork with my proposed
changes? I'm not sure of the normal buildout workflow.

Eric.
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


Re: [Distutils] buildout bootstrap question

2014-02-18 Thread Jim Fulton
On Tue, Feb 18, 2014 at 6:41 AM, Eric V. Smith e...@trueblade.com wrote:
 On 2/17/2014 6:13 AM, Jim Fulton wrote:
 On Sun, Feb 16, 2014 at 10:46 PM, Eric V. Smith e...@trueblade.com wrote:
 In older versions of bootstrap.py, the --setup-source option would let
 me select an alternate source of ez_setup.py. I just downloaded a new
 version today from http://downloads.buildout.org/2/bootstrap.py, and I
 notice this option is gone. bootstrap always will download ez_setup from
 http://downloads.buildout.org/2/bootstrap.py (assuming setuptools isn't
 installed, which in my case it is not).

 I run buildout on machines that have access to my own internal http
 servers, but do not have internet access. The requirement for internet
 access breaks this setup.

 Is there some reason --setup-source was removed?

 I didn't know people needed it and was trying to reduce the complexity
 of the bootstrap source.  We can add it back,

 While working up a patch for this,

Thanks!

 I realize that I'll also need to add
 back --download-base to pass to ez_setup.use_setuptools.

Yup.  Feel free to propose something simpler.

 Is the best way to do this to open an issue on
 https://github.com/buildout/buildout, and create a fork with my proposed
 changes?

Yes.

 I'm not sure of the normal buildout workflow.

It's pretty standard open source workflow based on pull requests.

For a non-trivial change, you'd need to sign a Zope contributor
agreement, but I'd be happy to consider this trivial. :)

Jim

-- 
Jim Fulton
http://www.linkedin.com/in/jimfulton
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


Re: [Distutils] buildout bootstrap question

2014-02-18 Thread Eric V. Smith
 I realize that I'll also need to add
 back --download-base to pass to ez_setup.use_setuptools.
 
 Yup.  Feel free to propose something simpler.

I opened issue #165.

 For a non-trivial change, you'd need to sign a Zope contributor
 agreement, but I'd be happy to consider this trivial. :)

Either way. I'm happy to sign a contributor agreement.

Eric.

___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


Re: [Distutils] buildout bootstrap question

2014-02-17 Thread Jim Fulton
On Sun, Feb 16, 2014 at 10:46 PM, Eric V. Smith e...@trueblade.com wrote:
 In older versions of bootstrap.py, the --setup-source option would let
 me select an alternate source of ez_setup.py. I just downloaded a new
 version today from http://downloads.buildout.org/2/bootstrap.py, and I
 notice this option is gone. bootstrap always will download ez_setup from
 http://downloads.buildout.org/2/bootstrap.py (assuming setuptools isn't
 installed, which in my case it is not).

 I run buildout on machines that have access to my own internal http
 servers, but do not have internet access. The requirement for internet
 access breaks this setup.

 Is there some reason --setup-source was removed?

I didn't know people needed it and was trying to reduce the complexity
of the bootstrap source.  We can add it back,

Jim

-- 
Jim Fulton
http://www.linkedin.com/in/jimfulton
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


Re: [Distutils] buildout bootstrap question

2014-02-17 Thread Eric V. Smith
On 2/17/2014 6:13 AM, Jim Fulton wrote:
 On Sun, Feb 16, 2014 at 10:46 PM, Eric V. Smith e...@trueblade.com wrote:
 In older versions of bootstrap.py, the --setup-source option would let
 me select an alternate source of ez_setup.py. I just downloaded a new
 version today from http://downloads.buildout.org/2/bootstrap.py, and I
 notice this option is gone. bootstrap always will download ez_setup from
 http://downloads.buildout.org/2/bootstrap.py (assuming setuptools isn't
 installed, which in my case it is not).

 I run buildout on machines that have access to my own internal http
 servers, but do not have internet access. The requirement for internet
 access breaks this setup.

 Is there some reason --setup-source was removed?
 
 I didn't know people needed it and was trying to reduce the complexity
 of the bootstrap source.  We can add it back,

That would be great, thanks.

I'm trying to move dozens of buldouts to buildout 2. In the meantime, I
think I'll just hard-code my url in bootstrap.py and then see how much
more progress I can make.

Eric.
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


Re: [Distutils] buildout bootstrap question

2014-02-17 Thread kiorky

On 17/02/2014 12:13, Jim Fulton wrote:
 On Sun, Feb 16, 2014 at 10:46 PM, Eric V. Smith e...@trueblade.com wrote:
 In older versions of bootstrap.py, the --setup-source option would let
 me select an alternate source of ez_setup.py. I just downloaded a new
 version today from http://downloads.buildout.org/2/bootstrap.py, and I
 notice this option is gone. bootstrap always will download ez_setup from
 http://downloads.buildout.org/2/bootstrap.py (assuming setuptools isn't
 installed, which in my case it is not).

 I run buildout on machines that have access to my own internal http
 servers, but do not have internet access. The requirement for internet
 access breaks this setup.

 Is there some reason --setup-source was removed?
 I didn't know people needed it and was trying to reduce the complexity
 of the bootstrap source.  We can add it back,

 Jim

Yep, +1, please add it back for the sake of offline  restricted environments
support.

-- 
Cordialement,
KiOrKY
GPG Key FingerPrint: 0x1A1194B7681112AF
Pensez à l’environnement. N’imprimez ce courriel que si vous en avez vraiment
besoin.






signature.asc
Description: OpenPGP digital signature
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


[Distutils] buildout bootstrap question

2014-02-16 Thread Eric V. Smith
In older versions of bootstrap.py, the --setup-source option would let
me select an alternate source of ez_setup.py. I just downloaded a new
version today from http://downloads.buildout.org/2/bootstrap.py, and I
notice this option is gone. bootstrap always will download ez_setup from
http://downloads.buildout.org/2/bootstrap.py (assuming setuptools isn't
installed, which in my case it is not).

I run buildout on machines that have access to my own internal http
servers, but do not have internet access. The requirement for internet
access breaks this setup.

Is there some reason --setup-source was removed?

Thanks.
Eric.
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig