Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Equivalent of Update Policy for P2

Here you are focusing on a particular limitation of the director application whose behavior could be argued to be correct :-) Currently the behavior you get is the same than if you had in the UI "added the repos", and then installed the IU listed on the command line.
As for avoiding reaching mirrors specified for a particular repo, there are two ways. Either you are in control of the repo in which case you don't add to the artifact repo the information on mirrors, or you are not and you can set the VM arg "eclipse.p2.mirrors" to false. Still if you have multiple artifact repos, they will all be consulted before p2 gives up on dl.


Inactive hide details for Nick Boldt---07/22/2008 08:10:48 AM---Or, to put it another way... how are policy files [1] handled iNick Boldt---07/22/2008 08:10:48 AM---Or, to put it another way... how are policy files [1] handled in p2? How can you force p2 to use onl


From:

Nick Boldt/Toronto/IBM@IBMCA

To:

P2 developer discussions <p2-dev@xxxxxxxxxxx>

Date:

07/22/2008 08:10 AM

Subject:

Re: [p2-dev] Equivalent of Update Policy for P2




Or, to put it another way... how are policy files [1] handled in p2? How can you force p2 to use only a specific mirror, rather than all the available mirrors?

[1]
http://wiki.eclipse.org/Using_Policy_Files

See also:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=235491
https://bugs.eclipse.org/bugs/show_bug.cgi?id=236762
http://wiki.eclipse.org/Equinox_p2_director_application

--
Nick Boldt :: Release Engineer, IBM Toronto Lab
Eclipse Modeling ::
http://www.eclipse.org/modeling
http://wiki.eclipse.org/index.php/User:Nickb

Inactive hide details for "Daffin, Miles \(IT\)" <Miles.Daffin@xxxxxxxxxxxxxxxxx>"Daffin, Miles \(IT\)" <Miles.Daffin@xxxxxxxxxxxxxxxxx>

                  "Daffin, Miles \(IT\)" <Miles.Daffin@xxxxxxxxxxxxxxxxx>
                  Sent by: p2-dev-bounces@xxxxxxxxxxx

                  07/22/08 07:26 AM

Please respond to
P2 developer discussions <p2-dev@xxxxxxxxxxx>
To

"P2 developer discussions" <p2-dev@xxxxxxxxxxx>
cc
Subject

[p2-dev] Equivalent of Update Policy for P2

Hi All,


In 3.3 I could ensure that users could only update features from our internal mirror sites. Can anyone explain how I would do this with P2? (This seems like a gaping hole.)


Thanks,


Miles


Miles Daffin

Morgan Stanley | Technology

20 Cabot Square | Canary Wharf | Floor 06
London, E14 4QW
Phone: +44 20 7677-5119
Fax: +44 20 7056-4572

Miles.Daffin@xxxxxxxxxxxxxxxxx



NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.
_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx

https://dev.eclipse.org/mailman/listinfo/p2-dev
[attachment "pic08842.gif" deleted by Pascal Rapicault/Ottawa/IBM]
_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev


GIF image

GIF image

GIF image

GIF image


Back to the top