Giter Site home page Giter Site logo

notes about why about markit HOT 1 CLOSED

bradleya avatar bradleya commented on June 5, 2024
notes about why

from markit.

Comments (1)

BradleyA avatar BradleyA commented on June 5, 2024

Bradley Allen will speak on How to embed version information into Git files while pushing to GitHub or GitLab.

Objective: I wanted to know what version a piece of code was on any system running it. The system may or may not be connected to any network. The system may or may not have Git installed. The system may or may not have access to GitHub repository or GitLab project. I wanted the same solution for several types of code. I wanted any person without knowledge of Git or GitHub or GitLab to be able to answer one question over the phone; What version are you running?

I will demonstrative a set of tools that allow you to meet this objective. It is what I call a wrapper around a few Git commands. If you have a GitHub repository and git installed on your laptop you can clone these tools and follow along. git clone https://github.com/BradleyA/markit

The first tool will git commit and git push to an existing GitHub or GitLab repository. In this process it will use the tag information with other metadata and enbed it into file(s). It supports these file extensions: UNIX shell(sh) perl(pl|PL) python(py) ruby(rb) PowerShell(ps1) PHP(php|php3|php4|ph3|ph4) R(R) YAML(yml|yaml) makefile(mk|MK) text (txt) c(c) C header(h|H|hpp) C++ header(hxx|Hxx|HXX) C++(cc|cpp|c++|cxx) Go(go) Java(java|class|jar) JavaScript(js) Kotlin(kt|kts) Pascal (p|pp|paa) Rust(rs|rlib) Scala(scala|sc) XML(xml) HTML (html|htm)

The second tool checks the current installed version to the latest version on GitHub repository or GitLab project.

The third tool searches systems for local Git repositories

from markit.

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.