Opened 10 years ago
Last modified 6 weeks ago
#43996 new enhancement
port select should record its symlinks in the registry
Reported by: | mf2k (Frank Schima) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | |
Keywords: | Cc: | neverpanic (Clemens Lang), cooljeanius (Eric Gallager), paxperscientiam (Chris), mojca (Mojca Miklavec), cjones051073 (Chris Jones), fhgwright (Fred Wright) | |
Port: |
Description (last modified by mf2k (Frank Schima))
Symbolic links created by port should be recorded in the registry. For example, the python_select port creates symlinks to a specific version of python and its helper programs.
$ ls -l /opt/local/bin/python lrwxr-xr-x 1 root admin 24 Jan 23 15:05 /opt/local/bin/python -> /opt/local/bin/python2.7 $ port provides /opt/local/bin/python /opt/local/bin/python is not provided by a MacPorts port. $ port contents python_select Port python_select contains: /opt/local/etc/select/python/base /opt/local/etc/select/python/none /opt/local/etc/select/python/python25-apple /opt/local/etc/select/python/python26-apple /opt/local/etc/select/python/python27-apple
Change History (10)
comment:1 Changed 10 years ago by neverpanic (Clemens Lang)
Cc: | cal@… added |
---|
comment:2 Changed 10 years ago by cooljeanius (Eric Gallager)
This has come up previously in comment:ticket:37853:5, but it was kind of a tangent from the base issue there...
comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | symbolic links should be recorded in the registry → port select should record its symlinks in the registry |
---|
comment:5 Changed 10 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:6 Changed 8 years ago by paxperscientiam (Chris)
Cc: | paxperscientiam added |
---|
comment:7 Changed 7 years ago by raimue (Rainer Müller)
This could be solved by registering the symlinks created by port select
to the corresponding *_select
port in the registry (the port that provides the base
file). The symlinks would then be removed when the port is deactivated. However, as the symlinks are not part of the port archive, they would not be restored when the port is activated again. That would require re-running port select
.
comment:8 Changed 7 years ago by mojca (Mojca Miklavec)
Cc: | mojca added |
---|
comment:9 Changed 7 years ago by cjones051073 (Chris Jones)
Cc: | cjones051073 added |
---|
comment:10 Changed 6 weeks ago by fhgwright (Fred Wright)
Cc: | fhgwright added |
---|
Note: See
TracTickets for help on using
tickets.
Cc Me!