Ignore:
Timestamp:
Dec 1, 2016, 3:05:14 PM (4 years ago)
Author:
kbut
Message:

wip

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-up/trunk/fuentes/LliurexUpCore.py

    r2932 r2978  
    1212                self.defaultVersion = 'xenial'
    1313                self.processPath = '/var/run/lliurex-up'
     14                self.changelogsPath = '/var/run/lliurex-up/changelogs'
    1415                self.processSourceslist = '/var/run/lliurex-up/sourceslist'
    1516                self.n4d = xmlrpclib.ServerProxy('https://localhost:9779')
     
    2829                os.mkdir(self.processPath)
    2930                os.mkdir(self.processSourceslist)
     31                os.mkdir(self.changelogsPath)
    3032                self.writeDefaultSourceslist()
    3133
     
    200202                                packageInfo[package]['candidate'] = raw[0][1:]
    201203                        packageInfo[package].pop('raw')
     204                        packageInfo[package]['changelog'] = os.path.join(self.changelogsPath,package)
     205                        os.system('LANG=C apt-get changelog %s > %s%s'%(package,self.changelogsPath,package))
     206                        packageInfo[package]['icon'] =
    202207                return packageInfo
    203208
Note: See TracChangeset for help on using the changeset viewer.