Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fact_helper_file
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-gitdep
fact_helper_file
Commits
94300f65
Unverified
Commit
94300f65
authored
5 years ago
by
Johannes vom Dorp
Committed by
GitHub
5 years ago
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7 from fkie-cad/refactored_encoding
SREC mime type improved
parents
1178267e
071dc35b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
20 deletions
+25
-20
.gitignore
.gitignore
+3
-0
custom_mime_encoding
fact_helper_file/mime/custom_mime_encoding
+19
-0
custom_mime_firmware_containers
fact_helper_file/mime/custom_mime_firmware_containers
+0
-17
pytest.ini
pytest.ini
+2
-2
requirements-dev.txt
requirements-dev.txt
+1
-1
No files found.
.gitignore
View file @
94300f65
*.egg-info/
*.mgc
.cache/
.cache/
.coverage
.coverage
.idea/
.idea/
...
@@ -9,3 +11,4 @@
...
@@ -9,3 +11,4 @@
__pycache__/
__pycache__/
bin/
bin/
build/
build/
dist/
This diff is collapsed.
Click to expand it.
fact_helper_file/mime/custom_mime_encoding
0 → 100644
View file @
94300f65
# ====================== encoded file types ======================
# Intel HEX
0 regex \^:[A-F0-9]{8,}$ Intel HEX
!:mime firmware/intel-hex
# Motorola S-Record
0 string S0
>2 regex [0-9A-F]{8,}$ Motorola S-Record; binary data in text format
!:mime firmware/srecord
# Tektronik HEX file format
0 regex \^/[0-9A-F]{8,}$ Tektronix HEX; binary data in text format
!:mime firmware/tek
# Tektronik Extended HEX file format
0 regex \^%[0-9A-F]{8,}$ Tektronix extended HEX; binary data in text format
!:mime firmware/xtek
This diff is collapsed.
Click to expand it.
fact_helper_file/mime/custom_mime_firmware_containers
View file @
94300f65
...
@@ -696,23 +696,6 @@
...
@@ -696,23 +696,6 @@
0 string \xD5\xBF\x98\x12\x01 Toshiba CD2
0 string \xD5\xBF\x98\x12\x01 Toshiba CD2
!:mime firmware/toshiba-cd2
!:mime firmware/toshiba-cd2
# Intel HEX
0 regex \^:[A-F0-9]{8,}$ Intel HEX
!:mime firmware/intel-hex
# D-Link HAD
# D-Link HAD
0x60 string \x46\x4C\x41\x53\x48\x5F\x30\x32 D-Link HAD
0x60 string \x46\x4C\x41\x53\x48\x5F\x30\x32 D-Link HAD
!:mime firmware/dlink-had
!:mime firmware/dlink-had
# Motorola S-Record
0 regex \^S[0-57-9][0-9A-F]{8,}$ Motorola S-Record; binary data in text format
!:mime firmware/srecord
# Tektronik HEX file format
0 regex \^/[0-9A-F]{8,}$ Tektronix HEX; binary data in text format
!:mime firmware/tek
# Tektronik Extended HEX file format
0 regex \^%[0-9A-F]{8,}$ Tektronix extended HEX; binary data in text format
!:mime firmware/xtek
This diff is collapsed.
Click to expand it.
pytest.ini
View file @
94300f65
[pytest]
[pytest]
addopts
=
--
pep
8 -v
addopts
=
--
flake
8 -v
pep8
ignore
=
flake8-
ignore
=
*.py E501
*.py E501
This diff is collapsed.
Click to expand it.
requirements-dev.txt
View file @
94300f65
pytest
pytest
pytest-cov
pytest-cov
pytest-
pep
8
pytest-
flake
8
This diff is collapsed.
Click to expand it.
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