[ 
https://issues.apache.org/jira/browse/SOLR-15967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17485348#comment-17485348
 ] 

Jan Høydahl commented on SOLR-15967:
------------------------------------

I had a quick look at solr-os-packager, and I must say the gradle based 
approach, using the ["ospackage" gradle 
plugin|https://github.com/nebula-plugins/gradle-ospackage-plugin] looks quite 
promising. See [gradle 
file|https://github.com/sdavids13/solr-os-packager/blob/master/build.gradle]. 
Now that Solr switches to a gradle build from v9 it would not be hard to 
integrate. Gradle could generate `.rpm` and `.deb` packages, but the hard part 
is all the testing that needs to be done on those packages and to publish them 
to some repo etc.

There would of course also be a middle-ground. Solr will now in 9.0 get a 
{{gradlew docker}} target to build a docker image yourself. We could add 
experimental support for self-generating rpm and dep packages from the git 
checkout, without publishing / releasing those packages. But it would still add 
some maintenance load on the project for when the packages suddenly don't work, 
when the gradle plugin is upgraded or goes unmaintained etc. So we'd still need 
active users of these packages to help maintaining them.

[~sdavids] perhaps you have some information to share on this? 

> Add rpm repo for red hat based distros
> --------------------------------------
>
>                 Key: SOLR-15967
>                 URL: https://issues.apache.org/jira/browse/SOLR-15967
>             Project: Solr
>          Issue Type: New Feature
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: packages
>    Affects Versions: 8.11.1
>         Environment: # uname -a
> Linux my.host 3.10.0-1160.53.1.el7.x86_64 #1 SMP Fri Jan 14 13:59:45 UTC 2022 
> x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: Martin Häcker
>            Priority: Major
>              Labels: centos, centos7, debian, fedora, ubuntu
>         Attachments: Skjermbilde 2022-02-01 kl. 15.17.02.png
>
>
> Hi there,
> it's surprisingly hard to install Solr in a way where I can guarantee to 
> automatically get updates, especially security updates in a reliable manner, 
> as well as get a documented way to start / run Solr on my distro of choice.
> What I am really looking for is an official rpm repository (and probably a 
> deb repo too) that I can add to my package manager and then install a package 
> that will give me all the updates I want, as well as starts the database with 
> a systemd file that is known good.
> I in particular am looking for a centos 7 repository.
> I think, that this would make installation of Solr so much easier.
> What do you say?



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to