hdlmake.fetch package

Submodules

hdlmake.fetch.backend_factory module

hdlmake.fetch.constants module

Module providing the constants required for the fetch process

hdlmake.fetch.fetcher module

Module providing the base class for the different code fetchers

class hdlmake.fetch.fetcher.Fetcher

Bases: object

Base class for the code fetcher objects

static check_id(path, command)

Use the provided command to get the specific ID from the repository at path

fetch(module)

Stub method, this must be implemented by the code fetcher

hdlmake.fetch.git module

Module providing the stuff for handling Git repositories

class hdlmake.fetch.git.Git

Bases: hdlmake.fetch.fetcher.Fetcher

This class provides the Git fetcher instances, that are used to fetch and handle Git repositories

static check_git_commit(path)

Get the revision number for the Git repository at path

fetch(module)

Get the code from the remote Git repository

static get_git_submodules(module)

Get a dictionary containing the git submodules that are listed in the module’s path

static get_git_toplevel(module)

Get the top level for the Git repository

static get_submodule_commit(submodule_dir)

Get the commit for a repository if defined in Git submodules

class hdlmake.fetch.git.GitSM

Bases: hdlmake.fetch.git.Git

hdlmake.fetch.svn module

Module providing the stuff for handling SVN repositories

class hdlmake.fetch.svn.Svn

Bases: hdlmake.fetch.fetcher.Fetcher

This class provides the SVN fetcher instances, that are used to fetch and handle SVN repositories

static check_svn_revision(path)

Get the revision number for the SVN repository at path

fetch(module)

Get the code from the remote SVN repository

Module contents

This package provides stuff to handle local and remote repositories