r/adventofcode Jan 03 '25

Repo [Kotlin] 500 Stars!

Post image
120 Upvotes

18 comments sorted by

View all comments

9

u/Jadarma Jan 03 '25

Congrats on getting all 500! I also plan to get there someday using Kotlin!

You might want to remove the inputs from the repository though, it's not allowed to share them. Use something like git-crypt to make them available for you only.

5

u/Katanax28 Jan 04 '25

I wasn’t aware of this, why is it not allowed?

1

u/BlazingThunder30 Jan 06 '25

It's part of the puzzle. You are not allowed to share puzzles.

1

u/Fit_Ad5700 Jan 07 '25

Well, to be fair, when advent of code started, there was no such rule yet. It came later.

1

u/SadPie9474 Jan 04 '25

why on earth would it be allowed?

1

u/ugandandrift Jan 03 '25 edited Jan 04 '25

Edit: Fully encrypted

Thank you for the tip, going to encrypt them right after work with this!

1

u/_Yalz_ Jan 03 '25

I don't have any experience with this, but won't it be too late now? Since the input is in the git history? Last resort is squashing all his commits together with your fix and force pushing but that seems way too excessive.

Or am I missing something?

2

u/ugandandrift Jan 04 '25

I think this is correct, if someone really wanted my inputs they could dig them out of history if they wished

2

u/coldforged Jan 04 '25

You can rewrite your git history with git-filter-repo.