Giter Club home page Giter Club logo

carefully's Introduction

carefully

Automated Debian package creation.

carefully captures the files created by a command like make install, and semi-automatically creates a Debian package to install the same files in a way that the package manager can keep track of. It's like checkinstall, except that it uses jan to capture filesystem changes, so it works even with statically-linked programs.

Dependencies

carefully depends on jan and dpkg, as well as standard Linux utilities.

Installation

Install from a Debian package, or run make install from a release tarball or development sources. carefully is self-hosting, so the carefully Debian package is itself generated with carefully.

Usage

$ carefully COMMAND...

where COMMAND is something like make install.

carefully will create a .carefully directory in the current directory where the results of running COMMAND will be stored, along with packaging metadata. Once COMMAND exits, carefully will open the Debian control file in your editor to allow you to configure the package name and dependencies, and will then generate a Debian package (.deb file) in the current directory. If you run carefully again, it will prompt before overwriting the existing files, but will always allow you to edit the control file and will always rebuild the Debian package.

In most cases you should not run carefully as root. It will elevate privileges using sudo when required (note that COMMAND will be run as root, so you should include a call to su if the installation needs to run as a non-root user).

Contributing

Contributions are welcome!

Everyone interacting with this project is expected to abide by the terms of the Contributor Covenant Code of Conduct. Violations should be reported to [email protected].

Copyright

Copyright © 2020 Ash Holland. Licensed under the EUPL (1.2 or later).

carefully's People

Contributors

sersorrel avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.