[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debci-worker: reduce dependencies?



On Mon, Jun 19, 2023 at 11:25:09AM +0200, Christian Kastner wrote:
> Hi,
> 
> debci-worker currently depends on debci, and that pulls in quite a lot
> of dependencies.
> 
> However, unless I'm mistaken, the worker stuff is actually very neat and
> compact: it's all just a few clean shell scripts (except for one Ruby
> script in the fake backend that could be converted to sh). Nothing seems
> to be using the Ruby lib, and I'm not sure if anything is using devscripts.
> 
> Would you be open to an MR at some point that
>   * splits out the common stuff, like the configuration handling of
>     lib/environment.sh, into a debci-common package, upon which the
>     other packages then would depend
>   * Moves the worker stuff (backends, some of the bin) to debci-worker
>   * Drops the debci dependency from debci-worker?
> 
> Or am I missing something?

To be honest, I would like to have less shell code, not more. Also,
debci-worker calls at least one Ruby program. While I would not mind
reducing the set of dependencies needed for debci-worker, I would not be
willing to move stuff that is already in Ruby to shell.

FWIW, I don't think devscripts is used anymore.

Attachment: signature.asc
Description: PGP signature


Reply to: