question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make completion scripts part of the debian package

See original GitHub issue

Step 1 I installed dvc on my Ubuntu 16.04 machine with the following commands:

sudo wget https://dvc.org/deb/dvc.list -O /etc/apt/sources.list.d/dvc.list
sudo apt-get update
sudo apt-get install dvc

Step 2 To enable bash completion I downloaded completion script to /etc/bash_completion.d directory as described in https://dvc.org/doc/user-guide/autocomplete

It would be nice if completion script would be automatically installed with Debian package so step 2 wouldn’t be required.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:16 (15 by maintainers)

github_iconTop GitHub Comments

2reactions
efiopcommented, Jun 24, 2019

@shcheklein @Naba7 We can definitely start by including the ones we have already into our packages. After #2069 is solved, the new release will simply include the updated scripts automatically.

1reaction
paredcommented, Oct 2, 2019

@nik123 I guess that in this case, a “manual” check should be enough.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to load bash completion file in debian postinst script
According to the Debian New Maintainers Guide, you have to. add the bash-completion package in Build-Depends; add dh $@ --with ...
Read more >
Chapter 4. Required files under the debian directory
For source packages with binary packages all of which are Architecture: all , the Build-Depends-Indep field may list all the required packages unless...
Read more >
Chapter 3. Modifying the source - Debian
The packaging script will set $(DESTDIR) to the temporary directory. For a source package generating a single binary package, the temporary directory used...
Read more >
6. Package maintainer scripts and installation procedure
It is possible to supply scripts as part of a package which the package management ... These scripts are the control information files...
Read more >
Chapter 5. Basics - Debian
The Debian packaging workflow to create a Debian binary package involves generating several specifically named files (see Section 5.4, “Package name and ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found