This file is indexed.

/usr/share/quickly/templates/ubuntu-application/test/configure.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
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
#!/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

## Test configure lp-project

grep url= setup.py
#     #url='https://launchpad.net/test-project',

grep website data/ui/AboutTestProjectDialog.ui

grep lp_id .quickly

quickly configure lp-project gpoweroff
# Get Launchpad Settings
# Launchpad connection is ok
# Creating new apport crashdb configuration
# Creating new apport hooks

grep lp_id .quickly
# lp_id = gpoweroff

grep url= setup.py
#     url='https://launchpad.net/gpoweroff',

grep website data/ui/AboutTestProjectDialog.ui | sed 's|</property>.*|</property>|'
#     <property name="website">https://launchpad.net/gpoweroff</property>

(echo hudson-notifier > tmp)

quickly configure lp-project < tmp
# Get Launchpad Settings
# Launchpad connection is ok
# Updating project name references in existing apport crashdb configuration

grep lp_id .quickly
# lp_id = hudson-notifier

grep url= setup.py
#     url='https://launchpad.net/hudson-notifier',

grep website data/ui/AboutTestProjectDialog.ui | sed 's|</property>.*|</property>|'
#     <property name="website">https://launchpad.net/hudson-notifier</property>

## Test configure bzr

quickly configure bzr
# Usage: quickly configure bzr <bzr-branch-string>

quickly configure bzr 1 2
# Usage: quickly configure bzr <bzr-branch-string>

grep bzrbranch .quickly

quickly configure bzr lp:gpoweroff

grep bzrbranch .quickly
# bzrbranch = lp:gpoweroff

quickly configure bzr lp:hudson-notifier

grep bzrbranch .quickly
# bzrbranch = lp:hudson-notifier

## Test configure target_distribution

quickly configure target_distribution
# Usage: quickly configure target-distribution <ubuntu-release-name>

quickly configure target_distribution 1 2
# Usage: quickly configure target-distribution <ubuntu-release-name>

grep target_distribution .quickly

## For the eventual Quickly Quetzal release (note that we test both underscore and dash for this command)

quickly configure target_distribution quickly

grep target_distribution .quickly
# target_distribution = quickly

quickly configure target-distribution slowly

grep target_distribution .quickly
# target_distribution = slowly

## Test configure dependencies

grep dependencies .quickly

(echo -e one, potato \\n two potato > tmp)

quickly configure dependencies < tmp

grep dependencies .quickly
# dependencies = one, potato, two potato

(echo blarg > tmp)

quickly configure dependencies < tmp

grep dependencies .quickly
# dependencies = blarg

## test configure ppa

quickly configure ppa
# Usage: quickly configure ppa <ppa-name>
# 
# Use shell completion to find all available PPAs

quickly configure ppa 1 2
# Usage: quickly configure ppa <ppa-name>
# 
# Use shell completion to find all available PPAs

quickly configure ppa quickly-does-not-exist/does-not-exist
# Get Launchpad Settings
# Launchpad connection is ok
# User or team quickly-does-not-exist not found on Launchpad
# ERROR: configure command failed
# Aborting

quickly configure ppa bug-watch-updater/does-not-exist
# Get Launchpad Settings
# Launchpad connection is ok
# You have to be a member of bug-watch-updater team to upload to its PPAs
# ERROR: configure command failed
# Aborting

quickly configure ppa quickly/does-not-exist
# Get Launchpad Settings
# Launchpad connection is ok
# ppa:quickly:does-not-exist does not exist. Please create it on launchpad if you want to upload to it. quickly has the following PPAs available:
# daily-build - Daily build
# ppa - quickly
# ERROR: configure command failed
# Aborting

grep ppa .quickly

quickly configure ppa quickly/ppa
# Get Launchpad Settings
# Launchpad connection is ok

grep ppa .quickly
# ppa = quickly/ppa

quickly configure ppa quickly/daily-build
# Get Launchpad Settings
# Launchpad connection is ok

grep ppa .quickly
# ppa = quickly/daily-build