All Projects → jecisc → GitBridge

jecisc / GitBridge

Licence: MIT license
Access resources and information from the git repository containing your project.

Programming Languages

smalltalk
420 projects

Projects that are alternatives of or similar to GitBridge

PetitParser
Petit Parser is a framework for building parsers.
Stars: ✭ 39 (+178.57%)
Mutual labels:  pharo
critter
Chat bot relaying messages between IRC and Gitter
Stars: ✭ 16 (+14.29%)
Mutual labels:  bridge
ligh7hau5
A Matrix (https://matrix.org/docs/spec/) to Fediverse / ActivityPub client / bridge. Also, some media proxying.
Stars: ✭ 26 (+85.71%)
Mutual labels:  bridge
ansible-config-interfaces
No description or website provided.
Stars: ✭ 28 (+100%)
Mutual labels:  bridge
WormHole
WormHole allows to share classes between Flutter and Native Platform (android / ios)
Stars: ✭ 36 (+157.14%)
Mutual labels:  bridge
MatplotLibBridge
A bridge to provide the ability to Pharo user to use Python's Matplotlib.
Stars: ✭ 20 (+42.86%)
Mutual labels:  pharo
Websockify
Websockify is a WebSocket to TCP proxy/bridge. This allows a browser to connect to any application/server/service.
Stars: ✭ 2,942 (+20914.29%)
Mutual labels:  bridge
msgpack-smalltalk
MessagePack serialization library for various Smalltalk dialects / msgpack.org[Smalltalk]
Stars: ✭ 22 (+57.14%)
Mutual labels:  pharo
poa-bridge
POA <-> Ethereum bridge for self transfers of POA native token to POA20 (ERC20 representation). Not supported. Use TokenBridge instead
Stars: ✭ 75 (+435.71%)
Mutual labels:  bridge
app-xyo-nodejs
XYO Archivist/Diviner CLI
Stars: ✭ 41 (+192.86%)
Mutual labels:  bridge
rn-webview-rpc
Add RPC capabilities to a React Native WebView component
Stars: ✭ 25 (+78.57%)
Mutual labels:  bridge
onionfruit
OnionFruit™ Connect - Tor access client with country selection, bridge configuration, pluggable transports and experimental DNS support
Stars: ✭ 150 (+971.43%)
Mutual labels:  bridge
SmalltalkVimMode
Vim Mode for Playground, System Browser, Debugger in Pharo.
Stars: ✭ 39 (+178.57%)
Mutual labels:  pharo
OpenAPI
A pharo implementation of OpenAPI 3.0.1
Stars: ✭ 20 (+42.86%)
Mutual labels:  pharo
WebViewJavascriptBridge
This is a communication between Android applications and Web Javascript to establish a bridge between the call support each other
Stars: ✭ 16 (+14.29%)
Mutual labels:  bridge
FMWebViewJavascriptBridge
FMWebViewJavascriptBridge inspired by WebViewJavascripBridge and react native
Stars: ✭ 29 (+107.14%)
Mutual labels:  bridge
matrix-sms-bridge
Matrix bridge, that allows you to bridge matrix rooms to SMS with one telephone number only.
Stars: ✭ 62 (+342.86%)
Mutual labels:  bridge
Matrix-EmailBridge
A bridge written in Golang to receive and write emails in matrix
Stars: ✭ 101 (+621.43%)
Mutual labels:  bridge
bridge-ui
UI for TokenBridge, an interoperability solution between Ethereum networks for native and ERC tokens
Stars: ✭ 41 (+192.86%)
Mutual labels:  bridge
unity-bridge-ui-framework
🏝 a little framework base on unity and ugui,we use bridges to connect one panel to another panel
Stars: ✭ 90 (+542.86%)
Mutual labels:  bridge

GitBridge

GitBridge is a project which allow Pharo projects to communicate with the git repository storing them. Once the bridge is made, you can access resources in or information about the repository.

Installation

To install GitBridge in your Pharo image execute:

    Metacello new
    	githubUser: 'jecisc' project: 'GitBridge' commitish: 'v1.x.x' path: 'src';
    	baseline: 'GitBridge';
    	load

To add it to your baseline:

    spec
    	baseline: 'GitBridge'
    	with: [ spec repository: 'github://jecisc/GitBridge:v1.x.x/src' ]

Note that you can replace the #v1.x.x by another branch such as #development or a tag such as #v1.0.0, #v1.? or #v1.1.?.

Quick start

In order to create a GitBridge to your project, you first need to subclass GitBridge and to store your bridge in a package of your project.

GitBridge subclass: #MyProjectBridge
	slots: {  }
	classVariables: {  }
	package: 'MyProject'

This new bridge needs a class initialization like this one:

MyProjectBridge class>>initialize
	SessionManager default registerSystemClassNamed: self name

This will allow the bridge to reset some cache at the image startup.

Now that your bridge is created, if it finds an Iceberg repository, associated to its local clone, containing the package in which the bridge is defined, you will be able to use the bridge to access some resources.

For example you can get a file reference to the git folder like this:

MyProjectBridge root

You can open the git repository by executing:

MyProjectBridge openInNativeFileSystem

You can get the version of you project by executing:

MyProjectBridge versionOrBranchNameWithLastTag

For more informations see the following documentation.

Documentation

You can find the full documentation here : User documentation.

Version management

This project uses semantic versioning to define the releases. This means that each stable release of the project will be assigned a version number of the form vX.Y.Z.

  • X defines the major version number
  • Y defines the minor version number
  • Z defines the patch version number

When a release contains only bug fixes, the patch number increases. When the release contains new features that are backward compatible, the minor version increases. When the release contains breaking changes, the major version increases.

Thus, it should be safe to depend on a fixed major version and moving minor version of this project.

Smalltalk versions compatibility

Version Compatible Pharo versions
1.x.x Pharo 70, 80, 90, 10

Contact

If you have any questions or problems do not hesitate to open an issue or contact cyril (a) ferlicot.me

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].