Lots of potential for duplicate and near-duplicate tours
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Tour |
Confirmed
|
Low
|
Unassigned |
Bug Description
One of the earliest code bugs in the tour was duplicates of all chapters, which happened because the tour was looking for tours in both /usr/share/
Now, while this bug was fixed quite a while ago, there is still lots of opportunity for duplicate or near duplicate chapters. For example, what happens if someone installs a custom tour in their home folder, then we add it as part of the official tour? Or if someone installs a slight modification of an existing tour?
This can be very easy to avoid. The best way to check for differences would probably be running diff -r tour1 tour2, and checking the output. If there is more than a certain amount printed, then the tours are different. If not, they're the same or almost the same, and only one need be shown.
Changed in ubuntu-tour: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
importance: | Medium → Low |
With the new tour system there can only be one tour with the same slug. The slug is purely the alphanumeric characters in lower case, so they following tours would all be read as the same.
How do I do XYZ?
how do i do x,y,z?!
Tours in .ubuntu-tour will be prefered over tours in /usr/share/ ubuntu- tour
Where this is not enough I think that we have to assume the user had his reasons for installing a tour similar to one he already had.