Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
Hdlmake
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
15
Issues
15
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Hdlmake
Commits
c19cf6b1
Commit
c19cf6b1
authored
Aug 09, 2016
by
Javier D. Garcia-Lasheras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improvements for fetch.local and fetch.fetcher
parent
e058e7a5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
fetcher.py
hdlmake/fetch/fetcher.py
+7
-0
local.py
hdlmake/fetch/local.py
+10
-0
No files found.
hdlmake/fetch/fetcher.py
View file @
c19cf6b1
...
...
@@ -28,3 +28,10 @@ class Fetcher(object):
def
fetch
(
self
,
module
):
"""Stub method, this must be implemented by the code fetcher"""
pass
@
staticmethod
def
check_id
(
path
):
"""Stub method, this must return a string with the version identifier
for the selected fetcher (revision, commit...)"""
pass
hdlmake/fetch/local.py
View file @
c19cf6b1
...
...
@@ -19,13 +19,23 @@
# You should have received a copy of the GNU General Public License
# along with Hdlmake. If not, see <http://www.gnu.org/licenses/>.
"""Module providing the fetcher for local HDLMake modules"""
from
.fetcher
import
Fetcher
class
Local
(
Fetcher
):
"""This class provides the Local fetcher instances"""
def
__init__
(
self
):
pass
def
fetch
(
self
,
module
):
pass
@
staticmethod
def
check_id
(
path
):
"""Get the ID for Local sources"""
pass
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment