public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: setup 2.194.2.24: Bug (?) in downloading from internet
@ 2002-04-28  8:14 Robert Collins
  2002-04-28  9:56 ` Kurt Roeckx
  0 siblings, 1 reply; 34+ messages in thread
From: Robert Collins @ 2002-04-28  8:14 UTC (permalink / raw)
  To: Sam Edge, cygwin



> -----Original Message-----
> From: Sam Edge [mailto:sam_edgeZZZ@hotmail.com] 
> Sent: Sunday, April 28, 2002 9:32 PM

> > So use a mirroring tool! Setup.exe is -not- designed for this.
> 
> Surely if setup.exe isn't designed with at least a nod to 
> this way of working why does it have "download from Internet" 
> and "install from local directory" options, instead of just 
> instisting on connecting to a server every time?

It's designed to allow an off-line mode, as opposed to having spare
copies of potentially desired pacakges around. The redownloading
behaviour is a result of a kludge to allow deliberate redownloading of
packages in 'download only' mode. If we remove that, then packages won't
get downloaded again and again and again - but setup will be no more
suited to being a mirroring tool. The cache directory is shareable with
multiple cygwin installs (say over a SMB share). So yes, there is a nod
towards what you do, but that's abou tit.
 
> > If you
> > want a setup.ini parsing mirroring tool, take me up on my offer to 
> > help someone leverage the setup.ini codebase to build a mirroring 
> > tool.
> 
> Although I've not looked at it, setup.exe must already have 
> most of the code required to operate in the way we'd like, surely?

It has a significant amount of code, that is getting more flexible and
paramterised all the time. If you look at
http://sources.redhat.com/cygwin-apps/ you can access the setup.exe
developers page. It's a but rough at the moment, but it does have the
CVS location amongst other things.
 
> If you tell me the module name(s) for setup.exe and any 
> documentation about setup.ini and the local and FTP/HTTP 
> server directory structures I'd certainly be interested to 
> download them from the CVS server and take a look.

Setup.ini is documented at http://www.cygwin.com/setup.html. There is no
ftp/http data structure - setup.ini determines everything. Setup's
multiple setup.ini capability allows for advanced merging and
per-organisation tweaking.

The differences between setup and a mirroring tool include:
* All the install code isn't needed.
* Attention to local packages isn't needed.
* Persistent selection of packages irrespective of install status should
be present.
* command line driven may be useful? 

Anyway, there's some notes, have a look, and we can talk further.

Rob

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 34+ messages in thread
* RE: setup 2.194.2.24: Bug (?) in downloading from internet
@ 2002-04-29  2:35 Robert Collins
  0 siblings, 0 replies; 34+ messages in thread
From: Robert Collins @ 2002-04-29  2:35 UTC (permalink / raw)
  To: cygwin



> -----Original Message-----
> From: Christopher Faylor [mailto:cgf@redhat.com] 
> Sent: Monday, April 29, 2002 8:30 AM

> However, I think I may have been responsible for setup's 
> current behavior of basing what is downloaded on what is 
> installed.  Even if I was not, though, I think that the 
> explanations about why some people need this are rather convincing.

Yup.
 
> If I have this right then even removing download from 
> internet does not eliminate this problem.

I don't actually like the idea of removing download from the net. It's
such a useful get-this-for-me capacity that I feel it can stay. It's the
redownload aspect that s***s me.
 
Rob

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 34+ messages in thread
* RE: setup 2.194.2.24: Bug (?) in downloading from internet
@ 2002-04-29  2:26 Robert Collins
  2002-04-29  5:42 ` Sam Edge
  0 siblings, 1 reply; 34+ messages in thread
From: Robert Collins @ 2002-04-29  2:26 UTC (permalink / raw)
  To: cygwin



> -----Original Message-----
> From: Christopher Faylor [mailto:cgf@redhat.com] 
> Sent: Monday, April 29, 2002 3:07 PM

> >That's what the discussion has been about for the last week or so. 
> >After lots of requests for this functionality, the position 
> eventually 
> >hardened to "it's not a download tool".
> 
> Right.  But it started with my suggesting this behavior was a 
> bug and (I
> thought) Robert agreeing.  So, I thought it was time to chime 
> in again.

The *redownloading* is a bug, and will get fixed. The 'I want to mirror
non-installed packages by using download' is not.

> The bottom line is that if we have to tell someone to use 
> wget or rsync just to do a normal install, something is wrong.

These folk aren't doing a normal install. They want to use download
mode, and then *not* install what was downloaded. 
A 'normal' install - download and install - works fine, no problems.
 
> It seems like this problem would be trivially fixed by not 
> attempting to redownload something that has already been downloaded.

I've also expressed this opinion. But... redownloading is a current
'feature'. It's one I don't think we need, and that we can get rid of -
which will correct the problem.

A reference for this is
http://sources.redhat.com/ml/cygwin-apps/2001-11/msg00271.html.

Rob

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 34+ messages in thread
* RE: setup 2.194.2.24: Bug (?) in downloading from internet
@ 2002-04-28 22:34 Alec Mihailovs
  2002-04-28 23:51 ` Charles Wilson
  0 siblings, 1 reply; 34+ messages in thread
From: Alec Mihailovs @ 2002-04-28 22:34 UTC (permalink / raw)
  To: Cygwin (E-mail)

I have a perfect installation program for MiKTeX made 
by Christian Schenk, see http://www.miktex.org/ 

You people seem to be not able to make anything even close to it. 
Why don't you just copy it and use for cygwin instead of inventing 
a wheel yourself? 

Best wishes, 
Alec Mihailovs 
http://webpages.shepherd.edu/amihailo/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 34+ messages in thread
* RE: setup 2.194.2.24: Bug (?) in downloading from internet
@ 2002-04-28 10:15 Robert Collins
  0 siblings, 0 replies; 34+ messages in thread
From: Robert Collins @ 2002-04-28 10:15 UTC (permalink / raw)
  To: Kurt Roeckx, cygwin

Kurt,
	you've jumped in half way through a discussion. I've addressed
every point you made, as have other people, in various emails in this
list over the last few months.

Rob

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 34+ messages in thread
* RE: setup 2.194.2.24: Bug (?) in downloading from internet
@ 2002-04-28  4:47 Robert Collins
  2002-04-28  8:08 ` Sam Edge
                   ` (2 more replies)
  0 siblings, 3 replies; 34+ messages in thread
From: Robert Collins @ 2002-04-28  4:47 UTC (permalink / raw)
  To: Sam Edge, cygwin



> -----Original Message-----
> From: Sam Edge [mailto:sam_edgeZZZ@hotmail.com] 
> Sent: Sunday, April 28, 2002 8:17 PM

> Every version of setup.exe I've used exhibits this annoying 
> behaviour but them I'm new here.
> 
> I agree with Daniele. I install different subsets of the 
> packages on several machines. I also like to keep a copy of 
> the most up-to-date versions of packages that I don't 
> currently use on any of them, in case I need them where I've 
> no (or poor) access to the 'Net. 

So use a mirroring tool! Setup.exe is -not- designed for this. If you
want a setup.ini parsing mirroring tool, take me up on my offer to help
someone leverage the setup.ini codebase to build a mirroring tool. 

Rob

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 34+ messages in thread
* setup 2.194.2.24: Bug (?) in downloading from internet
@ 2002-04-28  3:17 Daniele Mezzetti
  2002-04-28  4:31 ` Sam Edge
  0 siblings, 1 reply; 34+ messages in thread
From: Daniele Mezzetti @ 2002-04-28  3:17 UTC (permalink / raw)
  To: cygwin

(I hope this will show up in the correct thread.. excuse me if not)

refers to msg01259.html msg01481.html

After dutifully reading the mailing list discussion on the subject,
I would like to point out that this behavior - redownloading uninstalled
packages - was absent 
in previous versions of setup. In my humble opinion, the downloaded
packages and the installed packages should be treated independently by
setup for the simple reason that you may download a set of packages for
installing on multiple machines, and install a subset of it on the
downloading machine. In other words should be:

download from internet: compares repository with packages
install from internet:  compares repository with installation
install from local:     comapres packages with installation  

that is, previous behaviour.




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 34+ messages in thread
* RE: setup 2.194.2.24: Bug (?) in downloading from internet
@ 2002-04-26  8:34 Robert Collins
  0 siblings, 0 replies; 34+ messages in thread
From: Robert Collins @ 2002-04-26  8:34 UTC (permalink / raw)
  To: Alexei Lioubimov, cygwin, Larry Hall (RFK Partners, Inc)



> -----Original Message-----
> From: Alexei Lioubimov [mailto:e-complex@mtu-net.ru] 
> Sent: Saturday, April 27, 2002 12:32 AM
> To: Robert Collins; cygwin@cygwin.com; Larry Hall (RFK Partners, Inc)
> Subject: Re: setup 2.194.2.24: Bug (?) in downloading from internet
> 
> 
> Hello Robert,
> Excuse me, but my English is not so good, and i didn't 
> understand one sentence from your answer: "...which is 
> something I'm seriously considering nuking." What does the 
> word "nuking" mean?

Removing/destroying/eliminating. With a sense of anger/frustration.
 
> What is the re-download functionality you are speaking about?

When you select 'download from internet', if you select a package that
is already cached, it deletes the cached copy and downloads the file
again. As it doesn't keep corrupt files, I see no value in this - and it
is the reason you see setup downloading stuff again and again.

Rob

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 34+ messages in thread
* RE: setup 2.194.2.24: Bug (?) in downloading from internet
@ 2002-04-26  7:10 Robert Collins
  2002-04-26  7:57 ` Alexei Lioubimov
  0 siblings, 1 reply; 34+ messages in thread
From: Robert Collins @ 2002-04-26  7:10 UTC (permalink / raw)
  To: Alexei Lioubimov, cygwin, Larry Hall (RFK Partners, Inc)



> -----Original Message-----
> From: Alexei Lioubimov [mailto:e-complex@mtu-net.ru] 
> Sent: Friday, April 26, 2002 11:44 PM
> To: cygwin@cygwin.com; Larry Hall (RFK Partners, Inc)
> Subject: Re: setup 2.194.2.24: Bug (?) in downloading from internet
> 
> 
> Hello Larry,
> I know, that this problem has already been reported 
> (msg01259.html). And i've read your answer to use some 
> mirroring tool (wget) instead before i sent my message to the 
> forum. It seemes to me that you are wrong proposing such 
> solution and it is not the answer to the question.

The solution you propose is also less than satisfactory. It means that
setup won't be looking at what you need, but rather at what you have
'available'. The real cause of the problem is setup's re-download
functionality, which is something I'm seriously considering nuking.

Rob

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 34+ messages in thread
* setup 2.194.2.24: Bug (?) in downloading from internet
@ 2002-04-25  8:55 Alexei Lioubimov
  2002-04-25 11:00 ` Larry Hall (RFK Partners, Inc)
  0 siblings, 1 reply; 34+ messages in thread
From: Alexei Lioubimov @ 2002-04-25  8:55 UTC (permalink / raw)
  To: cygwin

Hello,
I have a problem using setup.exe. Here is the description

setup.exe: 2.194.2.24;
mode: Download from Inernet;
keyword: "skip" flag;

The problem: if i've downloaded some tarballs and didn't install them - then
during the following updates the SETUP program doesn't report me about that.
It simply marks those files as "skip" by default and allows me to change
this to the current version. But i may have already downloaded the stuff...
So i caught myself downloading the same tarballs twice or triple times. If
you take into account the slow speed of dial-up connection, that i have,
then you can imagine what i'm feeling.

The suggestion: may be it's possible force SETUP consider "current" be
"downloaded" but not "installed" stuff during "Download from Internet"
process?

Thank you,
Alexei Lioubimov


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2002-04-30  3:32 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-28  8:14 setup 2.194.2.24: Bug (?) in downloading from internet Robert Collins
2002-04-28  9:56 ` Kurt Roeckx
  -- strict thread matches above, loose matches on Subject: below --
2002-04-29  2:35 Robert Collins
2002-04-29  2:26 Robert Collins
2002-04-29  5:42 ` Sam Edge
2002-04-29  5:49   ` Robert Collins
2002-04-29  7:46     ` Sam Edge
2002-04-30  1:58       ` Gary R. Van Sickle
2002-04-29  8:27     ` Christopher Faylor
2002-04-28 22:34 Alec Mihailovs
2002-04-28 23:51 ` Charles Wilson
2002-04-28 10:15 Robert Collins
2002-04-28  4:47 Robert Collins
2002-04-28  8:08 ` Sam Edge
2002-04-28 15:04 ` Gary R. Van Sickle
2002-04-28 15:09   ` Sam Edge
2002-04-28 15:30     ` Charles Wilson
2002-04-28 16:05       ` Sam Edge
2002-04-28 16:05       ` Christopher Faylor
2002-04-28 16:09         ` Sam Edge
2002-04-28 19:08         ` Michael A Chase
2002-04-29  0:06           ` Christopher Faylor
2002-04-29  0:57             ` Cliff Hones
2002-04-29  4:58               ` Robert Collins
2002-04-29  4:07 ` Max Bowsher
2002-04-29  4:24   ` Robert Collins
2002-04-28  3:17 Daniele Mezzetti
2002-04-28  4:31 ` Sam Edge
2002-04-26  8:34 Robert Collins
2002-04-26  7:10 Robert Collins
2002-04-26  7:57 ` Alexei Lioubimov
2002-04-25  8:55 Alexei Lioubimov
2002-04-25 11:00 ` Larry Hall (RFK Partners, Inc)
2002-04-26  7:03   ` Alexei Lioubimov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).