[2022][Friendly Reminder] Don't commit your input files to Git

This page summarizes the projects mentioned and recommended in the original post on /r/adventofcode

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • LearnThisRepo.com - Learn 300+ open source libraries for free using AI.
  • WorkOS - The modern API for authentication & user identity.
  • git-filter-repo

    Quickly rewrite git repository history (filter-branch replacement)

    It's possible to rewrite the history, yes. Obviously this will change all the commit hashes, but git-filter-repo can do it.

  • git-crypt

    Transparent file encryption in git

    There‘s plugins like https://github.com/AGWA/git-crypt or https://git-secret.io that you can use to encrypt the files for yourself, so that they are available on multiple machines to you

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • git-secret

    :busts_in_silhouette: A bash-tool to store your private data inside a git repository.

    There‘s plugins like https://github.com/AGWA/git-crypt or https://git-secret.io that you can use to encrypt the files for yourself, so that they are available on multiple machines to you

  • Advent-of-Code

    Advent of Code problems solved in Python. (by derailed-dash)

    So, I've just installed git-crypt, which transparently encrypts on push, and transparently decrypts on pull. I've written a few brief notes here.

  • advent_of_code

    My attempts to solve https://adventofcode.com (by shrugalic)

    Caution: the method I used is not recommended. Use at your own risk, know what you're doing, and have plenty of backups, etc. That said, here are my notes.

  • repo

    With the current setup (actual input checked in to GitHub), I can log on to a new computer, run git clone https://github.com/my/repo; cd repo/2022; ./testday day* and verify that all my code gets the right output on this computer (no missing libraries etc.). I can then refactor my code to try out something I just learned and make sure it still passes. If the only thing we're being asked to exclude from GitHub is our actual, personalized, input file then I can add a step to copy a session cookie and download all the input files. If we're being asked to also exclude sample input and program output then things get more annoying, more fragile, and may create more server load.

  • advent-of-code

    My solutions for adventofcode.com (by mdwhatcott)

  • LearnThisRepo.com

    Learn 300+ open source libraries for free using AI. LearnThisRepo lets you learn 300+ open source repos including Postgres, Langchain, VS Code, and more by chatting with them using AI!

  • adventofcode

    Advent of Code 2022 as part of getting back into Python https://adventofcode.com/ (by dumbledad)

    I had not realised this, but I've now reworked my solution repository so that only my stuff is in a public repository, the input data (test and 'real') are in a private repository included as a git submodule.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts