Java: two-fer: add reference to tutorial

Created on 20 Apr 2018  路  15Comments  路  Source: exercism/java

We've decided that every exercise with difficulty less than 3 should reference the tutorial provided with the hello world exercise. This should make it easier for people to solve those early exercise. See issue #1389 for discussion.

So please add a hints.md file in https://github.com/exercism/java/tree/master/exercises/two-fer/.meta with a link to the hello world tutorial and a brief explanation of what it is (e.g. "For more help on how to solve this exercise, please refer to the tutorial provided as part of the hello world exercise").

Once the hints.md file has been added, the README for that exercise needs to be regenerated so that the hints are included. This can be done using configlet:

  • Download configlet and put it somewhere in your PATH

  • Clone the problem-specifications repository.

  • Run configlet generate . --only two-fer --spec-path path_to_problem_specifications from the root of this repository.

good first issue

Most helpful comment

Hey everyone! I've never made an open source contribution before. Would I be able to try this one out? Is this a good place to start?

All 15 comments

Would like to take this one.

Has this issue been resolved?

No, I don't think so. Feel free to work on it @PTrottier since there hasn't been any activity on it for a while 馃檪

@FridaTveit When trying to execute the binary on Fedora 28 (Linux 64 bit), it just says "cannot execute binary file". I am planning to spin up a VM to finish the work.

Which binary are you referring to @PTrottier? Configlet?

@FridaTveit Sorry, yes, for Configlet

I am planning to try using Ubuntu instead and see if there is any success

@PTrottier a handful of different configlet releases can be found here:

https://github.com/exercism/configlet/releases

How did you download it? It is possible a broken link has taken you to the wrong release.

There is a script in the java repo under ~scripts~ bin to download the correct version of configlet for your machine.

Edit: the script can be found here

@sjwarner-bp I used https://github.com/exercism/configlet/releases/download/v3.9.2/configlet-linux-64bit.tgz (the latest), the extracted and ran . path/to/configlet . [command]

There is a script in the java repo under scripts to download the correct version of configlet for your machine.

Which script are you referring to:

  • canonical_data_check.sh
  • increase-test-logging.sh
  • insert-ignores.sh
  • prune-extra-keep-files.sh

@PTrottier Apologies, it lives in the bin directory. I would imagine it should work on your machine :slightly_smiling_face:

That sounds like the correct version of configlet to be using though. I can't test it out right now, but if you continue to have these issues with configlet, it might be worth opening an issue and using configlet version 3.6.1.

I'm running Ubuntu 64 bit and use this version with no problem.

Unfortunately, I am experiencing issues with configlet. I welcome anyone else to work on this issue, otherwise I will working towards fixing the issue

Okay @PTrottier, let us know if there's anything we can do to help with your configlet issues! 馃檪

Hey everyone! I've never made an open source contribution before. Would I be able to try this one out? Is this a good place to start?

That's great that you want to make an open source contribution @ymoskovits! 馃槃 Anything labelled good first patch should be good to start on, feel free to work on this one! And let us know if you have any issues at all! 馃檪

Fixed in PR #1506. Thanks @ymoskovits! 馃槃

Was this page helpful?
0 / 5 - 0 ratings

Related issues

FridaTveit picture FridaTveit  路  6Comments

ErikSchierboom picture ErikSchierboom  路  3Comments

FridaTveit picture FridaTveit  路  6Comments

FridaTveit picture FridaTveit  路  6Comments

jtigger picture jtigger  路  3Comments