OMG

Monitor /usr/share/omg/trophy folder too

Bug #630746 reported by Manish Sinha (मनीष सिन्हा)
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OMG
Fix Committed
Wishlist
Manish Sinha (मनीष सिन्हा)

Bug Description

Right now omg monitors only ~/.local/share/omg/trophy/ folder.

If a package installation installs the trophies in the folder, then OMG needs to pick it up.

Add this support.

Related branches

Changed in omg:
status: New → Confirmed
importance: Low → Wishlist
assignee: nobody → Manish Sinha (manishsinha)
Revision history for this message
Manish Sinha (मनीष सिन्हा) (manishsinha) wrote :

So I decided that how it should be done.

As per bartbes, APT cant install inside user's home directory, so it has to be installed in /usr/share/omg/trophy/

OMG keeps a list of trophies it has seen in this folder before and monitors /usr/share/omg/trophy/

* When a new trophy is added, it gets picked up by OMG! and is checked if OMG! has seen it before or not. If it has seen it before, then it is rejected.
* When OMG! starts if reads all the trophies inside /usr/share/omg/trophy/ to make sure that no new trophy has been put when it was not running.

Changed in omg:
status: Confirmed → In Progress
Changed in omg:
milestone: none → 0.1
Changed in omg:
milestone: none → 0.1
Revision history for this message
Manish Sinha (मनीष सिन्हा) (manishsinha) wrote :

I have fixed this bug, but testing still needs to be done as this is a bit complex feature(when compared to other features of OMG!)

Changed in omg:
status: In Progress → Fix Committed
Changed in omg:
status: Fix Committed → Fix Released
assignee: Manish Sinha (manishsinha) → braulioareis (braulioareis)
Changed in omg:
assignee: braulioareis (braulioareis) → Manish Sinha (manishsinha)
status: Fix Released → Fix Committed
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.