• Stars
    star
    2
  • Language
    Crystal
  • License
    MIT License
  • Created about 2 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

remote git repository inspection

Git Client for inspecting remote git repositories

CI

The aim of this shard is to inspect any remote git repository

  • fetch repository details remotely (default branch, branches and tags)
  • obtain log history without downloading any files
  • fetch any branch, tag or commit without downloading history. Minimal data transfer

Installation

Add the dependency to your shard.yml:

  dependencies:
    git-repository:
      github: place-labs/git-repository

Usage

NOTE:: We shell out to git to perform these operations

repo = GitRepository.new("https://github.com/your/repo", "optional_user", "optional_pass")

repo.default_branch # => "main"
repo.branches       # => {"feature1" => "<head_hash>", "main" => "<head_hash>"}
repo.tags           # => {"v1.1.0" => "<commit_hash>", "v1.0.0" => "<commit_hash>"}
repo.commits("main", depth: 5) # => [Commit]

# Fetch the head of the selected branch
repo.fetch_branch("main", "./your_repo_folder")

# Fetch the repo at a specific commit or tag
repo.fetch_commit("v1.1.0", "./your_repo_folder")

More Repositories

1

docker-crystal

Docker wrapper for the Crystal CLI
Shell
13
star
2

responsible

HTTP response parser for crystal-lang
Crystal
7
star
3

crystal-docker

Docker Engine API wrapper for crystal-lang
Crystal
6
star
4

crystal-etcd

etcd client for crystal lang
Crystal
6
star
5

flux

InfluxDB v2.x crystal-lang client / Flux query language tools
Crystal
6
star
6

orthograph-err

Automated docs reviewer. Robotic grammar enthusiast.
JavaScript
5
star
7

jwks

Simple library that validates JWT against RS256 JWKS URI
Crystal
4
star
8

ish

Probabilistic data structures for good-ish computation.
Crystal
4
star
9

hound-dog

Simple crystal lang etcd service tracker
Crystal
4
star
10

clear

PlaceOS fork of Clear
Crystal
4
star
11

exec_from

crystal lang tool for executing processes from different directories
Crystal
3
star
12

clustering

Class that implements basic clustering via etcd
Crystal
3
star
13

play

Simple docker container with goodies for developing PlaceOS
Crystal
2
star
14

dumpster

Fast memory dump analysis for Ruby
Crystal
2
star
15

neuroplastic

Elasticsearch query helper for rethinkdb-orm
Crystal
2
star
16

doorkeeper-rethinkdb

a rethinkdb ORM for doorkeeper
Ruby
1
star
17

analytics

PlaceOS Analytics API
Crystal
1
star
18

curator

Event filter and proxy service for analytics ingest
Crystal
1
star
19

redis_service_manager

service discovery using redis
Crystal
1
star
20

google-staff-api

PlaceOS event management
Crystal
1
star
21

passkit

Crystal
1
star
22

hashcash

Crystal Lang implementation of Hashcash proof-of-work systems. Generates and verifies Hashcash strings.
Crystal
1
star
23

crystal-opc-ua

OPC UA protocol support for Crystal Lang
Crystal
1
star
24

load-testing

placeos load testing
Crystal
1
star
25

scripted-imports

examples of how to script the configuration of a PlaceOS instance
Crystal
1
star
26

resource

Abstraction over RethinkORM changefeeds
Crystal
1
star