Make completion scripts part of the debian package
See original GitHub issueStep 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:
- Created 4 years ago
- Reactions:2
- Comments:16 (15 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@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.
@nik123 I guess that in this case, a “manual” check should be enough.