Lots of potential for duplicate and near-duplicate tours

Bug #719131 reported by Vallery Lancey
6
This bug affects 1 person
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/ubuntu-tour/tours and ./tours. Because it was placed IN /usr/share/ubuntu-tour, it was finding all the same things twice.

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
Revision history for this message
Anthony Stewart (madnessred) wrote :

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.