Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Aug 2016 20:31:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 203457] devel/tig doesn't work with devel/git-subversion
Message-ID:  <bug-203457-13-V9iITsKYqI@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-203457-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-203457-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203457

--- Comment #8 from lightside <lightside@gmx.com> ---
This issue is not unique for devel/tig port. There are many other ports with
devel/git runtime dependency (currently):
http://www.freshports.org/search.php?stype=3Ddepends_run&method=3Dmatch&que=
ry=3Ddevel%2Fgit&orderby=3Dcategory&orderbyupdown=3Dasc&search=3DSearch&for=
mat=3Dhtml
-8<--
devel/git-cinnabar devel/git-extras devel/git-modes devel/git-review
devel/gitg0
devel/github-backup-utils devel/gitlist devel/gitolite devel/gitolite2
devel/gittrac devel/hs-git-annex devel/magit devel/monodevelop devel/ocaml-=
opam
devel/p5-Git-Repository devel/p5-Git-Wrapper devel/p5-Minilla devel/phabric=
ator
devel/py-gitosis devel/py-itools devel/rubygem-git devel/rubygem-svn2git
devel/svn2git www/gitlab www/py-frappe-bench www/py-rhodecode
-->8-

Moreover, there are devel/git-gui and devel/git-lite (slave) ports, in addi=
tion
to devel/git-subversion.

If you "build" your ports, then possible to customize devel/git port direct=
ly,
instead of using devel/git-subversion, or rebuild devel/tig port after
devel/git-subversion installation. Therefore, this issue is more related to
users, which use (available) packages. But even in this case, there is a
possibility to install devel/tig port with using `pkg install -M devel/tig`=
 or
`pkg add -M tig-2.1.1.txz` commands, which "force the installation of the
package with missing dependencies" and then (possibly) use `pkg set -o
devel/git:devel/git-subversion tig` command to change dependency from devel=
/git
to devel/git-subversion for installed tig package (or omit the package's na=
me
to apply changes for all installed packages).

(In reply to comment #2)
> The RUN_DEPENDS field of tig should be updated.
Practically, it's possible to add other port's directories with the same
dependency:
RUN_DEPENDS+=3D   git:devel/git-gui git:devel/git-lite git:devel/git-subver=
sion
and build system will choose available one or install first of them (i.e.
devel/git). But created package will contain dependency information for
selected port(s), which may lead to (the same) conflicts, if trying to inst=
all
other devel/git* port afterwards. The attachment #173800 with devel/tig-mul=
ti
port demonstrates this. Similar method is to create single options to insta=
ll
concrete devel/git* port.

The other possible method is to remove devel/git runtime dependency. The us=
er
will need to (post-)install concrete devel/git* port in this case. The
attachment #173801 with devel/tig-plain port demonstrates this.

Also possible to create additional (conflicting) ports: devel/tig-gui
(attachment #173802), devel/tig-lite (attachment #173803) and
devel/tig-subversion (attachment #173804), which are similar to devel/git-*.

Which method to choose, depends from preferences. The devel/tig-plain and
devel/tig-multi are more simple ones, while the collection of devel/tig-gui,
devel/tig-lite and devel/tig-subversion ports may be more suitable for
packages. While they have the same contents, except changed dependency
information.

On the other hand, this is not an issue, if using ports or package system
correctly, in my opinion.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203457-13-V9iITsKYqI>