This file is indexed.

/usr/share/quickly/templates/ubuntu-application/test/license.sh is in quickly-ubuntu-template 12.08.1-0ubuntu2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
#!/bin/sh

cd /tmp

rm -rf test-project*

quickly create ubuntu-application test-project
# Creating bzr repository and committing
# Congrats, your new project is setup! cd /tmp/test-project/ to start hacking.
# Creating project directory test-project

cd test-project

quickly license
# Copyright is not attributed. Edit the AUTHORS file to include your name for the copyright replacing <Your Name> <Your E-mail>. Update it in setup.py or use quickly share/quickly release to fill it automatically
# ERROR: license command failed
# Aborting

quickly license GPL-2 GPL-3
# ERROR: This command only take one optional argument.
# Usage: quickly license [license-name]
# Candidate licenses: Apache-2.0, BSD, GPL-2, GPL-3, LGPL-2, LGPL-3, MIT, other

quickly license GPL-0
# ERROR: Unknown licence GPL-0.
# Usage: quickly license [license-name]
# Candidate licenses: Apache-2.0, BSD, GPL-2, GPL-3, LGPL-2, LGPL-3, MIT, other

(echo "Copyright (C) 2010 Oliver Twist <twist@example.com>" > AUTHORS)

(echo "This file is licensed under the OTL (Oliver Twist License)" > COPYING)

quickly license
# COPYING contains an unknown license.  Please run 'quickly license other' to confirm that you want to use a custom license.
# ERROR: license command failed
# Aborting

quickly license other

grep license= setup.py
#     license='other',

grep "Oliver Twist License" setup.py
# # This file is licensed under the OTL (Oliver Twist License)

cat COPYING
# This file is licensed under the OTL (Oliver Twist License)

sed -i "s/license=.*,/#license='other',/" setup.py

cp /usr/share/common-licenses/BSD COPYING

quickly license

diff -q /usr/share/common-licenses/BSD COPYING

grep license= setup.py
#     license='BSD',

grep "The Regents of the University of California" setup.py
# # Copyright (c) The Regents of the University of California.

sed -i "s/license=.*,/license='GPL-2',/" setup.py

quickly license

grep license= setup.py
#     license='GPL-2',

grep "General Public License version" setup.py
# # under the terms of the GNU General Public License version 2, as published 

grep -A 1 -m 1 "GENERAL PUBLIC LICENSE" COPYING
#                     GNU GENERAL PUBLIC LICENSE
#                        Version 2, June 1991

quickly license GPL-3

grep license= setup.py
#     license='GPL-3',

grep "General Public License version" setup.py
# # under the terms of the GNU General Public License version 3, as published 

grep -A 1 -m 1 "GENERAL PUBLIC LICENSE" COPYING
#                     GNU GENERAL PUBLIC LICENSE
#                        Version 3, 29 June 2007