Giter VIP home page Giter VIP logo

git-trello-to-pdf's Introduction

Git-Trello-to-PDF

This script extracts Trello card hashes from git commit messages and generates PDFs of the corresponding Trello cards.

Supported OS

  • macOS
  • Linux
  • BSDs

Prerequisites

  • bash
  • Python 3
  • git
  • pcre2grep

Usage

  1. Clone the repository and navigate to the directory containing the script.

    git clone <repository-url>
    cd <repository-directory>
  2. Run the script with the required options:

    sh git-trello-to-pdf.sh -e EMAIL -p PASSWORD -r REPO_DIR -o OUTPUT_DIR
    • -e EMAIL: Your Trello email
    • -p PASSWORD: Your Trello password
    • -r REPO_DIR: The git repository directory
    • -o OUTPUT_DIR: The output directory (default: ./output)

    If you don't provide these options, the script will prompt you to enter them.

  3. The script will create an output directory with the current timestamp, extract Trello card hashes from the git commit messages, and generate PDFs of the Trello cards.

Output

The script generates the following files in the output directory:

  • commit_messages.txt: A list of all git commit messages
  • trello_card_hashes.txt: A list of all extracted Trello card hashes
  • trello_cards: A directory containing the generated PDFs of the Trello cards
  • errors/trello_card_not_found.txt: A list of Trello card hashes that could not be found
  • errors/trello_card_requires_access.txt: A list of Trello card hashes that require access

Note

The script uses a Python virtual environment to install its dependencies. If you want to use the script in a different Python environment, you'll need to install the dependencies manually.

git-trello-to-pdf's People

Contributors

kalecser avatar maeroso avatar

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.