@bionade24 I'm not interested in arguing about maintenance decisions. Your veiled accusations are unwelcome, and you do not get to decide what is "only a minor inconvenience" for others. Anyone can fork or patch as they see fit. There are distros that routinely build from their own forks or copies, and they are often used as a backup source when originals are taken offline. The petermost fork is itself a fork. Anyone who doesn't like my changes is free build without them.
Search Criteria
Package Details: sourcetrail 2025.4.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/sourcetrail.git (read-only, click to copy) |
---|---|
Package Base: | sourcetrail |
Description: | Interactive source explorer for C/C++ and Java |
Upstream URL: | https://github.com/xiota/sourcetrail |
Licenses: | GPL-3.0-only |
Submitter: | jetm |
Maintainer: | xiota |
Last Packager: | xiota |
Votes: | 24 |
Popularity: | 0.60 |
First Submitted: | 2017-04-12 15:18 (UTC) |
Last Updated: | 2025-04-01 20:41 (UTC) |
Dependencies (22)
- clang (llvm-gitAUR, clang-minimal-gitAUR, clang17-binAUR)
- libboost_chrono.so (boost183-libsAUR, boost1.86-libsAUR, boost-libs)
- libboost_filesystem.so (boost183-libsAUR, boost1.86-libsAUR, boost-libs)
- libboost_program_options.so (boost183-libsAUR, boost1.86-libsAUR, boost-libs)
- libboost_thread.so (boost183-libsAUR, boost1.86-libsAUR, boost-libs)
- llvm-libs (llvm-libs-gitAUR)
- qt6-5compat
- qt6-base (qt6-base-gitAUR, qt6-base-headlessAUR)
- qt6-svg
- sqlite (sqlite-fossilAUR)
- tinyxml (tinyxml-gitAUR)
- boost (boost-gitAUR) (make)
- cmake (cmake-gitAUR, cmake3AUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- imagemagick (imagemagick-gitAUR, imagemagick-full-gitAUR, imagemagick-fullAUR) (make)
- java-environment (jdk12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jdk11-jbr-xdgAUR, jdk16-openjdkAUR, jdk14-openjdkAUR, jdk18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jdk-openj9AUR, jdk11-graalvm-ee-binAUR, jdk12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk13-openjdkAUR, jdk15-openjdkAUR, jdk21-graalvm-binAUR, jdk17-jetbrainsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jdk21-jetbrains-gitAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jdk19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jabba-binAUR, jdk21-jetbrainsAUR, jdk17-zulu-prime-binAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk11-openj9-binAUR, jdk-openjdk-wakefieldAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-android-studioAUR, jdk-openj9-binAUR, zulu-11-binAUR, jdk8-graalvm-ee-binAUR, jdk8-dragonwell-extendedAUR, jdk21-jetbrains-binAUR, jdk11AUR, jdk21-temurinAUR, jdk17-temurinAUR, jdk11-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk21-graalvm-ee-binAUR, jdk8-openj9-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk8-temurinAUR, zulu-21-binAUR, jdk8AUR, jdk21-openj9-binAUR, jdk17-openj9-binAUR, zulu-17-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jdk23-graalvm-ee-binAUR, jdk-ltsAUR, liberica-jdk-11-full-binAUR, liberica-jdk-17-full-binAUR, zulu-17-fx-binAUR, openjdk-zulu8-ca-fx-binAUR, openjdk-zulu11-ca-fx-binAUR, openjdk-zulu17-ca-fx-binAUR, openjdk-zulu21-ca-fx-binAUR, openjdk-liberica8-full-binAUR, openjdk-liberica11-full-binAUR, openjdk-liberica17-full-binAUR, openjdk-liberica21-full-binAUR, java-openjdk-binAUR, openjdk-zulu-ca-fx-binAUR, openjdk-liberica-full-binAUR, jdkAUR, jdk-temurinAUR, liberica-jdk-full-binAUR, zulu-24-binAUR, jre-jetbrainsAUR, java-openjdk-ea-binAUR, jdk24-graalvm-ee-binAUR, jdk8-perfAUR, zing-8-binAUR, zing-21-binAUR, zing-23-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jdk8-openjdk) (make)
- lld (llvm-gitAUR) (make)
- llvm (llvm-gitAUR, llvm-minimal-gitAUR) (make)
- maven (mvnvmAUR) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- Show 2 more dependencies...
Required by (0)
Sources (1)
xiota commented on 2025-04-02 22:51 (UTC)
bionade24 commented on 2025-04-02 10:58 (UTC) (edited on 2025-04-02 10:58 (UTC) by bionade24)
@xiota: Thanks for the response & the quick update. I understand your reasoning about having the vendored repo, but there's a reason why distros don't do this and additionally prefer downloading patches from upstream instead of providing those themselves: It makes the pkg very hard to check for malice, especially if not all commits in the vendored repo are gpg signed. I may trust you to have no malicious intends, but I don't want to trust you not getting hacked. And no, using patches isn't that cumbersome that you can't do it, it's only a minor inconvenience.
As 2 side notes:
- cp --reflink=auto is the default nowadays, no need to be explicit (maybe Arch's coreutils are outdated, if so, forget it)
- You don't have to increase the pkgrel to push changes to the AUR git. No need for a bump when removing a dep and changing nothing else.
xiota commented on 2025-03-31 20:09 (UTC) (edited on 2025-03-31 20:18 (UTC) by xiota)
@bionade24 Use of archlinux-java-run is not a "bug". I haven't decided what to do yet. Even if I do decide to remove it, it's not worth a bump to force everyone to rebuild.
As noted in the pinned comment and secondary repo readme, after 2023.11
, sourcetrail required significant patching to build on Arch Linux. The petermost fork also had other issues that aren't worth describing in detail. Consequently, as noted in the readme, version tags that this package uses may not match upstream. All of this was easier to manage with a secondary repo than an ad hoc collection of patches. (As noted in the readme, extra commits/patches are in branches.)
2025.3.3
was the first version that did not require patching (outside of PKGBUILD) to build, but did introduce a minor logic error while trying to further "fix" a bug that had already been fixed (and had been patched for this package long before that). So without the secondary repo, this package would have been out of service for over a year, and some patches may need to be reintroduced.
I am considering switching this package back to the petermost fork, but will not do so until I am satisfied that it is in reasonable condition to avoid switching back and forth.
bionade24 commented on 2025-03-31 16:22 (UTC) (edited on 2025-03-31 16:29 (UTC) by bionade24)
@xiota: May you please at least respond? An unnecessary dependency is a bug and I don't want to abuse the out of date button to get attention.
On another note, why do you vendor the real upstream git repo instead of using it directly? As far as I've seen, there are no changes made by you in the "forked" repo source, as long as you don't have purposefully changed your git username in commits to it (which seems unlikely after a quick review).
bionade24 commented on 2025-03-07 18:19 (UTC)
Why the additional makedependency on archlinux-java-run
just for specifiying the java version to run? Just prefix the command with `JAVA_HOME=/usr/lib/jvm/java-<nr>-openjdk PATH="/usr/lib/jvm/java-<nr>-openjdk/bin:$PATH <your_cmd>". It isn't really necessary.
xiota commented on 2025-03-06 23:49 (UTC) (edited on 2025-03-06 23:51 (UTC) by xiota)
2025.3.3 builds with minimal patching. Will monitor and consider dropping secondary repo if need for significant patching does not return.
Also, added sodeps to prevent breaks from boost upgrades. Before rebuilding, force upgrades with pacman -Syudd
.
xiota commented on 2025-01-02 14:47 (UTC)
@catHeadCoffee The code in that file at those lines is several years old. If this is an Arch Linux specific issue, please open an issue at the repo this package builds from to explain the symptoms. Otherwise, please confirm whether the petermost fork is affected and report there.
catHeadCoffee commented on 2025-01-02 13:09 (UTC) (edited on 2025-01-02 13:10 (UTC) by catHeadCoffee)
sourcetrail/src/sourcetrail/src/lib/data/search/SearchIndex.cpp
454 // first letter
455 if (index == 0)
456 {
457 firstLetterScore += firstLetterBonus;
! 458 } else if (index >= text.size() || index >= text.size() - 1) {
+ 459 continue;
+ 460 }
The character here is out of bounds. need fix.
jacek2v commented on 2024-07-07 06:14 (UTC) (edited on 2024-07-07 06:14 (UTC) by jacek2v)
@xiota super thanks :)
So, sorry for the unnecessary confusion
Pinned Comments
xiota commented on 2024-06-20 03:07 (UTC) (edited on 2025-02-02 07:22 (UTC) by xiota)
After
2023.11
, patching is required to build on Arch. This package uses a secondary repo to make managing changes easier. Further details in the readme.Please observe the following when flagging or commenting:
Versions associated with major requirement changes.