Closed beardhatcode closed 1 month ago
How about referring by exercise token? This is the only cross-instance identifier we have.
Though [iterative deepning](exercise:1poiu23w0f98poq2iu1209384)
is a bit ugly.
Original comment by @ninewise on Tue Apr 30 2019 at 14:39.
Looking up exercise with token 1poiu23w0f98poq2iu1209384
is equally costly to looing up exercise with path /SearchAlgorithms/ItterDepth
. Both string comparisons of relatively short size in the database. (I think)
Original comment by @beardhatcode on Tue Apr 30 2019 at 15:18.
Paths are more natural, and we don't want people to ascribe any meaning to the tokens, so if/when this is implemented I'm definitely a proponent of the using the path as the identifier (both are unique (within the repo)). This does prevent inter-repo links, but those seem less useful to me anyway.
Original comment by @charvp on Tue Apr 30 2019 at 15:56.
Inter-repo links will always be possible using a plain URL (as is done now). This suggestion is only an additional way to included references to other exercises.
Original comment by @pdawyndt on Tue Apr 30 2019 at 16:25.
@bmesuere Any update on this? I could really use this to be honest...
@JoFAM We have no way to implement this without a significant refactor of how Dodona works, so don't expect this any time soon.
For now not feasible
It would be nice to be able to link to an other exercise in a repo.
I was thinking of something like this:
This link should refer to the exercise that is at
/SearchAlgorithms/ItterDepth
as seen from the root of the current repository:I don't know what should happen with
[iterative deepning](exercise:/SearchAlgorithms/ItterDepth/meta)
[iterative deepning](exercise:SearchAlgorithms/ItterDepth)
[iterative deepning](exercise:../ItterDepth)
[iterative deepning](exercise:/NonExisting/Path)
Original issue by @beardhatcode on Tue Apr 30 2019 at 13:42.