Skip to content

Commit d6d18ee

Browse files
authored
Merge pull request #93 from fosslight/temp_yaml
Add new format of oss-pkg-info.yaml
2 parents 029e3e6 + a9d4c44 commit d6d18ee

File tree

2 files changed

+68
-25
lines changed

2 files changed

+68
-25
lines changed

tests/convert/oss-pkg-info.yaml

Lines changed: 32 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,34 @@
1-
Open Source Software Package:
2-
- name: glibc
3-
version: 2.3
4-
source: https://github.com/fsfe/glibc
5-
license:
6-
- GPL-3.0
7-
- LGPL-2.1
8-
file :
1+
libidn:
2+
- version: "1.5"
3+
source name or path:
94
- a.c
105
- b.c
11-
- name : dbus
12-
version : 1.3
13-
source : https://github.com/fsfe/dbus
14-
license : GPL-2.0
15-
file : src/*
16-
copyright : |
17-
Copyright (c) 2020 Test
18-
Copyright (c) 2020 Sample
19-
- name : reuse-tool
20-
source : https://github.com/fsfe/reuse
21-
homepage : http://google.com
22-
license : MIT
23-
copyright: Copyright (c) 2020 Test
24-
- name : build-tool
25-
source : http://gihub.com/bazel
26-
license : Apache-2.0
27-
exclude : True
6+
license:
7+
- "GPL-3.0"
8+
- "LGPL-2.1"
9+
download location: "http://ftp.gnu.org/gnu/libidn"
10+
homepage: "https://www.gnu.org/software/libidn"
11+
copyright text: "Copyright (c) 2002-2007, Simon Josefsson"
12+
node-backoff:
13+
- version: "2.5.0"
14+
source name or path: "src/*"
15+
license: "MIT"
16+
download location: "https://github.com/MathieuTurcotte/node-backoff"
17+
homepage: "https://www.npmjs.com/package/backoff"
18+
copyright text: "Copyright (c) 2012 Mathieu Turcotte"
19+
exclude: True
20+
rsync:
21+
- version: "2.6.9"
22+
source name or path: "test/tool"
23+
license: "GPL-2.0"
24+
download location: "https://download.samba.org/pub/rsync/src"
25+
homepage: "http://rsync.samba.org"
26+
- version: "3.1.2"
27+
source name or path: "test/tool"
28+
license: "GPL-3.0"
29+
download location: "https://download.samba.org/pub/rsync/src"
30+
homepage: "http://rsync.samba.org"
31+
copyright text:
32+
- "Copyright (c) 1996 Andrew Tridgell"
33+
- "Copyright (c) 1996 Paul Mackerras"
34+
- "Copyright (c) 2003-2015 Wayne Davison"
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
Open Source Software Package:
2+
- name: libidn
3+
version: 1.5
4+
source: http://ftp.gnu.org/gnu/libidn
5+
homepage: https://www.gnu.org/software/libidn
6+
license:
7+
- GPL-3.0
8+
- LGPL-2.1
9+
file:
10+
- a.c
11+
- b.c
12+
copyright: Copyright (c) 2002-2007, Simon Josefsson
13+
- name: node-backoff
14+
version: 2.5.0
15+
source: https://github.com/MathieuTurcotte/node-backoff
16+
homepage: https://www.npmjs.com/package/backoff
17+
license: MIT
18+
file: src/*
19+
copyright: Copyright (c) 2012 Mathieu Turcotte
20+
exclude: True
21+
- name: rsync
22+
version: 2.6.9
23+
source: https://download.samba.org/pub/rsync/src
24+
homepage: http://rsync.samba.org
25+
license: GPL-2.0
26+
file: test/tool
27+
- name: rsync
28+
version: 3.1.2
29+
source: https://download.samba.org/pub/rsync/src
30+
homepage: http://rsync.samba.org
31+
license: GPL-3.0
32+
file: test/tool
33+
copyright text: |
34+
Copyright (c) 1996 Andrew Tridgell
35+
Copyright (c) 1996 Paul Mackerras
36+
Copyright (c) 2003-2015 Wayne Davison

0 commit comments

Comments
 (0)