public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* What does mean 'obsolete' category?
@ 2011-11-05 23:37 Oleksandr Gavenko
  2011-11-06 18:38 ` Buchbinder, Barry (NIH/NIAID) [E]
  0 siblings, 1 reply; 2+ messages in thread
From: Oleksandr Gavenko @ 2011-11-05 23:37 UTC (permalink / raw)
  To: cygwin

Search:

  http://cygwin.com/cgi-bin2/package-grep.cgi?grep=xorg-x11-xwin

take:

  xorg-x11-xwin/xorg-x11-xwin-7.4-1  Obsolete package

From setup.ini:

  @ xorg-x11-xwin
  sdesc: "Obsolete package"
  ldesc: "Obsolete package"
  category: _obsolete

That mean 'obsolete' for package?

I search for docs in:

  Cygwin Package Contributor's Guide
  Cygwin User's Guide
  http://sourceware.org/cygwin-apps/setup-head.ini.html

but does not found any relevant docs for 'obsolete' keyword.

Do this mean that package depricated and I need avoid its uses?

Or it is for a long time does not updated and can have known bugs?

I will be glad if docs updated with appropriate texts.

-- 
Best regards!


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* RE: What does mean 'obsolete' category?
  2011-11-05 23:37 What does mean 'obsolete' category? Oleksandr Gavenko
@ 2011-11-06 18:38 ` Buchbinder, Barry (NIH/NIAID) [E]
  0 siblings, 0 replies; 2+ messages in thread
From: Buchbinder, Barry (NIH/NIAID) [E] @ 2011-11-06 18:38 UTC (permalink / raw)
  To: cygwin, 'Oleksandr Gavenko'

Oleksandr Gavenko sent the following at Saturday, November 05, 2011 7:37 PM
>Search:
>  http://cygwin.com/cgi-bin2/package-grep.cgi?grep=xorg-x11-xwin
>
>take:
>  xorg-x11-xwin/xorg-x11-xwin-7.4-1  Obsolete package
>
From setup.ini:
>  @ xorg-x11-xwin
>  sdesc: "Obsolete package"
>  ldesc: "Obsolete package"
>  category: _obsolete
>
>That mean 'obsolete' for package?
>
>I search for docs in:
>  Cygwin Package Contributor's Guide
>  Cygwin User's Guide
>  http://sourceware.org/cygwin-apps/setup-head.ini.html
>
>but does not found any relevant docs for 'obsolete' keyword.
>
>Do this mean that package deprecated and I need avoid its uses?
>
>Or it is for a long time does not updated and can have known bugs?
>
>I will be glad if docs updated with appropriate texts.

They are how obsolete packages are removed and replaced by their successors.

Lets look at the setup.ini entry for ash.

@ ash
sdesc: "Replaced by dash"
ldesc: "OBSOLETE PKG: replaced by dash"
category: _obsolete
requires: dash cygwin
version: 20040127-5
install: release/ash/ash-20040127-5.tar.bz2 46 c616cffee0f344c37fd4e045a7a87054
source: release/ash/ash-20040127-5-src.tar.bz2 46 c616cffee0f344c37fd4e045a7a87054
[prev]
version: 20040127-4
install: release/ash/ash-20040127-4.tar.bz2 47178 26b04e64b710f4e9592258446920a992
source: release/ash/ash-20040127-4-src.tar.bz2 140516 7fa68e8ed663ac77b484079aab026ed8

Note that both the install and source tarballs are effectively empty - only 46 bytes.

When setup updates, it first removes the previous version, here ash-20040127-4.tar.bz2,
before trying to install the non-existent contents of ash-20040127-5.tar.bz2.  The
requires line then tells setup to install dash, the replacement of ash.

I could be wrong about this, but it seems to me that one other thing that "_obsolete"
does is to move the directory of the package in setup.exe's local package cache to be
a subdirectory of .../release/_obsolete/.

So the category _obsolete means "do not install this" and "you cannot use this
because it is not here", which is a bit stronger than "deprecated" and "avoid".

I hope that helps.  (I also hope that that was correct.  :-) )

- Barry
	Disclaimer:  Statements made herein are not made on behalf of NIAID.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

end of thread, other threads:[~2011-11-06 18:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-05 23:37 What does mean 'obsolete' category? Oleksandr Gavenko
2011-11-06 18:38 ` Buchbinder, Barry (NIH/NIAID) [E]

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).