-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
Move older concept/exercise drafts to older-drafts folder #791
base: main
Are you sure you want to change the base?
Conversation
I should have said: this follows on from Issue #789. |
I've noticed that the Another note: I was hesitant to wipe them from the site before we have replacements, but now I feel it wouldn't make a big difference, since I don't think there are many completions anyway. |
The issue of duplicates and old concept exercises hanging around only seems to affect maintainers. If you look at the exercises in incognito, it all looks correct. For Leap, I suspect (but can't be sure) that I still see the Concept version on the Practice tab because I solved Leap in the past: only as a practice exercise, but these are now hopelessly muddled. I assume that successful solutions go into a MySQL table, with (student, track, exercise) fields, so the website still shows it to me as something I published. It would need @iHiD to untangle that at the SQL level, and my guess is that he will see it as more trouble than it's worth - given only the two of us are affected, It could be worse. I just filtered the practice exercise page to show Annalyn's Infiltration, and I'm seeing a magnificent 7 copies! I'm hoping this PR will fix that problem, but we'd need to test that empirically. |
I think any exercises also need to be marked as deprecated in the config.json before we can merge this. Otherwise I think things will just break. |
That's part of the confusion - there is no mention of these draft concept exercises in the Leap is a bigger tangle, because it was created at one time as a concept exercise, as well as a practice exercise. That got the software as confused as I am (which is saying something). |
While the Here's the block. As compared to Python, where we have |
Apologies for maybe not explaining it clearly enough, but that block isn't the problem. Lasagna and Annelyn's Infiltration are the result of recent/ongoing PRs. What we're trying to get rid of are the old drafts such as Several of these exercises may be recycled in the future into new versions, extensively rewritten and with new UUIDs. We're not trying to deprecate the name of the exercise, just the draft implementation. |
I should have included a link to the relevant directory. I'm quite surprised this even exists, more surprised that the website treats it as special (presumably because it's under Would that break the website? That can only be answered by someone who understands why the website even lists the contents of |
[no important files changed]
I moved all the unmerged older learning syllabus material to
older-drafts/
, with subdirectories forconcepts
andexercises
. The aim is that the Exercism website will now ignore these, even for maintainers.No file contents were changed, only the location.
I added
.gitkeep
files toconcepts.wip/
andexercises/concept.wip/
so they stay around, even when empty. I guess we will want to use these as a staging area for new drafts?Comments welcome on whether this is the best way to nake the change.
I'd love to move the 3 old concepts currently in
concepts/
: these are going to be replaced by the newbasics
concept when it is merged. I'm hesitant:config.sys
.Does anyone know how to deprecate a concept that is no longer needed? Exercises have a
status
field, but there seems to be nothing equivalent for concepts.