Skip to content

add micro-blog exercise #294

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

Merged
merged 5 commits into from
Aug 13, 2025
Merged

add micro-blog exercise #294

merged 5 commits into from
Aug 13, 2025

Conversation

oxe-i
Copy link
Contributor

@oxe-i oxe-i commented Aug 13, 2025

I've added a test case (test_ideograms)

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 Aug 13, 2025
@keiravillekode
Copy link
Contributor

Feel free to copy https://github.com/exercism/arm64-assembly/blob/main/generators/generate across to this track. Then the extra test case can be generated.

…ra cases. Add an extra case for micro-blog
@oxe-i
Copy link
Contributor Author

oxe-i commented Aug 13, 2025

@keiravillekode Copied the generate file, but there was a problem with this:

"if args.format:
args = ["clang-format", "-i", path]
subprocess.run(args, check=True)"

The error was:

"Traceback (most recent call last):
File "/home/oxe-b/Micro-blog/x86-64-assembly/./generators/generate", line 163, in
main()
File "/home/oxe-b/Micro-blog/x86-64-assembly/./generators/generate", line 159, in main
subprocess.run(args, check=True)
File "/usr/lib/python3.12/subprocess.py", line 548, in run
with Popen(*popenargs, **kwargs) as process:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/subprocess.py", line 1026, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.12/subprocess.py", line 1955, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'clang-format'"

As it didn't seem to matter here, I removed this part of the code from the copy.

@oxe-i
Copy link
Contributor Author

oxe-i commented Aug 13, 2025

@keiravillekode Found out the problem was here, I didn't have clang-format installed. After installing it and copying also .clang-format file from ARM Assembly track, everything is now working fine.

@keiravillekode keiravillekode merged commit 63db0db into exercism:main Aug 13, 2025
4 checks passed
@oxe-i oxe-i deleted the add_micro_blog branch August 13, 2025 23:17
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

Successfully merging this pull request may close these issues.

2 participants