GithubHelp home page GithubHelp logo

Comments (5)

jecisc avatar jecisc commented on June 30, 2024 1

I guess.

so it need to be a GitHub repo and not a standalone folder with sources, but you don’t have to care about the format it seems. We can add that to the doc. I’ll try to do it at some point today or tomorrow

from pharo-wiki.

Bajger avatar Bajger commented on June 30, 2024

@jecisc Hi Cyril! Can you comment add a reply here, if you have a knowledge of how gitlocal prefix works? I can update that section then and issue a PR. Thanks in advance!

from pharo-wiki.

jecisc avatar jecisc commented on June 30, 2024

Hi,
To be honest I never used this one. Here is the comment I found in the code:

Class: IceGitLocalRepositoryType
                                                                                                    
I resolve git local repositories (repositories already existing on your disk).
A gitlocal repositoy is composed of:

gitlocal://full/path/to/repository

gitlocal  		- The git local identifier
full/path/...	- This is a path to the place where the sources are.


For example, if you have a  repository in '/dev/voyage', which also has sources in subdirectory 'mc', your full path will be: '/dev/voyage/mc'. A part of my responsibilities is to find the git root  in the path provided.

Example:
------------
A script to install voyage using this would like more or less like this:

Metacello new
repository: 'gitlocal://Users/esteban/Dev/Repository/voyage/mc';
baseline: 'Voyage';
load: 'mongo tests'.

from pharo-wiki.

cdlm avatar cdlm commented on June 30, 2024

I've used it with gitlocal://./subdir/ ; it's useful in terminal-based usage scenario:

$ git clone $GIT_URL_OF_PROJECT
$ cd $NAME_OF_PROJECT
$ run pharo from there (create image, load code… as it should be)

from pharo-wiki.

Bajger avatar Bajger commented on June 30, 2024

So I would assume, semantically it does not look anyhow different to tonel or filetree prefix (it just loads local repo based on relative or absolute path), and probably it uses default Iceberg setting for file format?

from pharo-wiki.

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.