Coder Social home page Coder Social logo

deuill / grawkit Goto Github PK

View Code? Open in Web Editor NEW
170.0 170.0 18.0 209 KB

The Awksome Git Graph Generator

Home Page: https://grawkit.deuill.org

License: MIT License

Makefile 8.08% Awk 61.39% Go 25.67% CSS 0.87% JavaScript 3.07% Dockerfile 0.92%
awk git graph svg

grawkit's People

Contributors

deuill avatar upcu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

grawkit's Issues

branch renderer are trunck

Hello there,

I try grawkit tool and get a display issue. the text are truncated at the end ! if I use small text the issue is the the same.
grawkit display issue

Did you have an idea ?

Generate from `git log`

These graphs are so beautiful, but I can't figure out how to generate one from the output of git log. Do you have any ideas or directions you could point me in?

Thanks!

Missing instructions

Looks great but it's really unclear to me how to use this tool. I tried adding a .md file and running the make doc command, but it doesn't seem to do anything. make help also isn't helping.

If you could give some basic instructions I'm willing to write more extensively and do a pull request to improve the readme :)

Forked merge commits seem drawn incorrectly

Hello, and thank you for the brilliant SVG generator as well as the Orthogonal Git Workflow article, which is very well written and contains a wealth of good ideas.

I'd like to ask specifically about Figure 3.1 in the article, which seems to not correspond well with the text in the article. However, the article also appears incomplete with respect to the "bugfix after feature freeze" section:

Figure 3.1

The figure shows the bugfix/W-43_fix-crash branch forked from the master branch at the v.2.11.0-rc1 tag; the bugfix branch is then merged into a v2.10 branch. The text describes the scenario as a bug in v.2.10.0 being fixed, but the diagram, as drawn, suggests that the features from develop that the new release branch v.2.10 will contain v.2.11.0-rc1 features.

Furthermore, as drawn, the bugfix/W-43_fix-crash branch is based on v.2.11.0-rc1, not on v.2.10.0 where the bug was supposedly found, if my interpretation of the article is correct.

The question is:

  • Was the bugfix/W-43_fix-crash meant to be drawn as forking from v.2.10.0 instead of v.2.11.0-rc1
  • If so, where is the problem, in the input to the Grawkit script, or in Grawkit's interpretation of the input?

Maybe the issue is that in this scenario the bugfix/W-43_fix-crash would be fast-forwardable, and this confuses the awk script?

I'd also love to see your finished thoughts on the "bugfix after feature freeze" topic, which you describe as an "extraordinary measure".

Would it not make sense to branch bugfix/W-43_fix-crash from v.2.10.0, hard-reset master to v.2.10.1, thus abandoning v.2.11.0-rc1, and then merge develop into the new master, tagging it v.2.11.0-rc2 ? Alternately, having a staging branch where the -rc versions go, and merging staging into master only at release points would allow the master to contain only versions usable in production, and also allow bugfixes to be applied at any stage, before or after the feature freeze?

I assume steering the production systems to use a release from the non-master branch named v.2.10 branch is what makes this solution an "extraordinary measure".

Thank you again for your amazing work. I plan on using the script for creating some documentation of my own.

Render commit messages as labels

Currently, commit messages are allowed via -m and stored, but not rendered in any way. Render these as labels after the branch/tag labels.

Fix incorrect label sizing

Labels are currently sized as (len(text) * (font-height / 2)) + label-spacing. This formula, while approximately correct for the monospace fonts defined, looks at least a bit off in most cases.

Find a better formula.

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.