summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-01 11:47:13 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-19 18:04:01 +0100
commit048c1467e2e077076213ec01c4f0d1f181434e4c (patch)
tree7f07f7ade69bd1bc2ed9049228ea1849464aeb02 /bitbake/lib/bb/fetch2
parente1db6a16905f1f7af73e92019b8124881701b81a (diff)
downloadpoky-048c1467e2e077076213ec01c4f0d1f181434e4c.tar.gz
bitbake: bitbake: Drop duplicate license boilerplace text
With the introduction of SPDX-License-Identifier headers, we don't need a ton of header boilerplate in every file. Simplify the files and rely on the top level for the full licence text. (Bitbake rev: 34ed28a412af642a993642c14bd8b95d5ef22cd8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py13
-rw-r--r--bitbake/lib/bb/fetch2/bzr.py12
-rw-r--r--bitbake/lib/bb/fetch2/clearcase.py13
-rw-r--r--bitbake/lib/bb/fetch2/cvs.py15
-rw-r--r--bitbake/lib/bb/fetch2/git.py12
-rw-r--r--bitbake/lib/bb/fetch2/gitannex.py12
-rw-r--r--bitbake/lib/bb/fetch2/gitsm.py12
-rw-r--r--bitbake/lib/bb/fetch2/hg.py14
-rw-r--r--bitbake/lib/bb/fetch2/local.py14
-rw-r--r--bitbake/lib/bb/fetch2/perforce.py13
-rw-r--r--bitbake/lib/bb/fetch2/repo.py14
-rw-r--r--bitbake/lib/bb/fetch2/s3.py13
-rw-r--r--bitbake/lib/bb/fetch2/sftp.py13
-rw-r--r--bitbake/lib/bb/fetch2/ssh.py12
-rw-r--r--bitbake/lib/bb/fetch2/svn.py13
-rw-r--r--bitbake/lib/bb/fetch2/wget.py13
16 files changed, 4 insertions, 204 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index f99d79f0a1..84327c2f8f 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -12,19 +12,6 @@ BitBake build tools.
12# 12#
13# SPDX-License-Identifier: GPL-2.0-only 13# SPDX-License-Identifier: GPL-2.0-only
14# 14#
15# This program is free software; you can redistribute it and/or modify
16# it under the terms of the GNU General Public License version 2 as
17# published by the Free Software Foundation.
18#
19# This program is distributed in the hope that it will be useful,
20# but WITHOUT ANY WARRANTY; without even the implied warranty of
21# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22# GNU General Public License for more details.
23#
24# You should have received a copy of the GNU General Public License along
25# with this program; if not, write to the Free Software Foundation, Inc.,
26# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
27#
28# Based on functions from the base bb module, Copyright 2003 Holger Schurig 15# Based on functions from the base bb module, Copyright 2003 Holger Schurig
29 16
30import os, re 17import os, re
diff --git a/bitbake/lib/bb/fetch2/bzr.py b/bitbake/lib/bb/fetch2/bzr.py
index 891fef9b9d..c56d875300 100644
--- a/bitbake/lib/bb/fetch2/bzr.py
+++ b/bitbake/lib/bb/fetch2/bzr.py
@@ -12,18 +12,6 @@ BitBake 'Fetch' implementation for bzr.
12# 12#
13# SPDX-License-Identifier: GPL-2.0-only 13# SPDX-License-Identifier: GPL-2.0-only
14# 14#
15# This program is free software; you can redistribute it and/or modify
16# it under the terms of the GNU General Public License version 2 as
17# published by the Free Software Foundation.
18#
19# This program is distributed in the hope that it will be useful,
20# but WITHOUT ANY WARRANTY; without even the implied warranty of
21# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22# GNU General Public License for more details.
23#
24# You should have received a copy of the GNU General Public License along
25# with this program; if not, write to the Free Software Foundation, Inc.,
26# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
27 15
28import os 16import os
29import sys 17import sys
diff --git a/bitbake/lib/bb/fetch2/clearcase.py b/bitbake/lib/bb/fetch2/clearcase.py
index ff181bb78b..09c9d0c33c 100644
--- a/bitbake/lib/bb/fetch2/clearcase.py
+++ b/bitbake/lib/bb/fetch2/clearcase.py
@@ -49,19 +49,6 @@ User credentials:
49# 49#
50# SPDX-License-Identifier: GPL-2.0-only 50# SPDX-License-Identifier: GPL-2.0-only
51# 51#
52# This program is free software; you can redistribute it and/or modify
53# it under the terms of the GNU General Public License version 2 as
54# published by the Free Software Foundation.
55#
56# This program is distributed in the hope that it will be useful,
57# but WITHOUT ANY WARRANTY; without even the implied warranty of
58# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
59# GNU General Public License for more details.
60#
61# You should have received a copy of the GNU General Public License along
62# with this program; if not, write to the Free Software Foundation, Inc.,
63# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
64#
65 52
66import os 53import os
67import sys 54import sys
diff --git a/bitbake/lib/bb/fetch2/cvs.py b/bitbake/lib/bb/fetch2/cvs.py
index 666f4be2bc..c780a6a45d 100644
--- a/bitbake/lib/bb/fetch2/cvs.py
+++ b/bitbake/lib/bb/fetch2/cvs.py
@@ -12,20 +12,7 @@ BitBake build tools.
12# 12#
13# SPDX-License-Identifier: GPL-2.0-only 13# SPDX-License-Identifier: GPL-2.0-only
14# 14#
15# This program is free software; you can redistribute it and/or modify 15# Based on functions from the base bb module, Copyright 2003 Holger Schurig
16# it under the terms of the GNU General Public License version 2 as
17# published by the Free Software Foundation.
18#
19# This program is distributed in the hope that it will be useful,
20# but WITHOUT ANY WARRANTY; without even the implied warranty of
21# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22# GNU General Public License for more details.
23#
24# You should have received a copy of the GNU General Public License along
25# with this program; if not, write to the Free Software Foundation, Inc.,
26# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
27#
28#Based on functions from the base bb module, Copyright 2003 Holger Schurig
29# 16#
30 17
31import os 18import os
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py
index 78ad18cc7a..80caf109b1 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -59,18 +59,6 @@ Supported SRC_URI options are:
59# 59#
60# SPDX-License-Identifier: GPL-2.0-only 60# SPDX-License-Identifier: GPL-2.0-only
61# 61#
62# This program is free software; you can redistribute it and/or modify
63# it under the terms of the GNU General Public License version 2 as
64# published by the Free Software Foundation.
65#
66# This program is distributed in the hope that it will be useful,
67# but WITHOUT ANY WARRANTY; without even the implied warranty of
68# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
69# GNU General Public License for more details.
70#
71# You should have received a copy of the GNU General Public License along
72# with this program; if not, write to the Free Software Foundation, Inc.,
73# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
74 62
75import collections 63import collections
76import errno 64import errno
diff --git a/bitbake/lib/bb/fetch2/gitannex.py b/bitbake/lib/bb/fetch2/gitannex.py
index 3a32c85a83..939e058127 100644
--- a/bitbake/lib/bb/fetch2/gitannex.py
+++ b/bitbake/lib/bb/fetch2/gitannex.py
@@ -9,18 +9,6 @@ BitBake 'Fetch' git annex implementation
9# 9#
10# SPDX-License-Identifier: GPL-2.0-only 10# SPDX-License-Identifier: GPL-2.0-only
11# 11#
12# This program is free software; you can redistribute it and/or modify
13# it under the terms of the GNU General Public License version 2 as
14# published by the Free Software Foundation.
15#
16# This program is distributed in the hope that it will be useful,
17# but WITHOUT ANY WARRANTY; without even the implied warranty of
18# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19# GNU General Public License for more details.
20#
21# You should have received a copy of the GNU General Public License along
22# with this program; if not, write to the Free Software Foundation, Inc.,
23# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
24 12
25import os 13import os
26import bb 14import bb
diff --git a/bitbake/lib/bb/fetch2/gitsm.py b/bitbake/lib/bb/fetch2/gitsm.py
index 719d6cd4bc..0b3abe4c8c 100644
--- a/bitbake/lib/bb/fetch2/gitsm.py
+++ b/bitbake/lib/bb/fetch2/gitsm.py
@@ -18,18 +18,6 @@ NOTE: Switching a SRC_URI from "git://" to "gitsm://" requires a clean of your r
18# 18#
19# SPDX-License-Identifier: GPL-2.0-only 19# SPDX-License-Identifier: GPL-2.0-only
20# 20#
21# This program is free software; you can redistribute it and/or modify
22# it under the terms of the GNU General Public License version 2 as
23# published by the Free Software Foundation.
24#
25# This program is distributed in the hope that it will be useful,
26# but WITHOUT ANY WARRANTY; without even the implied warranty of
27# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28# GNU General Public License for more details.
29#
30# You should have received a copy of the GNU General Public License along
31# with this program; if not, write to the Free Software Foundation, Inc.,
32# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
33 21
34import os 22import os
35import bb 23import bb
diff --git a/bitbake/lib/bb/fetch2/hg.py b/bitbake/lib/bb/fetch2/hg.py
index c9eeaaefca..289fcd14bf 100644
--- a/bitbake/lib/bb/fetch2/hg.py
+++ b/bitbake/lib/bb/fetch2/hg.py
@@ -9,22 +9,10 @@ BitBake 'Fetch' implementation for mercurial DRCS (hg).
9# Copyright (C) 2004 Marcin Juszkiewicz 9# Copyright (C) 2004 Marcin Juszkiewicz
10# Copyright (C) 2007 Robert Schuster 10# Copyright (C) 2007 Robert Schuster
11# 11#
12# This program is free software; you can redistribute it and/or modify
13# it under the terms of the GNU General Public License version 2 as
14# published by the Free Software Foundation.
15#
16# SPDX-License-Identifier: GPL-2.0-only 12# SPDX-License-Identifier: GPL-2.0-only
17# 13#
18# This program is distributed in the hope that it will be useful,
19# but WITHOUT ANY WARRANTY; without even the implied warranty of
20# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21# GNU General Public License for more details.
22#
23# You should have received a copy of the GNU General Public License along
24# with this program; if not, write to the Free Software Foundation, Inc.,
25# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
26#
27# Based on functions from the base bb module, Copyright 2003 Holger Schurig 14# Based on functions from the base bb module, Copyright 2003 Holger Schurig
15#
28 16
29import os 17import os
30import sys 18import sys
diff --git a/bitbake/lib/bb/fetch2/local.py b/bitbake/lib/bb/fetch2/local.py
index 13e6d80b5b..b04476fe48 100644
--- a/bitbake/lib/bb/fetch2/local.py
+++ b/bitbake/lib/bb/fetch2/local.py
@@ -12,20 +12,8 @@ BitBake build tools.
12# 12#
13# SPDX-License-Identifier: GPL-2.0-only 13# SPDX-License-Identifier: GPL-2.0-only
14# 14#
15# This program is free software; you can redistribute it and/or modify
16# it under the terms of the GNU General Public License version 2 as
17# published by the Free Software Foundation.
18#
19# This program is distributed in the hope that it will be useful,
20# but WITHOUT ANY WARRANTY; without even the implied warranty of
21# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22# GNU General Public License for more details.
23#
24# You should have received a copy of the GNU General Public License along
25# with this program; if not, write to the Free Software Foundation, Inc.,
26# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
27#
28# Based on functions from the base bb module, Copyright 2003 Holger Schurig 15# Based on functions from the base bb module, Copyright 2003 Holger Schurig
16#
29 17
30import os 18import os
31import urllib.request, urllib.parse, urllib.error 19import urllib.request, urllib.parse, urllib.error
diff --git a/bitbake/lib/bb/fetch2/perforce.py b/bitbake/lib/bb/fetch2/perforce.py
index 366da99eab..a03a36d340 100644
--- a/bitbake/lib/bb/fetch2/perforce.py
+++ b/bitbake/lib/bb/fetch2/perforce.py
@@ -10,19 +10,6 @@ BitBake 'Fetch' implementation for perforce
10# 10#
11# SPDX-License-Identifier: GPL-2.0-only 11# SPDX-License-Identifier: GPL-2.0-only
12# 12#
13# This program is free software; you can redistribute it and/or modify
14# it under the terms of the GNU General Public License version 2 as
15# published by the Free Software Foundation.
16#
17# This program is distributed in the hope that it will be useful,
18# but WITHOUT ANY WARRANTY; without even the implied warranty of
19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20# GNU General Public License for more details.
21#
22# You should have received a copy of the GNU General Public License along
23# with this program; if not, write to the Free Software Foundation, Inc.,
24# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
25#
26# Based on functions from the base bb module, Copyright 2003 Holger Schurig 13# Based on functions from the base bb module, Copyright 2003 Holger Schurig
27 14
28import os 15import os
diff --git a/bitbake/lib/bb/fetch2/repo.py b/bitbake/lib/bb/fetch2/repo.py
index 066ab08fc3..cd752d5283 100644
--- a/bitbake/lib/bb/fetch2/repo.py
+++ b/bitbake/lib/bb/fetch2/repo.py
@@ -8,22 +8,10 @@ BitBake "Fetch" repo (git) implementation
8# Copyright (C) 2009 Tom Rini <trini@embeddedalley.com> 8# Copyright (C) 2009 Tom Rini <trini@embeddedalley.com>
9# 9#
10# Based on git.py which is: 10# Based on git.py which is:
11#Copyright (C) 2005 Richard Purdie 11# Copyright (C) 2005 Richard Purdie
12# 12#
13# SPDX-License-Identifier: GPL-2.0-only 13# SPDX-License-Identifier: GPL-2.0-only
14# 14#
15# This program is free software; you can redistribute it and/or modify
16# it under the terms of the GNU General Public License version 2 as
17# published by the Free Software Foundation.
18#
19# This program is distributed in the hope that it will be useful,
20# but WITHOUT ANY WARRANTY; without even the implied warranty of
21# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22# GNU General Public License for more details.
23#
24# You should have received a copy of the GNU General Public License along
25# with this program; if not, write to the Free Software Foundation, Inc.,
26# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
27 15
28import os 16import os
29import bb 17import bb
diff --git a/bitbake/lib/bb/fetch2/s3.py b/bitbake/lib/bb/fetch2/s3.py
index fae7c8b0f0..479528f926 100644
--- a/bitbake/lib/bb/fetch2/s3.py
+++ b/bitbake/lib/bb/fetch2/s3.py
@@ -15,19 +15,6 @@ The aws tool must be correctly installed and configured prior to use.
15# 15#
16# SPDX-License-Identifier: GPL-2.0-only 16# SPDX-License-Identifier: GPL-2.0-only
17# 17#
18# This program is free software; you can redistribute it and/or modify
19# it under the terms of the GNU General Public License version 2 as
20# published by the Free Software Foundation.
21#
22# This program is distributed in the hope that it will be useful,
23# but WITHOUT ANY WARRANTY; without even the implied warranty of
24# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25# GNU General Public License for more details.
26#
27# You should have received a copy of the GNU General Public License along
28# with this program; if not, write to the Free Software Foundation, Inc.,
29# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
30#
31# Based on functions from the base bb module, Copyright 2003 Holger Schurig 18# Based on functions from the base bb module, Copyright 2003 Holger Schurig
32 19
33import os 20import os
diff --git a/bitbake/lib/bb/fetch2/sftp.py b/bitbake/lib/bb/fetch2/sftp.py
index 6dea6ad6b2..f4a979197a 100644
--- a/bitbake/lib/bb/fetch2/sftp.py
+++ b/bitbake/lib/bb/fetch2/sftp.py
@@ -46,19 +46,6 @@ SRC_URI = "sftp://user@host.example.com/dir/path.file.txt"
46# 46#
47# SPDX-License-Identifier: GPL-2.0-only 47# SPDX-License-Identifier: GPL-2.0-only
48# 48#
49# This program is free software; you can redistribute it and/or modify
50# it under the terms of the GNU General Public License version 2 as
51# published by the Free Software Foundation.
52#
53# This program is distributed in the hope that it will be useful,
54# but WITHOUT ANY WARRANTY; without even the implied warranty of
55# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
56# GNU General Public License for more details.
57#
58# You should have received a copy of the GNU General Public License along
59# with this program; if not, write to the Free Software Foundation, Inc.,
60# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
61#
62# Based on functions from the base bb module, Copyright 2003 Holger Schurig 49# Based on functions from the base bb module, Copyright 2003 Holger Schurig
63 50
64import os 51import os
diff --git a/bitbake/lib/bb/fetch2/ssh.py b/bitbake/lib/bb/fetch2/ssh.py
index d416a9db87..be2427cf9a 100644
--- a/bitbake/lib/bb/fetch2/ssh.py
+++ b/bitbake/lib/bb/fetch2/ssh.py
@@ -31,18 +31,6 @@ IETF secsh internet draft:
31# 31#
32# SPDX-License-Identifier: GPL-2.0-only 32# SPDX-License-Identifier: GPL-2.0-only
33# 33#
34# This program is free software; you can redistribute it and/or modify
35# it under the terms of the GNU General Public License version 2 as
36# published by the Free Software Foundation.
37#
38# This program is distributed in the hope that it will be useful,
39# but WITHOUT ANY WARRANTY; without even the implied warranty of
40# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
41# GNU General Public License for more details.
42#
43# You should have received a copy of the GNU General Public License along
44# with this program; if not, write to the Free Software Foundation, Inc.,
45# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
46 34
47import re, os 35import re, os
48from bb.fetch2 import FetchMethod 36from bb.fetch2 import FetchMethod
diff --git a/bitbake/lib/bb/fetch2/svn.py b/bitbake/lib/bb/fetch2/svn.py
index 4249e34c49..6a82da9d52 100644
--- a/bitbake/lib/bb/fetch2/svn.py
+++ b/bitbake/lib/bb/fetch2/svn.py
@@ -10,19 +10,6 @@ BitBake 'Fetch' implementation for svn.
10# 10#
11# SPDX-License-Identifier: GPL-2.0-only 11# SPDX-License-Identifier: GPL-2.0-only
12# 12#
13# This program is free software; you can redistribute it and/or modify
14# it under the terms of the GNU General Public License version 2 as
15# published by the Free Software Foundation.
16#
17# This program is distributed in the hope that it will be useful,
18# but WITHOUT ANY WARRANTY; without even the implied warranty of
19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20# GNU General Public License for more details.
21#
22# You should have received a copy of the GNU General Public License along
23# with this program; if not, write to the Free Software Foundation, Inc.,
24# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
25#
26# Based on functions from the base bb module, Copyright 2003 Holger Schurig 13# Based on functions from the base bb module, Copyright 2003 Holger Schurig
27 14
28import os 15import os
diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2/wget.py
index 89dfd4a7b2..143db1b361 100644
--- a/bitbake/lib/bb/fetch2/wget.py
+++ b/bitbake/lib/bb/fetch2/wget.py
@@ -12,19 +12,6 @@ BitBake build tools.
12# 12#
13# SPDX-License-Identifier: GPL-2.0-only 13# SPDX-License-Identifier: GPL-2.0-only
14# 14#
15# This program is free software; you can redistribute it and/or modify
16# it under the terms of the GNU General Public License version 2 as
17# published by the Free Software Foundation.
18#
19# This program is distributed in the hope that it will be useful,
20# but WITHOUT ANY WARRANTY; without even the implied warranty of
21# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22# GNU General Public License for more details.
23#
24# You should have received a copy of the GNU General Public License along
25# with this program; if not, write to the Free Software Foundation, Inc.,
26# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
27#
28# Based on functions from the base bb module, Copyright 2003 Holger Schurig 15# Based on functions from the base bb module, Copyright 2003 Holger Schurig
29 16
30import re 17import re