[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#28583] [PATCH 7/7] gnu: Add es-dump-restore.
From: |
Christopher Baines |
Subject: |
[bug#28583] [PATCH 7/7] gnu: Add es-dump-restore. |
Date: |
Sat, 30 Sep 2017 09:25:23 +0100 |
On Thu, 28 Sep 2017 18:38:19 +1000
Ben Woodcroft <address@hidden> wrote:
> On 25/09/17 03:17, Christopher Baines wrote:
> > * gnu/packages/databases.scm (es-dump-restore): New variable.
> [..]
> > + (arguments
> > + '(#:tests? #f
> Including a reason here would be good.
Done, turns out the reason is that there is no testsuite.
> > + #:phases
> > + (modify-phases %standard-phases
> > + (add-after 'install 'wrap-bin-es_dump_restore
> > + (lambda* (#:key outputs #:allow-other-keys)
> > + (wrap-program (string-append (assoc-ref outputs "out")
> > + "/bin/es_dump_restore")
> > + `("GEM_PATH" ":" prefix (,(string-append
> > + (getenv "GEM_PATH")
> > + ":"
> > + (getenv "GEM_HOME")))))
> > + #t)))))
> Again, it would be preferable to have this done as part of the build
> system, but OK.
>
> > + (propagated-inputs
> > + `(("ruby-httpclient" ,ruby-httpclient)
> > + ("ruby-multi-json" ,ruby-multi-json)
> > + ("ruby-progress_bar" ,ruby-progress_bar)
> > + ("ruby-rubyzip" ,ruby-rubyzip)
> > + ("ruby-thor" ,ruby-thor)))
> > + (synopsis
> > + "Utility for dumping and restoring ElasticSearch indexes")
> This can be moved onto the previous line.
>
> > + (description
> > + "This package provides a utility for dumping the contents of
> > an +ElasticSearch index to a compressed file and restoring the
> > dumpfile back to an +ElasticSearch server")
> > + (home-page
> > + "https://github.com/patientslikeme/es_dump_restore")
> As can this. Otherwise LGTM - thanks for this series.
These two formatting issues should be fixed now. Thanks for the review
and patches Ben. I've sent an updated set of patches.
pgpZORXqWc4Xf.pgp
Description: OpenPGP digital signature
[bug#28583] [PATCH 7/7] gnu: Add es-dump-restore., Christopher Baines, 2017/09/24
[bug#28583] [PATCH 1/7] gnu: Add ruby-httpclient., Ben Woodcroft, 2017/09/27
[bug#28583] [PATCH 1/8] gnu: Add ruby-httpclient., Christopher Baines, 2017/09/30
- [bug#28583] [PATCH 6/8] gnu: Add ruby-progress_bar., Christopher Baines, 2017/09/30
- [bug#28583] [PATCH 3/8] gnu: Add ruby-options., Christopher Baines, 2017/09/30
- [bug#28583] [PATCH 8/8] gnu: Add ruby-es-dump-restore., Christopher Baines, 2017/09/30
- [bug#28583] [PATCH 4/8] gnu: Add ruby-code-statistics., Christopher Baines, 2017/09/30
- [bug#28583] [PATCH 2/8] gnu: Add ruby-multi-json., Christopher Baines, 2017/09/30