Skip to content

filerepo

Repository tools

Plain filesystem repository

Authors:

  • Stijn De Weirdt (Ghent University)
  • Dries Verdegem (Ghent University)
  • Kenneth Hoste (Ghent University)
  • Pieter De Baets (Ghent University)
  • Jens Timmerman (Ghent University)
  • Toon Willems (Ghent University)
  • Ward Poelmans (Ghent University)
  • Fotis Georgatos (Uni.Lu, NTUA)

FileRepository

Bases: Repository

Class for file repositories.

add_easyconfig(cfg, name, version, stats, previous)

Add easyconfig to repository

PARAMETER DESCRIPTION
cfg

location of easyconfig file

name

software name

version

software install version, incl. toolchain & versionsuffix

stats

build stats, to add to archived easyconfig

previous

list of previous build stats

RETURNS DESCRIPTION

location of archived easyconfig

add_patch(patch, name)

Add patch file to repository

PARAMETER DESCRIPTION
patch

location of patch file

name

software name

RETURNS DESCRIPTION

location of archived patch

create_working_copy()

set the working directory to the repo directory

get_buildstats(name, ec_version)

return the build statistics

setup_repo()

for file based repos this will create the repo directory if it doesn't exist.

if a subdir is specified also create the subdir