Comments (1)
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)
- test git push using markit to github, gitlab, and bitbucket HOT 1
- markit - add file types for terraform
- check-markit - change output to include date vers version
- markit - remove quotes from [ERROR] about requiring a git pull first
- markit test with branching HOT 2
- markit investigate about adding 'git rev-parse --short HEAD' to the end of the first line HOT 3
- markit - investagate adding a change log file with each commit HOT 2
- look at this during next review: https://github.com/commitizen/cz-cli HOT 1
- check-markit - upgrade Production Standards 3.550 HOT 1
- markit - added BradleyA/git-TEST-commit-automation test cases HOT 1
- find-code.sh - Production standard 5.3.550 Copyright Production standard 0.3.550 --help Production standard 4.3.550 Documentation Language Production standard 1.3.550 DEBUG variable
- Feature Request - markit - automate adding file name(s) to beginning of message
- Comment - markit - upgrade Production standards
- Feature Request - CHANGELOG.md - create repository CHANGELOG.md
- Feature Request - SECURITY.md - create repository SECURITY.md HOT 1
- Feature Request - check-markit - upgrade Production standards
- Incident Report - RE - Add time zone, repository URL, and Git branch to display_help HOT 1
- Feature Request --> markit - look at adding default TEST cases and update README.md HOT 1
- Feature Request --> check-markit- reduce business risk by defining unique temporary directory names HOT 1
- Feature Request --> check-markit - test GitHub or Bitbucket or GitLab access
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from markit.