GithubHelp home page GithubHelp logo

Comments (3)

gmbecker avatar gmbecker commented on September 18, 2024

@benmarwick Apologies for not responding sooner. switchr and GRANBase are not focused on capturing package sources locally for installation later. In fact, the manifest design is specifically intended to not require that (though I admit it does require internet access, which other solutions such as packrat do not).

The model here is to publish a manifest, e.g. as a gist, and then you or others install from that manifest as necessary.

That said, what you want should be possible with makeRepo from the API_refactor branch in this repository (which I hope to merge as a major update to master sometime this week), via the code:

man = libManifest() # get our manifest of installed pkgs
param = RepoBuildParam(basedir = <dir>, install_test = FALSE, check_test = FALSE)
repo = GRANRepository(manifest = man, param = param)
makeRepo(repo)

That currently won't work due to a bug writing this up discovered, but I will track that down and fix that shortly. Once it works, that will create a fully local package repository containing the contents of the manifest.

Thanks for your interest, and I will keep you abreast of bug squashing, etc via comments here.

from gran.

benmarwick avatar benmarwick commented on September 18, 2024

Thanks very much for looking over my example and the further explanation, that's very helpful. I look forward to testing the makeRepo function when it gets to the master branch.

from gran.

gmbecker avatar gmbecker commented on September 18, 2024

@benmarwick Apologies for the delay. The branch (API_refactor) that I
referred to in my previous comments has just been merged into master. Feel
free try the solution/code I suggested before at your convenience and let
me know if anything doesn't work.

Thanks,
~G

On Thu, Feb 5, 2015 at 12:35 PM, Ben Marwick [email protected]
wrote:

Thanks very much for looking over my example and the further explanation,
that's very helpful. I look forward to testing the makeRepo function when
it gets to the master branch.


Reply to this email directly or view it on GitHub
#8 (comment).

Gabriel Becker, PhD
Computational Biologist
Bioinformatics and Computational Biology
Genentech, Inc.

from gran.

Related Issues (7)

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.