Changeset 748


Ignore:
Timestamp:
Mar 1, 2016, 9:48:27 AM (3 years ago)
Author:
mabarracus
Message:
  • Analytics: Add stats processing by release and flavour, updated blacklist
Location:
lliurex-zero-installers/trunk/fuentes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • lliurex-zero-installers/trunk/fuentes/debian/changelog

    r702 r748  
     1lliurex-zero-installers (0.120) xenial; urgency=medium
     2
     3  * Analytics: Add stats processing by release and flavour, updated blacklist
     4
     5 -- M.Angel Juan <m.angel.juan@gmail.com>  Tue, 01 Mar 2016 09:48:08 +0100
     6
    17lliurex-zero-installers (0.119) xenial; urgency=medium
    28
  • lliurex-zero-installers/trunk/fuentes/lliurex-zero-installer-analytics.install/etc/lliurex-analytics/blacklist.txt

    r154 r748  
    1111basename
    1212bash
    13 -bash
    1413blinds
    1514blur
     
    7473dpkg-query
    7574du
     75echo
    7676edge
    7777edge-dog
     
    7979edge-neon
    8080edge-sobel
     81egrep
    8182emboss
    8283enchant-lsmod
     
    237238metadata
    238239mkdir
     240mknod
    239241mktemp
    240242modprobe
     
    272274plasma
    273275plugin-browser
     276plugin-container
    274277plug_in_lqr_iter
    275278polar-coords
     
    289292resynthesizer
    290293resynthesizer_gui
     294rev
    291295rhythmbox-metadata
    292296ripple
     
    317321sparkle
    318322sphere-designer
     323start
     324status
    319325stop
    320326streak
  • lliurex-zero-installers/trunk/fuentes/lliurex-zero-installer-analytics.install/usr/sbin/analytics

    r154 r748  
    228228    except:
    229229        return;
     230    # Get version and flavour
     231    p=subprocess.Popen(['lliurex-version','-n'],stdout=subprocess.PIPE)
     232    out,err=p.communicate()
     233    version=out.strip();
     234
     235    p=subprocess.Popen(['lliurex-version','-v'],stdout=subprocess.PIPE)
     236    out,err=p.communicate()
     237    sabor=out.strip();
    230238
    231239    # Send json encoded data to server
    232240    jsonobj=json.dumps(json_tmp);
    233     jsonobj=json.dumps({'uid':uid, 'stats': jsonobj });
     241    jsonobj=json.dumps({'uid':uid,'vers':version,'sab':sabor, 'stats': jsonobj });
    234242    payload = {'stats':jsonobj};
    235243    r = requests.post(url,data=payload,headers=headers);
Note: See TracChangeset for help on using the changeset viewer.