Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 365505

Summary: repoman: check for PROVIDE
Product: Portage Development Reporter: Ulrich Müller <ulm>
Component: RepomanAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://archives.gentoo.org/gentoo-dev/msg_03092b0e4ecde6a670e073d609a068a5.xml
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 358927    
Attachments: proposed patch for bin/repoman

Description Ulrich Müller gentoo-dev 2011-05-01 07:09:22 UTC
Created attachment 271717 [details, diff]
proposed patch for bin/repoman

All old-style virtuals are gone from the tree, see URL. Attached patch adds a repoman check for the PROVIDE variable.

Maybe the checks for PROVIDE.syntax, virtual.versioned, virtual.exists, and virtual.unavailable could be removed then?
Comment 1 Zac Medico gentoo-dev 2011-05-01 16:34:20 UTC
(In reply to comment #0)
> Created attachment 271717 [details, diff]
> proposed patch for bin/repoman
> 
> All old-style virtuals are gone from the tree, see URL. Attached patch adds a
> repoman check for the PROVIDE variable.

Applied:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=4e02baaa767e13c3b99ddeca1e9a8a05abd30783

> Maybe the checks for PROVIDE.syntax, virtual.versioned, virtual.exists, and
> virtual.unavailable could be removed then?

Ok, everything is removed except PROVIDE.syntax:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=df15d8c67d6c9d821a5fada0063c04da9bb2bed6

We need to keep PROVIDE.syntax until we decide to completely drop backward compatibility.
Comment 2 Ulrich Müller gentoo-dev 2011-05-01 19:19:08 UTC
(In reply to comment #1)
> We need to keep PROVIDE.syntax until we decide to completely drop backward
> compatibility.

Yes, that makes sense.

By the way, GLEP 37 (written 6 years ago) says: "Dropping of support of current style virtuals is planned for the following major version of portage (2.2.0)." ;-)
Comment 3 Zac Medico gentoo-dev 2011-05-05 19:54:35 UTC
This is fixed in 2.1.9.47 and 2.2.0_alpha31.