Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove input data Advent of Code #6

Open
iglesias opened this issue Dec 5, 2023 · 1 comment
Open

Remove input data Advent of Code #6

iglesias opened this issue Dec 5, 2023 · 1 comment
Assignees

Comments

@iglesias
Copy link
Owner

iglesias commented Dec 5, 2023

From https://adventofcode.com/2023/about,

Can I copy/redistribute part of Advent of Code? Please don't. Advent of Code is free to use, not free to copy. If you're posting a code repository somewhere, please don't include parts of Advent of Code like the puzzle text or your inputs. If you're making a website, please don't make it look like Advent of Code or name it something similar.

TIL! I got a Reddit notification on the phone after pushing today's [23d5] input (coincidence? Recommendations getting smarter? We'll never know):

https://www.reddit.com/r/adventofcode/comments/18an94z/psa_dont_share_your_inputs_even_in_your_github/

So, this is just a remainder: don't share your inputs, they are private and should remain so.

I force-pushed to master earlier today, living dangerously, to remove the data for today's problem. And yep, starting to use branches religiously even for this one-mens repo.

Then, I have gone through the problems from last year and found that I uploaded at least to the repo the one for the warping-cube. So, this issue is about cleaning that data nicely for respect to Advent of Code's staff and their instructions.

Onboarding reading:
https://git-scm.com/docs/git-filter-branch https://www.mankier.com/1/git-filter-repo#Examples_(TL;DR)
https://aoc.just2good.co.uk/python/encrypting
https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository

@iglesias iglesias self-assigned this Dec 5, 2023
@iglesias
Copy link
Owner Author

From master:
git filter-repo --path [AoC .in files from 2022] --invert-paths
Then, force push.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant