Example #1
0
def version_file():
    """returns version file name with full path

    @rtype string

    """
    return utils.absolute_file_path('version.properties')
Example #2
0
def version_file():
    """returns version file name with full path

    @rtype string

    """
    return utils.absolute_file_path('version.properties')
Example #3
0
    def __add_package(self, directory, filename, packages):
        """append package to the list if it can be installed/upgraded in system

        @param directory - string
        @param filename - string
        @param package - temprory list

        """
        file_ = utils.absolute_file_path(filename, directory)
        package = self.system.packager.package(file_)

        #for now skip source packages let's deal with only with binary packages
        if package.is_source():
            return

        if not self.package_for_arch(package):
            return

        if package.name in packages and \
                        package <= packages[package.name]:
            return

        packages[package.name] = package