Coder Social home page Coder Social logo

Comments (1)

XaF avatar XaF commented on August 29, 2024

@dynajoe suggested a package approach, which I believe could work for this.

As a refined idea, a package can be referred to as:

path:
  append:
    - package: [email protected]:XaF/omni  # defaults to `cmd` subdir ? or `omni` subdir ?
    - package: [email protected]:XaF/omni
      dir: cmd2
    - /Users/xaf/...
    - path: /Users/xaf/...

When using a package in the path, the repository will be cloned into an omni data directory (along asdf), and that path will be used as the omnipath. This will allow making sure that the local development versions of the users are not affecting omni's behavior.

On top of that, we will also want to:

  • support suggesting cloning repositories as a package when going through suggest_clone (do you want to clone xxx as a package ?)
  • detect when a omni up-ed repository is a package, and adapt the relative-path-to-absolute-path feature to keep the configuration into package setup (e.g. path: relpath would become path: { package: xxx, dir: relpath } instead of path: abspath

from omni.

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.