After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 669754 - should install to ~/bin/ by default
should install to ~/bin/ by default
Status: RESOLVED OBSOLETE
Product: jhbuild
Classification: Infrastructure
Component: general
unspecified
Other All
: Normal enhancement
: ---
Assigned To: Jhbuild maintainers
Jhbuild QA
Depends on:
Blocks: 673214
 
 
Reported: 2012-02-09 15:25 UTC by Allison Karlitskaya (desrt)
Modified: 2021-05-17 15:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
build: install jhbuild script in ~/bin (1.63 KB, patch)
2012-03-30 04:15 UTC, Allison Karlitskaya (desrt)
needs-work Details | Review

Description Allison Karlitskaya (desrt) 2012-02-09 15:25:00 UTC
Debian machines (and maybe soon Fedora ones[1]) add ~/bin to the path at login if it exists.  I always end up linking ~/.local/bin/jhbuild to this directory so that I can just type 'jhbuild' to run it.

The jhbuild Makefile could perhaps convenience the user by doing this automatically in its default configuration.
Comment 1 Allison Karlitskaya (desrt) 2012-02-09 15:25:24 UTC
[1] https://bugzilla.redhat.com/show_bug.cgi?id=789011
Comment 2 Allison Karlitskaya (desrt) 2012-03-30 04:15:05 UTC
Created attachment 210914 [details] [review]
build: install jhbuild script in ~/bin
Comment 3 Craig Keogh 2012-04-11 01:07:50 UTC
Review of attachment 210914 [details] [review]:

Thank you for the patch.

I do prefer ~/.local/bin for two reasons:
1. It doesn't clutter my home directory, which has directory names like Documents, Pictures and Downloads.
2. XDG Base Directory Specification [1]. Whilst ~/.local/bin isn't mentioned in the spec, .local/share is mentioned.

I would be happy if JHBuild install softlinks in ~/bin, if and only if ~/bin exists.

[1] http://standards.freedesktop.org/basedir-spec/latest/index.html
Comment 4 Craig Keogh 2012-04-18 00:47:35 UTC
Review of attachment 210914 [details] [review]:

Also some clean up required in config.py around line 170 [1]. JHBuild will give a warning about old JHBuild version in ~/bin

[1] http://git.gnome.org/browse/jhbuild/tree/jhbuild/config.py#n170
Comment 5 GNOME Infrastructure Team 2021-05-17 15:52:33 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/jhbuild/-/issues/125.