On 15/12/2022 16:34, Polarian wrote:
Hello,
I intend to package OneDev as I could not find any package for it yet on the AUR. It currently uses JSW (Java Service Wrapper) which is a proprietary tool to wrap it, I am currently contacting the developer in providing the plain Jar without wrapping with proprietary deployment tools, this will also shrink the size of the package because who the fuck wants a proprietary JVM wrapped within every java package?
My issue is, the codebase contains all the libs such as "logback.jar", which I do not want to include within the package because it is a very common dependency, and I feel it will bloat the package and will cause duplicate data within the system where other java packages will have logback with them.
So I was thinking instead of doing this, having separate AUR packages for every dependency, this can already be seen here:;
https://aur.archlinux.org/packages/slf4j I don't get why you'd install this as a separate package because it's
I wouldn't bother really. Java usually has too many dependencies to do somethign like that. I'd just follow the instructions they mention for system install here [1] As for the JSW (from tanuki) I'd argue to the devs to switch to an open source alternative like YAJSW [2] and skip paying the fee for JSW but it's usually hard to convience the devs if they already have clients. pretty useless in it's own. [1]: https://docs.onedev.io/installation-guide/run-on-bare-metal [2]: https://yajsw.sourceforge.io/