Perroquet file should contains relative paths

Bug #508745 reported by murlockoldaccount
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
perroquet
Triaged
Medium
Unassigned

Bug Description

After creating a new exercise and creating the perroquet file, the result file contains hardlink path, even in case all files are in same directory.
It can be difficult to spread Perroquet exercises

Revision history for this message
Fred Bertolus (fred-bertolus) wrote :

It's will be more complicated.

Wido create a Archlinux package installing an exercice in /opt/... In this case, the perroquet file should leave absolute path. When a create an exercices, my videos are un ~/Vidéos but the perroquet in ~/perroquet. If i move my perroquet file, i will not move my vidéos file.

In fact, the perroquet file may should contain both relative and absolute path.

http://aur.archlinux.org/packages.php?ID=33400

Changed in perroquet:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Zarmakuizz (zarmakuizz) wrote :

I would like to know what exactly is in this /opt/ folder. Are the media resources and the perroquet file all in /opt/ (whatever a folder contains parts or all the exercise), or are the files on /opt/ and on /home/user/ at the same time ?

If this is the first case, we should be able to use relative paths only since the user gives the absolute path when opening an exercice. I don't have tried yet the new feature for exercises downloading, but I don't think a file is opened without any absolute path given by the developer (who exactly knows where this kind of exercise) or the user (the only one able to know everytime where any exercice is).

When I will go back on Archlinux i will try this AUR package, however into the AUR page's description there is a tar.gz file not working anymore...

Revision history for this message
Fred Bertolus (fred-bertolus) wrote :

When i write that, perroquet template files wasn't exists. The AUR package contains only the media and subtitles files.

With perroquet 1.1, both relative and absolute path are accepted. Exercise repository use relative path :

/home/fred/.local/share/perroquet/repo_root/main/blender/elephant-dream_1.0

<sub_exercise>
   <paths>
    <video>
     Elephants_Dream.ogg
    </video>
    <exercise>
     english.srt
    </exercise>
    <translation>
     french.srt
    </translation>
   </paths>
   <sequences/>
  </sub_exercise

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.