Changeset 7802


Ignore:
Timestamp:
Jul 24, 2018, 12:08:17 PM (15 months ago)
Author:
mabarracus
Message:

Add content

Location:
lliurex-quota/trunk/fuentes
Files:
4 added
12 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • lliurex-quota/trunk/fuentes/debian/changelog

    r7785 r7802  
    1 lliurex-quota (0.1) unstable; urgency=medium
     1lliurex-quota (0.1) xenial; urgency=medium
    22
    33  * Initial Release.
  • lliurex-quota/trunk/fuentes/debian/control

    r7785 r7802  
    11Source: lliurex-quota
    2 Section: unknown
     2Section: utils
    33Priority: optional
    44Maintainer: M.Angel Juan <m.angel.juan@gmail.com>
    55Build-Depends: debhelper (>=9)
    66Standards-Version: 3.9.6
    7 Homepage: <insert the upstream URL, if relevant>
    8 #Vcs-Git: git://anonscm.debian.org/collab-maint/lliurex-quota.git
    9 #Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/lliurex-quota.git
     7Homepage: http://lliurex.net
    108
    119Package: lliurex-quota
    12 Architecture: any
    13 Depends: ${shlibs:Depends}, ${misc:Depends}
    14 Description: <insert up to 60 chars description>
    15  <insert long description, indented with spaces>
     10Architecture: all
     11Depends: ${shlibs:Depends}, ${misc:Depends}, quota
     12Description: Quota manager for Lliurex systems
     13 Lliurex-quota manages quota system when classroom model is used.
  • lliurex-quota/trunk/fuentes/debian/copyright

    r7785 r7802  
    11Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
    22Upstream-Name: lliurex-quota
    3 Source: <url://example.com>
     3Source: http://lliurex.net
    44
    55Files: *
    6 Copyright: <years> <put author's name and email here>
    7            <years> <likewise for another author>
     6Copyright: 2018 M.Angel Juan <m.angel.juan@gmail.com>
    87License: GPL-3.0+
    98
  • lliurex-quota/trunk/fuentes/lliurex-quota.install/usr/share/n4d/python-plugins/QuotaManager.py

    r7785 r7802  
    603603                soft = hard
    604604            margin = hard - soft
    605             qstruct={'quota':hard-soft,'margin':margin}
     605            qstruct={'quota': soft,'margin':margin}
    606606            qdict.setdefault(quotauser,qstruct)
    607607        try:
     
    638638                import traceback
    639639                return "{} {} {}".format(str(e),traceback.format_exc(),user)
    640         print 'calculated userinfo {}'.format(userinfo['alus01'])
     640        #print 'calculated userinfo {}'.format(userinfo['alus01'])
    641641        qdict2 = {}
    642642        utmp=''
     
    10871087    def apply_quotasdict(self,quotadict):
    10881088        for user in quotadict:
    1089             self.set_userquota(user,quotadict[user]['hard'],quotadict[user]['soft'],persistent=False)
     1089            self.set_userquota(user,quotadict[user]['quota'],quotadict[user]['margin'],persistent=False)
    10901090
    10911091    @proxy
    10921092    def get_status(self):
    10931093        return self.get_status_file()
     1094
     1095    @proxy
     1096    def get_quotafile(self):
     1097        return self.get_quotas_file()
    10941098
    10951099    @proxy
Note: See TracChangeset for help on using the changeset viewer.