Skip to content

Add affine cipher exercise #2787

Open
KasimKaizer wants to merge 18 commits intoexercism:mainfrom
KasimKaizer:add-affine-cipher
Open

Add affine cipher exercise #2787
KasimKaizer wants to merge 18 commits intoexercism:mainfrom
KasimKaizer:add-affine-cipher

Conversation

@KasimKaizer
Copy link

No description provided.

@github-actions
Copy link
Contributor

Hello. Thanks for opening a PR on Exercism 🙂

We ask that all changes to Exercism are discussed on our Community Forum before being opened on GitHub. To enforce this, we automatically close all PRs that are submitted. That doesn't mean your PR is rejected but that we want the initial discussion about it to happen on our forum where a wide range of key contributors across the Exercism ecosystem can weigh in.

You can use this link to copy this into a new topic on the forum. If we decide the PR is appropriate, we'll reopen it and continue with it, so please don't delete your local branch.

If you're interested in learning more about this auto-responder, please read this blog post.


Note: If this PR has been pre-approved, please link back to this PR on the forum thread and a maintainer or staff member will reopen it.

@github-actions github-actions bot closed this Apr 23, 2024
@ErikSchierboom ErikSchierboom requested a review from a team April 23, 2024 13:04
@IsaacG
Copy link
Member

IsaacG commented Feb 22, 2026

@KasimKaizer Would you like to resync this from the problem spec and get it merged?

@KasimKaizer
Copy link
Author

@IsaacG Yes please, I would appreciate that.

@IsaacG
Copy link
Member

IsaacG commented Feb 23, 2026

@KasimKaizer Go for it. I was just added to the maintainer list and I'm still sorting out getting merge permissions but I'd be happy to merge in new exercises once they're updated to match the latest version from the problem specs!

Comment on lines +54 to +56
var tmpl = `package affinecipher

{{.Header}}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
var tmpl = `package affinecipher
{{.Header}}
var tmpl = `{{.Header}}

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should I really do this?
Because in the README of the Go track, they specifically ask for

"var tmpl = `package

{{.Header}}"

Copy link
Author

@KasimKaizer KasimKaizer Mar 7, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@IsaacG

the teast cases file needs to package name

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The package name is added by the {{.Header}}. However, you may need to rebase your PR to pick up the generator changes.

@IsaacG
Copy link
Member

IsaacG commented Mar 3, 2026

@KasimKaizer Ping?

@IsaacG IsaacG added x:action/create Work on something from scratch x:module/generator Work on Exercise generators x:module/practice-exercise Work on Practice Exercises x:size/large Large amount of work x:rep/large Large amount of reputation labels Mar 4, 2026
@IsaacG
Copy link
Member

IsaacG commented Mar 7, 2026

@KasimKaizer FYI If I don't hear back from you in the next few days, I may close this out and implement it myself.

@KasimKaizer
Copy link
Author

Sorry for the delay @IsaacG

I am currently in the Middle East, and with everything going on here, I have a lot on my plate at the moment.

I will try to get this implemented as soon as possible (max by next week).

@IsaacG
Copy link
Member

IsaacG commented Mar 7, 2026

Sounds good. If it takes longer, that's fine, so long as I have some idea that it's not abandoned 🙂
Good luck with everything there!

KasimKaizer and others added 4 commits March 7, 2026 13:43
Update go version

Co-authored-by: Isaac Good <IsaacG@users.noreply.github.com>
remove 'short mode'

Co-authored-by: Isaac Good <IsaacG@users.noreply.github.com>
Use the new 'range' method

Co-authored-by: Isaac Good <IsaacG@users.noreply.github.com>
update tmpl generation

Co-authored-by: Isaac Good <IsaacG@users.noreply.github.com>
KasimKaizer and others added 4 commits March 7, 2026 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

x:action/create Work on something from scratch x:module/generator Work on Exercise generators x:module/practice-exercise Work on Practice Exercises x:rep/large Large amount of reputation x:size/large Large amount of work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants