Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      Yesterday I completed code for having a snap package for Solr. You can find source code in https://github.com/rmescandon/solr-snap.
      Includes:

      • Solr 6.4.0 release as a daemon
      • Hook creating a core for nextant by default, when installed

      Obviously this is an initial idea and can be modified or complete with whatever you consider needed or better.

      You can clone source code and try it:

      • git clone git@github.com:rmescandon/solr-snap.git
      • snapcraft
      • snap install <package> --dangerous

        Issue Links

          Activity

          Hide
          risdenk Kevin Risden added a comment -

          I wasn't sure what a snap package was and found http://snapcraft.io/. There aren't any packages (deb, rpm, etc) within Solr yet. It you are looking for people to test/try it you probably want to post on the solr-user mailing list.

          Show
          risdenk Kevin Risden added a comment - I wasn't sure what a snap package was and found http://snapcraft.io/ . There aren't any packages (deb, rpm, etc) within Solr yet. It you are looking for people to test/try it you probably want to post on the solr-user mailing list.
          Hide
          elyograg Shawn Heisey added a comment -

          What does this do that's different/better than the service installer script that comes with Solr? Have we made some kind of mistake in that script that you're trying to correct?

          The config seems to be limiting the download to a single Apache mirror in Madrid. That's will probably be less than ideal for anyone outside of Europe, and if enough people use it, will result in that mirror server's Internet connection getting overloaded. Also, the tarball you've referenced is going to disappear from that mirror server as soon as 6.4.1 or 6.5.0 is released.

          Show
          elyograg Shawn Heisey added a comment - What does this do that's different/better than the service installer script that comes with Solr? Have we made some kind of mistake in that script that you're trying to correct? The config seems to be limiting the download to a single Apache mirror in Madrid. That's will probably be less than ideal for anyone outside of Europe, and if enough people use it, will result in that mirror server's Internet connection getting overloaded. Also, the tarball you've referenced is going to disappear from that mirror server as soon as 6.4.1 or 6.5.0 is released.
          Hide
          mhall119 Michael Hall added a comment -

          The .tgz is only downloaded at built-time, so it really only matters to the person building the .snap package. Once built, the .snap can be hosted anywhere, but ideally it would at least be in the Snap Store hosted by Canonical, because that's used by default. New snaps can be built that use 6.4.1 or 6.5.0 once those are released (or even before, and published to the 'edge' and 'beta' release channels in the store)

          Show
          mhall119 Michael Hall added a comment - The .tgz is only downloaded at built-time, so it really only matters to the person building the .snap package. Once built, the .snap can be hosted anywhere, but ideally it would at least be in the Snap Store hosted by Canonical, because that's used by default. New snaps can be built that use 6.4.1 or 6.5.0 once those are released (or even before, and published to the 'edge' and 'beta' release channels in the store)
          Hide
          cpoerschke Christine Poerschke added a comment -

          Linking SOLR-5176 as semi-related i.e. also about packaging.

          Show
          cpoerschke Christine Poerschke added a comment - Linking SOLR-5176 as semi-related i.e. also about packaging.
          Hide
          janhoy Jan Høydahl added a comment -

          Roberto Mier, I believe your best chance if you want to see a maintained snap package is simply to go ahead and submit it and maintain it yourself, then invite interested committers and others to join as admins.

          Show
          janhoy Jan Høydahl added a comment - Roberto Mier , I believe your best chance if you want to see a maintained snap package is simply to go ahead and submit it and maintain it yourself, then invite interested committers and others to join as admins.
          Hide
          janhoy Jan Høydahl added a comment -

          I cannot see that there is any code changes in Solr required in order to provide a Solr snap package. Is that correct, Roberto Mier?

          Therefore I'll close this here as Won't do. Please re-open if there is actually a need for some code/config changes in solr core to ease the creation of a Snap package.

          I will encourage those who want to help with the snap package development to head over to the GitHub linked in the issue description and join the discussion there.

          Show
          janhoy Jan Høydahl added a comment - I cannot see that there is any code changes in Solr required in order to provide a Solr snap package. Is that correct, Roberto Mier ? Therefore I'll close this here as Won't do. Please re-open if there is actually a need for some code/config changes in solr core to ease the creation of a Snap package. I will encourage those who want to help with the snap package development to head over to the GitHub linked in the issue description and join the discussion there.

            People

            • Assignee:
              Unassigned
              Reporter:
              rmescandon Roberto Mier
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development