Giter Site home page Giter Site logo

Comments (3)

fsquillace avatar fsquillace commented on August 27, 2024

Thanks @breneser. This sounds a nice improvement.

One possibility to accomplish this would be to have a pearl.conf.d/ directory containing file for each new git repository. Addition and removal of git repositories would still be easy and there would be no interference with the user defined file pearl.conf which will still work seamlessly.

from pearl.

breneser avatar breneser commented on August 27, 2024

Firstly, sorry for the issue not being well formatted. I have only just seen contribute documentation.

What would this directory contain ? Repositories pulled that is not in a pearl package repo or in pearl.conf ?

from pearl.

fsquillace avatar fsquillace commented on August 27, 2024

So, the pearl.conf file is a user defined config file, so it should not be managed by the pearl command itself. What I was thinking is to have a directory pearl.conf.d containing a file for each repository the user want to add. For instance, let's take the example in the documentation.

The user can type:

pearl add joe-dotfiles https://github.com/joe/mydotfiles.git "The Joe's dotfiles"

The description will be optional.

The script will create a file ~/.config/pearl/pearl.conf.d/joe-dotfiles containing:

PEARL_PACKAGES["joe-dotfiles"]="https://github.com/joe/mydotfiles.git"
PEARL_PACKAGES_DESCR["joe-dotfiles"]="The Joe's dotfiles"

As you can see management of repositories will be quite easy for pearl command because it correspond to add/remove files from the directory.

from pearl.

Related Issues (20)

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.