Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel393
Commits
ba4accdb
Commit
ba4accdb
authored
Nov 18, 2016
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved data to a separate file
parent
31727d3a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
141 additions
and
114 deletions
+141
-114
projects.json
projects.json
+114
-0
setup.py
setup.py
+4
-114
test_json.py
test_json.py
+23
-0
No files found.
projects.json
0 → 100644
View file @
ba4accdb
{
"meta"
:
{
"meta-openembedded"
:[
"git://git.openembedded.org/meta-openembedded"
,
"master"
,
"73854a05565b30a5ca146ac53959c679b27815aa"
],
"meta-xilinx"
:[
"https://github.com/Xilinx/meta-xilinx.git"
,
"master"
,
"cc146d6c170f100eb2f445047969893faa7a6a55"
],
"meta-swupdate"
:[
"https://github.com/sbabic/meta-swupdate.git"
,
"master"
,
"f6ab29cfac2b9c6da8881c754e2a316ea43b884d"
],
"meta-ezynq"
:[
"https://github.com/Elphel/meta-ezynq.git"
,
"master"
,
""
,
"#master"
,
"00496002f513fc253f5356ee675fdcbb8b4a9962"
],
"meta-elphel393"
:[
"https://github.com/Elphel/meta-elphel393.git"
,
"master"
,
""
,
"#master"
,
"a93edc1f91e82e5e613fa38bd800e307c348b9ee"
]
},
"poky"
:[
"git://git.yoctoproject.org/poky.git"
,
"master"
,
"3d2c0f5902cacf9d8544bf263b51ef0dd1a7218c"
],
"fpga-elphel"
:
{
"x393"
:[
"https://github.com/Elphel/x393.git"
,
"master"
,
""
,
"#master"
,
"edcdce9550c20726618210149bc1cb4549fd00be"
],
"x393_sata"
:[
"https://github.com/Elphel/x393_sata.git"
,
"master"
,
""
],
"x359"
:[
"https://github.com/Elphel/x359.git"
,
"master"
,
""
]
},
"linux-elphel"
:[
"https://github.com/Elphel/linux-elphel.git"
,
"master"
,
""
,
"#master"
,
"cc50d7fa07140e680b09a8add617e62b4ba35aa0"
],
"rootfs-elphel"
:
{
"elphel-apps-imgsrv"
:[
"https://github.com/Elphel/elphel-apps-imgsrv.git"
,
"master"
,
""
],
"elphel-apps-php-extension"
:[
"https://github.com/Elphel/elphel-apps-php-extension.git"
,
"master"
,
""
],
"elphel-apps-camogm"
:[
"https://github.com/Elphel/elphel-apps-camogm.git"
,
"master"
,
""
],
"elphel-udev-rules"
:[
"https://github.com/Elphel/elphel-udev-rules.git"
,
"master"
,
""
],
"elphel-web-393"
:[
"https://github.com/Elphel/elphel-web-393.git"
,
"master"
,
""
],
"elphel-apps-autocampars"
:[
"https://github.com/Elphel/elphel-apps-autocampars.git"
,
"master"
,
""
],
"elphel-apps-autoexposure"
:[
"https://github.com/Elphel/elphel-apps-autoexposure.git"
,
"master"
,
""
],
"elphel-apps-histograms"
:[
"https://github.com/Elphel/elphel-apps-histograms.git"
,
"master"
,
""
],
"elphel-web-camvc"
:[
"https://github.com/Elphel/elphel-web-camvc.git"
,
"master"
,
""
],
"elphel-apps-editconf"
:[
"https://github.com/Elphel/elphel-apps-editconf.git"
,
"master"
,
""
],
"elphel-init"
:[
"https://github.com/Elphel/elphel-init.git"
,
"master"
,
""
],
"elphel-web-hwmon"
:[
"https://github.com/Elphel/elphel-web-hwmon.git"
,
"master"
,
""
],
"elphel-apps-tempmon"
:[
"https://github.com/Elphel/elphel-apps-tempmon.git"
,
"master"
,
""
],
"elphel-apps-gps"
:[
"https://github.com/Elphel/elphel-apps-gps.git"
,
"master"
,
""
]
},
"tools"
:
{
"elphel-tools-update"
:[
"https://github.com/Elphel/elphel-tools-update.git"
,
"master"
,
""
]
}
}
\ No newline at end of file
setup.py
View file @
ba4accdb
...
...
@@ -14,120 +14,10 @@ import subprocess
import
os
import
sys
Projects
=
{
'meta'
:
{
'meta-openembedded'
:[
'git://git.openembedded.org/meta-openembedded'
,
'master'
,
'73854a05565b30a5ca146ac53959c679b27815aa'
,
],
'meta-xilinx'
:[
'https://github.com/Xilinx/meta-xilinx.git'
,
'master'
,
'cc146d6c170f100eb2f445047969893faa7a6a55'
],
'meta-swupdate'
:[
'https://github.com/sbabic/meta-swupdate.git'
,
'master'
,
'f6ab29cfac2b9c6da8881c754e2a316ea43b884d'
],
'meta-ezynq'
:[
'https://github.com/Elphel/meta-ezynq.git'
,
'master'
,
''
#'master','00496002f513fc253f5356ee675fdcbb8b4a9962'
],
'meta-elphel393'
:[
'https://github.com/Elphel/meta-elphel393.git'
,
'master'
,
''
#'master','a93edc1f91e82e5e613fa38bd800e307c348b9ee'
],
},
'poky'
:[
'git://git.yoctoproject.org/poky.git'
,
'master'
,
'3d2c0f5902cacf9d8544bf263b51ef0dd1a7218c'
],
'fpga-elphel'
:
{
'x393'
:[
'https://github.com/Elphel/x393.git'
,
'master'
,
''
#'master','edcdce9550c20726618210149bc1cb4549fd00be'
],
'x393_sata'
:[
'https://github.com/Elphel/x393_sata.git'
,
'master'
,
''
],
'x359'
:[
'https://github.com/Elphel/x359.git'
,
'master'
,
''
],
},
'linux-elphel'
:[
'https://github.com/Elphel/linux-elphel.git'
,
'master'
,
''
#'master','cc50d7fa07140e680b09a8add617e62b4ba35aa0'
],
'rootfs-elphel'
:
{
'elphel-apps-imgsrv'
:[
'https://github.com/Elphel/elphel-apps-imgsrv.git'
,
'master'
,
''
],
'elphel-apps-php-extension'
:[
'https://github.com/Elphel/elphel-apps-php-extension.git'
,
'master'
,
''
],
'elphel-apps-camogm'
:[
'https://github.com/Elphel/elphel-apps-camogm.git'
,
'master'
,
''
],
'elphel-udev-rules'
:[
'https://github.com/Elphel/elphel-udev-rules.git'
,
'master'
,
''
],
'elphel-web-393'
:[
'https://github.com/Elphel/elphel-web-393.git'
,
'master'
,
''
],
'elphel-apps-autocampars'
:[
'https://github.com/Elphel/elphel-apps-autocampars.git'
,
'master'
,
''
],
'elphel-apps-autoexposure'
:[
'https://github.com/Elphel/elphel-apps-autoexposure.git'
,
'master'
,
''
],
'elphel-apps-histograms'
:[
'https://github.com/Elphel/elphel-apps-histograms.git'
,
'master'
,
''
],
'elphel-web-camvc'
:[
'https://github.com/Elphel/elphel-web-camvc.git'
,
'master'
,
''
],
'elphel-apps-editconf'
:[
'https://github.com/Elphel/elphel-apps-editconf.git'
,
'master'
,
''
],
'elphel-init'
:[
'https://github.com/Elphel/elphel-init.git'
,
'master'
,
''
],
'elphel-web-hwmon'
:[
'https://github.com/Elphel/elphel-web-hwmon.git'
,
'master'
,
''
],
'elphel-apps-tempmon'
:[
'https://github.com/Elphel/elphel-apps-tempmon.git'
,
'master'
,
''
],
'elphel-apps-gps'
:[
'https://github.com/Elphel/elphel-apps-gps.git'
,
'master'
,
''
],
},
'tools'
:
{
'elphel-tools-update'
:[
'https://github.com/Elphel/elphel-tools-update.git'
,
'master'
,
''
]
},
}
import
json
with
open
(
'projects.json'
)
as
data_file
:
Projects
=
json
.
load
(
data_file
)
#http://stackoverflow.com/questions/287871/print-in-terminal-with-colors-using-python
class
bcolors
:
...
...
test_json.py
0 → 100644
View file @
ba4accdb
import
json
with
open
(
'projects.json'
)
as
data_file
:
Projects
=
json
.
load
(
data_file
)
for
p
,
v
in
Projects
.
items
():
print
(
" "
+
p
+
":"
)
if
isinstance
(
v
,
dict
):
for
k
,
l
in
v
.
items
():
print
(
" "
+
k
+
":"
)
tmpstr
=
" "
for
e
in
l
:
if
e
==
""
:
e
=
"
\"\"
"
tmpstr
+=
" "
+
e
print
(
tmpstr
)
elif
isinstance
(
v
,
list
):
tmpstr
=
" "
for
e
in
v
:
tmpstr
+=
" "
+
e
print
(
tmpstr
)
print
(
"
\n
0 errors
\n
"
)
\ No newline at end of file
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