Giter Site home page Giter Site logo

cacheupdater's Introduction

GitHubUpdater

Sync GitHub repositories into InterSystems Cache.

Installation

  1. Download the latest Release .xml file and import it into Caché (any namespace, further referred to as {Namespace}).

Usage

Call

w ##class(CacheUpdater.Task).Update("Owner", "Repository", "Branch", "Username", "Password", "Namespace")

to download and compile classes from the Github repo.

Where
Owner - The name of the repository owner.
Repository - The name of the repository.
Branch - The name of the commit/branch/tag. If skipped the repository’s default branch (usually master) would be used.
Username - GitHub user, who has access to repository. Optional for public repositories.
Password - GitHub password, corresponding to Username. Optional for public repositories.
Note, that with Username, you can make up to 5,000 requests per hour. For unauthenticated requests, the rate limit allows to make up to 60 requests per hour. Unauthenticated requests are associated with an IP address.
Namespace - Namespace, where to download and compile repository.
For example in the repository: https://github.com/intersystems-ru/Cache-MDX2JSON
Owner - intersystems-ru, Repository - Cache-MDX2JSON.

OR

create task for syncing GitHub repository → Cache instance do the following:

  1. Go to SMP → System Operation → Task Manager → New Task
  2. Set Name as desired
  3. Set Namespace to run task in to {Namespace}
  4. Set Task type to GitHub Update
  5. Set GitHubURL to a valid GitHub repository, eg: https://github.com/intersystems-ru/Cache-MDX2JSON
  6. Set Namespace to a Namespace you want to download GitHub repository to
  7. Optionally provide Username, Password (for private repos or very frequent updates).
  8. Set up the Branch you need. Possible values are names of commit/branch/tag
  9. Set other parameters as desired and finish creation of the task

After task runs at least once you will get GitHubURL repository contents in Namespace

Continuous Integration

If you want more functionality check out CacheGitHubCI project.

cacheupdater's People

Contributors

eduard93 avatar evshvarov avatar

Watchers

James Cloos avatar Gevorg Arutiunian 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.