Merge lp:~david.wonderly/locolint/mergeadd into lp:locolint

Proposed by David Wonderly
Status: Needs review
Proposed branch: lp:~david.wonderly/locolint/mergeadd
Merge into: lp:locolint
Diff against target: 2283 lines (+842/-1317) (has conflicts)
24 files modified
Changelog (+0/-10)
ISO_CODES (+0/-247)
docs/Makefile (+0/-34)
docs/lintco.1 (+0/-134)
generate_dict.sh (+0/-5)
locolint/__init__.py (+0/-3)
locolint/functions/__init__.py (+0/-18)
locolint/functions/admins.py (+0/-111)
locolint/functions/cleanup.py (+0/-52)
locolint/functions/copyright.py (+0/-20)
locolint/functions/moo.py (+0/-35)
locolint/functions/name-check.py (+0/-24)
locolint/functions/name-lint.py (+0/-28)
locolint/functions/re-app.py (+0/-81)
locolint/functions/whoami.py (+0/-24)
locolint/io.py (+0/-43)
locolint/iso_codes.py (+0/-249)
locolint/lint.py (+0/-38)
locolint/locoteams.py (+0/-23)
locolint/lp.py (+0/-47)
locolint/module.py (+0/-22)
setup.py (+0/-69)
translations/de.po (+421/-0)
translations/es.po (+421/-0)
Conflict: can't delete docs because it is not empty.  Not deleting.
Conflict because docs is not versioned, but has versioned children.  Versioned directory.
Contents conflict in docs/lintco.txt
Contents conflict in lintco
Conflict: can't delete locolint because it is not empty.  Not deleting.
Conflict because locolint is not versioned, but has versioned children.  Versioned directory.
Conflict: can't delete locolint/functions because it is not empty.  Not deleting.
Conflict because locolint/functions is not versioned, but has versioned children.  Versioned directory.
Contents conflict in locolint/functions/pending-apps.py
Contents conflict in locolint/functions/report-issue.py
Contents conflict in locolint/settings.py
To merge this branch: bzr merge lp:~david.wonderly/locolint/mergeadd
Reviewer Review Type Date Requested Status
Paul Tagliamonte Pending
Review via email: mp+65081@code.launchpad.net

Description of the change

Test Merge

To post a comment you must log in.

Unmerged revisions

55. By David Wonderly

Testing

54. By Launchpad Translations on behalf of paultag

Launchpad automatic translations update.

53. By Launchpad Translations on behalf of paultag

Launchpad automatic translations update.

52. By Paul Tagliamonte

removing project data. I have no idea why I pushed all that in.

51. By Launchpad Translations on behalf of paultag

Launchpad automatic translations update.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== removed file 'Changelog'
2--- Changelog 2010-11-10 02:39:22 +0000
3+++ Changelog 1970-01-01 00:00:00 +0000
4@@ -1,10 +0,0 @@
5-Release 2 (on-the-run) -- UNRELEASED
6- [ Paul Tagliamonte ]
7- * Adding in a re-app tool to file new re-approval
8- application tickets in less time then needed before.
9- * Adding in a tool to list all pending re-applications
10- * Fixed io module to wrap the text around.
11-
12-Release 1 (breathe) -- 2010.11.5
13- [ Paul Tagliamonte ]
14- * Initial Release
15
16=== removed file 'ISO_CODES'
17--- ISO_CODES 2010-10-28 16:47:03 +0000
18+++ ISO_CODES 1970-01-01 00:00:00 +0000
19@@ -1,247 +0,0 @@
20-AFGHANISTAN AF
21-ALAND ISLANDS AX
22-ALBANIA AL
23-ALGERIA DZ
24-AMERICAN SAMOA AS
25-ANDORRA AD
26-ANGOLA AO
27-ANGUILLA AI
28-ANTARCTICA AQ
29-ANTIGUA AND BARBUDA AG
30-ARGENTINA AR
31-ARMENIA AM
32-ARUBA AW
33-AUSTRALIA AU
34-AUSTRIA AT
35-AZERBAIJAN AZ
36-BAHAMAS BS
37-BAHRAIN BH
38-BANGLADESH BD
39-BARBADOS BB
40-BELARUS BY
41-BELGIUM BE
42-BELIZE BZ
43-BENIN BJ
44-BERMUDA BM
45-BHUTAN BT
46-BOLIVIA, PLURINATIONAL STATE OF BO
47-BOSNIA AND HERZEGOVINA BA
48-BOTSWANA BW
49-BOUVET ISLAND BV
50-BRAZIL BR
51-BRITISH INDIAN OCEAN TERRITORY IO
52-BRUNEI DARUSSALAM BN
53-BULGARIA BG
54-BURKINA FASO BF
55-BURUNDI BI
56-CAMBODIA KH
57-CAMEROON CM
58-CANADA CA
59-CAPE VERDE CV
60-CAYMAN ISLANDS KY
61-CENTRAL AFRICAN REPUBLIC CF
62-CHAD TD
63-CHILE CL
64-CHINA CN
65-CHRISTMAS ISLAND CX
66-COCOS (KEELING) ISLANDS CC
67-COLOMBIA CO
68-COMOROS KM
69-CONGO CG
70-CONGO, THE DEMOCRATIC REPUBLIC OF THE CD
71-COOK ISLANDS CK
72-COSTA RICA CR
73-COTE D'IVOIRE CI
74-CROATIA HR
75-CUBA CU
76-CYPRUS CY
77-CZECH REPUBLIC CZ
78-DENMARK DK
79-DJIBOUTI DJ
80-DOMINICA DM
81-DOMINICAN REPUBLIC DO
82-ECUADOR EC
83-EGYPT EG
84-EL SALVADOR SV
85-EQUATORIAL GUINEA GQ
86-ERITREA ER
87-ESTONIA EE
88-ETHIOPIA ET
89-FALKLAND ISLANDS (MALVINAS) FK
90-FAROE ISLANDS FO
91-FIJI FJ
92-FINLAND FI
93-FRANCE FR
94-FRENCH GUIANA GF
95-FRENCH POLYNESIA PF
96-FRENCH SOUTHERN TERRITORIES TF
97-GABON GA
98-GAMBIA GM
99-GEORGIA GE
100-GERMANY DE
101-GHANA GH
102-GIBRALTAR GI
103-GREECE GR
104-GREENLAND GL
105-GRENADA GD
106-GUADELOUPE GP
107-GUAM GU
108-GUATEMALA GT
109-GUERNSEY GG
110-GUINEA GN
111-GUINEA-BISSAU GW
112-GUYANA GY
113-HAITI HT
114-HEARD ISLAND AND MCDONALD ISLANDS HM
115-HOLY SEE (VATICAN CITY STATE) VA
116-HONDURAS HN
117-HONG KONG HK
118-HUNGARY HU
119-ICELAND IS
120-INDIA IN
121-INDONESIA ID
122-IRAN, ISLAMIC REPUBLIC OF IR
123-IRAQ IQ
124-IRELAND IE
125-ISLE OF MAN IM
126-ISRAEL IL
127-ITALY IT
128-JAMAICA JM
129-JAPAN JP
130-JERSEY JE
131-JORDAN JO
132-KAZAKHSTAN KZ
133-KENYA KE
134-KIRIBATI KI
135-KOREA, DEMOCRATIC PEOPLE'S REPUBLIC OF KP
136-KOREA, REPUBLIC OF KR
137-KUWAIT KW
138-KYRGYZSTAN KG
139-LAO PEOPLE'S DEMOCRATIC REPUBLIC LA
140-LATVIA LV
141-LEBANON LB
142-LESOTHO LS
143-LIBERIA LR
144-LIBYAN ARAB JAMAHIRIYA LY
145-LIECHTENSTEIN LI
146-LITHUANIA LT
147-LUXEMBOURG LU
148-MACAO MO
149-MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF MK
150-MADAGASCAR MG
151-MALAWI MW
152-MALAYSIA MY
153-MALDIVES MV
154-MALI ML
155-MALTA MT
156-MARSHALL ISLANDS MH
157-MARTINIQUE MQ
158-MAURITANIA MR
159-MAURITIUS MU
160-MAYOTTE YT
161-MEXICO MX
162-MICRONESIA, FEDERATED STATES OF FM
163-MOLDOVA, REPUBLIC OF MD
164-MONACO MC
165-MONGOLIA MN
166-MONTENEGRO ME
167-MONTSERRAT MS
168-MOROCCO MA
169-MOZAMBIQUE MZ
170-MYANMAR MM
171-NAMIBIA NA
172-NAURU NR
173-NEPAL NP
174-NETHERLANDS NL
175-NETHERLANDS ANTILLES AN
176-NEW CALEDONIA NC
177-NEW ZEALAND NZ
178-NICARAGUA NI
179-NIGER NE
180-NIGERIA NG
181-NIUE NU
182-NORFOLK ISLAND NF
183-NORTHERN MARIANA ISLANDS MP
184-NORWAY NO
185-OMAN OM
186-PAKISTAN PK
187-PALAU PW
188-PALESTINIAN TERRITORY, OCCUPIED PS
189-PANAMA PA
190-PAPUA NEW GUINEA PG
191-PARAGUAY PY
192-PERU PE
193-PHILIPPINES PH
194-PITCAIRN PN
195-POLAND PL
196-PORTUGAL PT
197-PUERTO RICO PR
198-QATAR QA
199-REUNION RE
200-ROMANIA RO
201-RUSSIAN FEDERATION RU
202-RWANDA RW
203-SAINT BARTHELEMY BL
204-SAINT HELENA, ASCENSION AND TRISTAN DA CUNHA SH
205-SAINT KITTS AND NEVIS KN
206-SAINT LUCIA LC
207-SAINT MARTIN MF
208-SAINT PIERRE AND MIQUELON PM
209-SAINT VINCENT AND THE GRENADINES VC
210-SAMOA WS
211-SAN MARINO SM
212-SAO TOME AND PRINCIPE ST
213-SAUDI ARABIA SA
214-SENEGAL SN
215-SERBIA RS
216-SEYCHELLES SC
217-SIERRA LEONE SL
218-SINGAPORE SG
219-SLOVAKIA SK
220-SLOVENIA SI
221-SOLOMON ISLANDS SB
222-SOMALIA SO
223-SOUTH AFRICA ZA
224-SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS GS
225-SPAIN ES
226-SRI LANKA LK
227-SUDAN SD
228-SURINAME SR
229-SVALBARD AND JAN MAYEN SJ
230-SWAZILAND SZ
231-SWEDEN SE
232-SWITZERLAND CH
233-SYRIAN ARAB REPUBLIC SY
234-TAIWAN, PROVINCE OF CHINA TW
235-TAJIKISTAN TJ
236-TANZANIA, UNITED REPUBLIC OF TZ
237-THAILAND TH
238-TIMOR-LESTE TL
239-TOGO TG
240-TOKELAU TK
241-TONGA TO
242-TRINIDAD AND TOBAGO TT
243-TUNISIA TN
244-TURKEY TR
245-TURKMENISTAN TM
246-TURKS AND CAICOS ISLANDS TC
247-TUVALU TV
248-UGANDA UG
249-UKRAINE UA
250-UNITED ARAB EMIRATES AE
251-UNITED KINGDOM GB
252-UNITED KINGDOM UK
253-UNITED STATES US
254-UNITED STATES MINOR OUTLYING ISLANDS UM
255-URUGUAY UY
256-UZBEKISTAN UZ
257-VANUATU VU
258-VENEZUELA, BOLIVARIAN REPUBLIC OF VE
259-VIET NAM VN
260-VIRGIN ISLANDS, BRITISH VG
261-VIRGIN ISLANDS, U.S. VI
262-WALLIS AND FUTUNA WF
263-WESTERN SAHARA EH
264-YEMEN YE
265-ZAMBIA ZM
266-ZIMBABWE ZW
267
268=== removed file 'docs/Makefile'
269--- docs/Makefile 2010-11-10 20:21:42 +0000
270+++ docs/Makefile 1970-01-01 00:00:00 +0000
271@@ -1,34 +0,0 @@
272-#
273-# create manpages from the asciidoc files
274-#
275-
276-SRC1 = lintco.txt
277-
278-MAN = $(SRC1:.txt=.1)
279-MANdotIN = $(addsuffix .in,$(MAN))
280-DISTFILES = $(addprefix ../,$(MANdotIN))
281-
282-all: $(MAN)
283-
284-dist: $(DISTFILES)
285-
286-clean:
287- rm -fv $(MAN)
288-
289-%.1 : %.xml
290- xmlto man $<
291-
292-%.5 : %.xml
293- xmlto man $<
294-
295-../%.1.in: %.1
296- cp $< $@
297-
298-../%.5.in: %.5
299- cp $< $@
300-
301-%.xml : %.txt
302- asciidoc -b docbook -d manpage -o $@ $<
303-
304-test:
305- cat ./*.1 | nroff -man | less
306
307=== removed file 'docs/lintco.1'
308--- docs/lintco.1 2010-11-10 20:16:46 +0000
309+++ docs/lintco.1 1970-01-01 00:00:00 +0000
310@@ -1,134 +0,0 @@
311-'\" t
312-.\" Title: fbautostart
313-.\" Author: [see the "AUTHORS" section]
314-.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
315-.\" Date: 11/10/2010
316-.\" Manual: LoCoLint Manual
317-.\" Source: lintco.txt
318-.\" Language: English
319-.\"
320-.TH "FBAUTOSTART" "1" "11/10/2010" "lintco\&.txt" "LoCoLint Manual"
321-.\" -----------------------------------------------------------------
322-.\" * Define some portability stuff
323-.\" -----------------------------------------------------------------
324-.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
325-.\" http://bugs.debian.org/507673
326-.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
327-.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
328-.ie \n(.g .ds Aq \(aq
329-.el .ds Aq '
330-.\" -----------------------------------------------------------------
331-.\" * set default formatting
332-.\" -----------------------------------------------------------------
333-.\" disable hyphenation
334-.nh
335-.\" disable justification (adjust text to left margin only)
336-.ad l
337-.\" -----------------------------------------------------------------
338-.\" * MAIN CONTENT STARTS HERE *
339-.\" -----------------------------------------------------------------
340-.SH "NAME"
341-lintco \- Preform basic tasks on LoCo Teams
342-.SH "SYNOPSIS"
343-.sp
344-\fBlintco\fR [\fIoptions\fR]
345-.SH "DESCRIPTION"
346-.sp
347-\fBlintco(1)\fR is a tool to help both the LoCo Council and LoCo team hackers automate tasks that are routine\&. This tool can let people file issues with the LoCo Council, look up team data, and preform checks on their team\&.
348-.SH "OPTIONS"
349-.PP
350-\fBname\-lint\fR
351-.RS 4
352-Preform a name check on every single team in the locoteams launchpad group\&. This is a very very expensive operation for launchpad, so please do not run this often\&. Please\&.
353-.RE
354-.PP
355-\fBre\-app\fR [\fIteam\-name\fR]
356-.RS 4
357-
358-\fBLoCo Council Only!\fR
359-File a re\-application issue\&. This will automatically subscribe the Council, and the team\(cqs owner\&.
360-.RE
361-.PP
362-\fBname\-check\fR [\fIteam\-name\fR]
363-.RS 4
364-Check to see if team\-name follows the Ubuntu LoCo team standard\&. This can be run offline, and will not do anything except report the issue on stdout\&. This is for purely personal usage\&.
365-.RE
366-.PP
367-\fBcopyright\fR
368-.RS 4
369-Have lintco report it\(cqs copyright information to stdout\&.
370-.RE
371-.PP
372-\fBadmin\fR [\fIteam\-name\fR]
373-.RS 4
374-This function will report back the owner of a team\&. In the event that a team is being run by another team, this will report the top\-level members of that team\&. If the team is composed of other teams, this will not recurse into them\&.
375-.RE
376-.PP
377-\fBreport\-issue\fR [\fIteam\-name\fR [\fI\&./filename\fR]]
378-.RS 4
379-This will file a formal issue against a team with the LoCo Council\&. If no team name is given, then this tool will search for any LoCo teams that you are a member of\&. Since this is an expensive operation, it\(cqs suggested that you add the team name to the command\&. If you include the team name, you can then add in a file path to a text file, to be attached as the bulk of your report\&.
380-.RE
381-.PP
382-\fBcleanup\fR
383-.RS 4
384-
385-\fBLoCo Council Only!\fR
386-Run a cleanup operation against the locoteams launchpad group\&. See the documentation on how the algorithm decides when and what to approve\&.
387-.RE
388-.PP
389-\fBmembers\fR [\fIteam\-name\fR]
390-.RS 4
391-Fetch all the members of a given team\&. This is used internally for the Admin hook, but is exposed externally, in the event you would like to generate data on a team\&. This can be an expensive operation, please use this with care\&.
392-.RE
393-.PP
394-\fBwhoami\fR
395-.RS 4
396-Preform a basic check against Launchpad\&. This will tell you who you are, and figure out if you\(cqre on the LoCo Council or not\&. Chances are if you don\(cqt know, you\(cqre not\&.
397-.RE
398-.PP
399-\fBpending\-apps\fR
400-.RS 4
401-
402-\fBLoCo Council Only!\fR
403-Reports are private, it\(cqs not that you\(cqre not allowed to list bugs, it\(cqs just that you won\(cqt view them ( so we\(cqre not going to waste anyone\(cqs time )\&. This will list all pending re\-approval applications logged against loco teams\&.
404-.RE
405-.SH "EXAMPLE"
406-.sp
407-.if n \{\
408-.RS 4
409-.\}
410-.nf
411-lintco cleanup
412-.fi
413-.if n \{\
414-.RE
415-.\}
416-.sp
417-.if n \{\
418-.RS 4
419-.\}
420-.nf
421-lintco report\-issue ubuntu\-us\-ohio
422-.fi
423-.if n \{\
424-.RE
425-.\}
426-.sp
427-.if n \{\
428-.RS 4
429-.\}
430-.nf
431-lintco pending\-apps
432-.fi
433-.if n \{\
434-.RE
435-.\}
436-.SH "AUTHORS"
437-.sp
438-Paul Tagliamonte <\m[blue]\fBpaultag@ubuntu\&.com\fR\m[]\&\s-2\u[1]\d\s+2> for lintco 2\&.0
439-.SH "NOTES"
440-.IP " 1." 4
441-paultag@ubuntu.com
442-.RS 4
443-\%mailto:paultag@ubuntu.com
444-.RE
445
446=== renamed file 'docs/lintco.txt' => 'docs/lintco.txt.THIS'
447=== removed file 'generate_dict.sh'
448--- generate_dict.sh 2010-10-29 00:34:35 +0000
449+++ generate_dict.sh 1970-01-01 00:00:00 +0000
450@@ -1,5 +0,0 @@
451-#!/bin/bash
452-# GPL-3+, Paul Tagliamonte, 2010
453-echo "# DO NOT EDIT ME! I'M AUTO-GENERATED!" > ./locolint/iso_codes.py
454-echo "iso_states = {}" >> ./locolint/iso_codes.py
455-cat ISO_CODES | awk -F ' ' '{print "iso_states[\""$2"\"] = \"" $1 "\"" }' >> ./locolint/iso_codes.py
456
457=== renamed file 'lintco' => 'lintco.THIS'
458=== removed file 'locolint/__init__.py'
459--- locolint/__init__.py 2010-11-10 05:22:03 +0000
460+++ locolint/__init__.py 1970-01-01 00:00:00 +0000
461@@ -1,3 +0,0 @@
462-
463-__appname__ = "locolint"
464-__version__ = "2.0"
465
466=== removed file 'locolint/functions/__init__.py'
467--- locolint/functions/__init__.py 2010-10-29 18:10:35 +0000
468+++ locolint/functions/__init__.py 1970-01-01 00:00:00 +0000
469@@ -1,18 +0,0 @@
470-#
471-# Copyright (c) Paul Tagliamonte
472-# GNU GPL-3+, 2010
473-#
474-
475-import os
476-import sys
477-
478-folder = os.path.dirname(os.path.abspath(__file__))
479-
480-sys.path.append(folder)
481-to_import = [f for f in os.listdir(folder) if not f.endswith(".pyc")]
482-
483-for mod in to_import:
484- if mod.endswith(".py"):
485- name = mod [:-3]
486- __import__(name)
487-
488
489=== removed file 'locolint/functions/admins.py'
490--- locolint/functions/admins.py 2010-11-10 23:08:39 +0000
491+++ locolint/functions/admins.py 1970-01-01 00:00:00 +0000
492@@ -1,111 +0,0 @@
493-#
494-# Copyright (c) Paul Tagliamonte
495-# GNU GPL-3+, 2010
496-#
497-
498-import gettext
499-_ = gettext.gettext
500-
501-from locolint import io
502-from locolint import lp
503-from locolint import module
504-from locolint import locoteams
505-from locolint import lint
506-
507-from launchpadlib.errors import HTTPError
508-
509-def run_members( args ):
510- if len( args ) > 2:
511- launchpad = lp.connect()
512- team = args[2]
513- try:
514- the_team = launchpad.people[team]
515- members = the_team.members_details
516- for m in members:
517- member = m.member
518- p_email = member.preferred_email_address
519-
520- io.note("")
521-
522- if not member.hide_email_addresses and p_email != None:
523- io.note( member.display_name + " <" + p_email.email + ">" )
524- elif member.is_team:
525- pass # XXX: Should we say something?
526- else:
527- io.note( _("%s's Email is Hidden!" % member.display_name) )
528-
529- name = member.name;
530- if ( member.is_ubuntu_coc_signer ):
531- io.note(_("%s has signed the CoC" % name) )
532- elif member.is_team:
533- io.note(_("Team is being run by another team -- %s" % member.display_name ))
534- else:
535- io.note(_("%s has not signed the CoC" % name) )
536- io.note( "lp:~" + name )
537- except KeyError:
538- io.error("")
539- io.error(_("Team does not exist! Please search the existing teams and find the team You are looking for. Thanks!"))
540- else:
541- io.error( "" )
542- io.error( _("Error! Usage: member <team_name>") )
543- io.error( "" )
544- io.error( _("Expected a team name for the argument. please pass it in. Thanks!") )
545-
546-module.addModule( "members", run_members );
547-module.addModDescr( "members", _("Get membership contact info") )
548-
549-def run_admin( args ):
550- if len( args ) > 2:
551- launchpad = lp.connect()
552- team = args[2]
553- try:
554- the_team = launchpad.people[team]
555-
556- if ( not lint.check_name( the_team.name, True ) ):
557- io.error("")
558- io.error(_("Team name is wrong. Please fix this, or bring it to the attention of the team owner. Thanks!"))
559-
560- owner = the_team.team_owner
561-
562- if owner.is_team:
563- io.note( "" )
564- io.note( _("Anyone on the %s team" % owner.name) )
565- io.note("")
566- io.note(_("Since that's not helpful, I'm doing a lookup for you now."))
567- io.note(_("Please hold."))
568- io.note("")
569-
570- args[2] = owner.name
571- run_members( args )
572-
573- else:
574- if not owner.hide_email_addresses:
575- io.note("")
576- io.note(_("Team is being run by %s" % owner.name ))
577- io.note(_("He or She may be contacted by %s " % owner.preferred_email_address.email ))
578- if ( owner.is_ubuntu_coc_signer ):
579- io.note( _("%s has signed the CoC" % owner.name ))
580- else:
581- io.note( _("%s has not signed the CoC" % owner.name ))
582- io.note("")
583- else:
584- io.note("")
585- io.note(_("Team is being run by %s. He or She is not giving out their email. Sorry!" % owner.display_name ))
586- io.note("")
587- if ( owner.is_ubuntu_coc_signer ):
588- io.note( _("%s has signed the CoC" % owner.name ))
589- else:
590- io.warning( _("%s has not signed the CoC" % owner.name ))
591- io.note("")
592-
593- except KeyError:
594- io.error("")
595- io.error(_("Team does not exist! Please search the existing teams and find the team You are looking for. Thanks!"))
596- else:
597- io.error( "" )
598- io.error( _("Error! Usage: admins <team_name>") )
599- io.error( "" )
600- io.error( _("Expected a team name for the argument. Please pass it in. Thanks!") )
601-
602-module.addModule( "admin", run_admin );
603-module.addModDescr( "admin", _("Get basic ( email and name ) information about the owner of a team. In the event that the owner is a team, it will return that data as well.") )
604
605=== removed file 'locolint/functions/cleanup.py'
606--- locolint/functions/cleanup.py 2010-11-10 23:08:39 +0000
607+++ locolint/functions/cleanup.py 1970-01-01 00:00:00 +0000
608@@ -1,52 +0,0 @@
609-#
610-# Copyright (c) Paul Tagliamonte
611-# GNU GPL-3+, 2010
612-#
613-
614-import gettext
615-_ = gettext.gettext
616-
617-from locolint import io
618-from locolint import lp
619-from locolint import module
620-from locolint import locoteams
621-from locolint import settings
622-from locolint import lint
623-
624-from launchpadlib.errors import HTTPError
625-
626-def run_cleanup( args ):
627- launchpad = lp.connect()
628- if lp.amICouncil( launchpad ):
629- io.note("")
630- io.note(_("You're on the council. Let's go and process the teams"))
631- propd = locoteams.getLoCoProposed( launchpad )
632- for p in propd:
633- if p.is_team:
634- team_name = p.name
635- io.note( _("New LoCo Team: ") + team_name )
636- if ( not lint.check_name( team_name, True ) ):
637- io.error("")
638- io.error(_("Team name is wrong. Get the team to fix it before approving this team! Run a lookup with the following command:"))
639- io.error( args[0] + " admin " + team_name )
640- else:
641- try:
642- launchpad.load('/~%s/+member/%s' % ( settings.loco_teams, team_name )).setStatus(status='Approved', comment=settings.approved_message)
643- io.note( _("Processed and Approved!") )
644- except HTTPError, e:
645- io.error( _("HTTP Error! Did you give me full permissions?") )
646- else:
647- io.note( _("We have a person attempting to join: ") + p.name )
648- try:
649- launchpad.load('/~%s/+member/%s' % ( settings.loco_teams, p.name )).setStatus(status='Declined', comment=settings.declined_message)
650- io.note( _("Processed and Denied") )
651- except HTTPError, e:
652- io.error( _("HTTP Error! Did you give me full permissions?") )
653- io.note("")
654- io.note("Finished processing the queue.")
655- else:
656- io.error("")
657- io.error(_("You're not on the loco council. Stopping while we're ahead"))
658-
659-module.addModule( "cleanup", run_cleanup )
660-module.addModDescr( "cleanup", _("Approve or Deny all pending applications to locoteams. Please look at the documentation for more information on how the algorithm works.") )
661
662=== removed file 'locolint/functions/copyright.py'
663--- locolint/functions/copyright.py 2010-11-10 23:08:39 +0000
664+++ locolint/functions/copyright.py 1970-01-01 00:00:00 +0000
665@@ -1,20 +0,0 @@
666-#
667-# Copyright (c) Paul Tagliamonte
668-# GNU GPL-3+, 2010
669-#
670-
671-import gettext
672-_ = gettext.gettext
673-
674-from locolint import io
675-from locolint import module
676-
677-def run_copyright( args ):
678- io.note( "" )
679- io.note( _("This software is Free Software, licensed under the GNU GPL-3+. Copyright Paul Tagliamonte ( For the LoCo Council ) 2010" ))
680- io.note( "" )
681- io.note( _("Please be nice to people. The world is a better place that way." ))
682- io.note( "" )
683-
684-module.addModule( "copyright", run_copyright )
685-module.addModDescr( "copyright", _("Get copyright info for lintco." ))
686
687=== removed file 'locolint/functions/moo.py'
688--- locolint/functions/moo.py 2010-10-29 00:32:59 +0000
689+++ locolint/functions/moo.py 1970-01-01 00:00:00 +0000
690@@ -1,35 +0,0 @@
691-#
692-# Copyright (c) Paul Tagliamonte
693-# GNU GPL-3+, 2010
694-#
695-
696-from locolint import io
697-from locolint import module
698-
699-def run_moo( args ):
700- io.note("")
701- io.note(" ...---...")
702- io.note(" ../ / | \\ \\..")
703- io.note(" ./ / / | \\ \\ \\.")
704- io.note(" / / / | \\ \\ \\")
705- io.note("/ / / | \\ \\ \\")
706- io.note("^^^^^^^^^^^^^^^^^^^^^^^")
707- io.note("\\ | /")
708- io.note(" \\ | /")
709- io.note(" \\ | /")
710- io.note(" \\ | /")
711- io.note(" \\ | /")
712- io.note(" \\ | /")
713- io.note(" \\ | /")
714- io.note(" \\ | /")
715- io.note(" \\ | /")
716- io.note(" \\ | /(__)")
717- io.note(" \\|/ (oo)")
718- io.note(" /---++--\\/")
719- io.note(" / | || ||")
720- io.note(" * ||-++-||")
721- io.note(" ^^ ^^")
722- io.note("")
723-
724-module.addModule( "moo", run_moo );
725-module.addModDescr( "moo", "MMMMmmoooooooooooo" )
726
727=== removed file 'locolint/functions/name-check.py'
728--- locolint/functions/name-check.py 2010-11-10 23:08:39 +0000
729+++ locolint/functions/name-check.py 1970-01-01 00:00:00 +0000
730@@ -1,24 +0,0 @@
731-#
732-# Copyright (c) Paul Tagliamonte
733-# GNU GPL-3+, 2010
734-#
735-
736-import gettext
737-_ = gettext.gettext
738-
739-from locolint import module
740-from locolint import lint
741-from locolint import io
742-
743-def run_name_check( args ):
744- if len( args ) > 2:
745- lint.check_name( args[2] )
746- else:
747- io.error( "" )
748- io.error( _("Error! Usage: name-check <team_name>" ))
749- io.error( "" )
750- io.error( _("Expected a team name for the argument please pass it in. Thanks!" ))
751-
752-
753-module.addModule( "name-check", run_name_check );
754-module.addModDescr( "name-check", _("Check LoCo name consistancy against a single name, offline. This will just put the name through the simple name-check algorithm." ))
755
756=== removed file 'locolint/functions/name-lint.py'
757--- locolint/functions/name-lint.py 2010-11-25 16:17:01 +0000
758+++ locolint/functions/name-lint.py 1970-01-01 00:00:00 +0000
759@@ -1,28 +0,0 @@
760-#
761-# Copyright (c) Paul Tagliamonte
762-# GNU GPL-3+, 2010
763-#
764-
765-import gettext
766-_ = gettext.gettext
767-
768-from locolint import lp
769-from locolint import module
770-from locolint import locoteams
771-from locolint import lint
772-
773-from launchpadlib.errors import HTTPError
774-
775-def run_name_lint( args ):
776- launchpad = lp.connect()
777- teams = locoteams.getLoCoTeams( launchpad )
778- for member in teams:
779- try:
780- team_id = member.member.name
781- lint.check_name( team_id )
782- except HTTPError, e:
783- pass
784-
785-
786-module.addModule( "name-lint", run_name_lint );
787-module.addModDescr( "name-lint", _("Check LoCo name consistancy against the *whole* of the locoteams. This will take lots of network time, and load down Launchpad. Please do not use this unless you need this data." ))
788
789=== renamed file 'locolint/functions/pending-apps.py' => 'locolint/functions/pending-apps.py.THIS'
790=== removed file 'locolint/functions/re-app.py'
791--- locolint/functions/re-app.py 2010-11-10 23:41:48 +0000
792+++ locolint/functions/re-app.py 1970-01-01 00:00:00 +0000
793@@ -1,81 +0,0 @@
794-#
795-# Copyright (c) Paul Tagliamonte
796-# GNU GPL-3+, 2010
797-#
798-
799-import gettext
800-_ = gettext.gettext
801-
802-from locolint import io
803-from locolint import lp
804-from locolint import module
805-from locolint import lint
806-from locolint import settings
807-
808-from launchpadlib.errors import HTTPError
809-
810-def run_re_app( args ):
811- if len( args ) > 2: # lintco report-issue foo
812- launchpad = lp.connect()
813- me = launchpad.me
814- if not lp.amICouncil( launchpad ):
815- io.error("")
816- io.error(_("!!! Warning !!!"))
817- io.error(_("Only the council should be filing a bug report. Please do not file bugs, they will be disregarded and marked invalid. Thanks!"))
818- io.error(_("!!! Warning !!!"))
819- io.error("")
820- return
821- try:
822- team = args[2]
823- the_team = launchpad.people[team]
824- if ( not lint.check_name( the_team.name, True ) ):
825- io.error("")
826- io.error(_("Team name is wrong. Please fix this, or bring it to the attention of the team owner. Thanks!"))
827- owner = the_team.team_owner
828- io.note(_("We will be subscribing %s to this report." % owner.display_name ))
829-
830- subject = _("Re-approval, %s" % the_team.name)
831- io.note(_("The bug's title will be \"%s\"" % subject))
832-
833- tags = settings.re_app_tagset
834- io.note(_("The bug's tags will be set to \"%s\"" % tags))
835-
836- headers = _("LP Link: http://launchpad.net/~%s\n" % team)
837- content = headers + "\n"
838- content += settings.re_app_text
839-
840- product_url = "%s%s" %(launchpad._root_uri, settings.loco_project)
841-
842- loco_council = launchpad.people[settings.council_team]
843-
844- bug = launchpad.bugs.createBug(
845- private = True,
846- description = content,
847- tags = tags,
848- target = product_url,
849- title = subject
850- )
851-
852- bug.subscribe( person = loco_council )
853- bug.subscribe( person = owner )
854-
855- bug_id = bug.id
856-
857- io.note("")
858- io.note(_("Great. Note that you have filed LP Bug #%s" % bug_id ))
859- io.note("")
860- io.note(_("Quick Link: https://launchpad.net/bugs/%s" % bug_id ))
861- io.note("")
862-
863-
864- except KeyError:
865- io.error(_("That team's not real!"))
866- io.error(_("Check the list at http://loco.ubuntu.com/teams/"))
867- io.error("")
868- else:
869- io.error(_("Expecting a team name to note re-application"))
870- io.error("")
871-
872-
873-module.addModule( "re-app", run_re_app );
874-module.addModDescr( "re-app", _("Log a re-application bug against a team. This will fire off a report without asking about anything, please use with care. Only project administrators ( the LoCo Council ) should be using this." ))
875
876=== renamed file 'locolint/functions/report-issue.py' => 'locolint/functions/report-issue.py.THIS'
877=== removed file 'locolint/functions/whoami.py'
878--- locolint/functions/whoami.py 2010-11-10 23:08:39 +0000
879+++ locolint/functions/whoami.py 1970-01-01 00:00:00 +0000
880@@ -1,24 +0,0 @@
881-#
882-# Copyright (c) Paul Tagliamonte
883-# GNU GPL-3+, 2010
884-#
885-
886-import gettext
887-_ = gettext.gettext
888-
889-from locolint import io
890-from locolint import lp
891-from locolint import module
892-
893-def run_whoami( args ):
894- launchpad = lp.connect()
895-
896- if lp.amICouncil( launchpad ):
897- io.note("")
898- io.note( _("It looks here that you're on the LoCo Council. Well done. Thanks for being you. You make Ubuntu great. Long live the Council members!") )
899- else:
900- io.note("")
901- io.note( _("It looks like you're not on the LoCo Council. That's OK, but you won't be able to exact change where you see fit. Oh well!") )
902-
903-module.addModule( "whoami", run_whoami );
904-module.addModDescr( "whoami", _( "If you forgot who you are, you can use this to recover your name. It also checks to see if you're on the LoCo Council or not." ))
905
906=== removed file 'locolint/io.py'
907--- locolint/io.py 2010-11-10 05:30:33 +0000
908+++ locolint/io.py 1970-01-01 00:00:00 +0000
909@@ -1,43 +0,0 @@
910-#/usr/bin/env python
911-#
912-# Copyright (c) Paul Tagliamonte
913-# GNU GPL-3+, 2010
914-#
915-
916-import sys
917-
918-cap = 77
919-
920-def warning( string ):
921- if ( len(string) > cap ):
922- print "W: " + string[:cap];
923- warning( " " + string[cap:])
924- else:
925- print "W: " + string
926-
927-def error( string ):
928- if ( len(string) > cap ):
929- print "E: " + string[:cap];
930- error( " " + string[cap:])
931- else:
932- print "E: " + string
933-
934-def note( string ):
935- if ( len(string) > cap ):
936- print "N: " + string[:cap];
937- note( " " + string[cap:])
938- else:
939- print "N: " + string
940-
941-def info( string ):
942- if ( len(string) > cap ):
943- print "I: " + string[:cap];
944- info( " " + string[cap:])
945- else:
946- print "I: " + string
947-
948-def readin( string = None ):
949- if string != None:
950- print string
951- return sys.stdin.readline()
952-
953
954=== removed file 'locolint/iso_codes.py'
955--- locolint/iso_codes.py 2010-10-28 16:47:03 +0000
956+++ locolint/iso_codes.py 1970-01-01 00:00:00 +0000
957@@ -1,249 +0,0 @@
958-# DO NOT EDIT ME! I'M AUTO-GENERATED!
959-iso_states = {}
960-iso_states["AF"] = "AFGHANISTAN "
961-iso_states["AX"] = "ALAND ISLANDS "
962-iso_states["AL"] = "ALBANIA "
963-iso_states["DZ"] = "ALGERIA "
964-iso_states["AS"] = "AMERICAN SAMOA "
965-iso_states["AD"] = "ANDORRA "
966-iso_states["AO"] = "ANGOLA "
967-iso_states["AI"] = "ANGUILLA "
968-iso_states["AQ"] = "ANTARCTICA "
969-iso_states["AG"] = "ANTIGUA AND BARBUDA "
970-iso_states["AR"] = "ARGENTINA "
971-iso_states["AM"] = "ARMENIA "
972-iso_states["AW"] = "ARUBA "
973-iso_states["AU"] = "AUSTRALIA "
974-iso_states["AT"] = "AUSTRIA "
975-iso_states["AZ"] = "AZERBAIJAN "
976-iso_states["BS"] = "BAHAMAS "
977-iso_states["BH"] = "BAHRAIN "
978-iso_states["BD"] = "BANGLADESH "
979-iso_states["BB"] = "BARBADOS "
980-iso_states["BY"] = "BELARUS "
981-iso_states["BE"] = "BELGIUM "
982-iso_states["BZ"] = "BELIZE "
983-iso_states["BJ"] = "BENIN "
984-iso_states["BM"] = "BERMUDA "
985-iso_states["BT"] = "BHUTAN "
986-iso_states["BO"] = "BOLIVIA, PLURINATIONAL STATE OF "
987-iso_states["BA"] = "BOSNIA AND HERZEGOVINA "
988-iso_states["BW"] = "BOTSWANA "
989-iso_states["BV"] = "BOUVET ISLAND "
990-iso_states["BR"] = "BRAZIL "
991-iso_states["IO"] = "BRITISH INDIAN OCEAN TERRITORY "
992-iso_states["BN"] = "BRUNEI DARUSSALAM "
993-iso_states["BG"] = "BULGARIA "
994-iso_states["BF"] = "BURKINA FASO "
995-iso_states["BI"] = "BURUNDI "
996-iso_states["KH"] = "CAMBODIA "
997-iso_states["CM"] = "CAMEROON "
998-iso_states["CA"] = "CANADA "
999-iso_states["CV"] = "CAPE VERDE "
1000-iso_states["KY"] = "CAYMAN ISLANDS "
1001-iso_states["CF"] = "CENTRAL AFRICAN REPUBLIC "
1002-iso_states["TD"] = "CHAD "
1003-iso_states["CL"] = "CHILE "
1004-iso_states["CN"] = "CHINA "
1005-iso_states["CX"] = "CHRISTMAS ISLAND "
1006-iso_states["CC"] = "COCOS (KEELING) ISLANDS "
1007-iso_states["CO"] = "COLOMBIA "
1008-iso_states["KM"] = "COMOROS "
1009-iso_states["CG"] = "CONGO "
1010-iso_states["CD"] = "CONGO, THE DEMOCRATIC REPUBLIC OF THE "
1011-iso_states["CK"] = "COOK ISLANDS "
1012-iso_states["CR"] = "COSTA RICA "
1013-iso_states["CI"] = "COTE D'IVOIRE "
1014-iso_states["HR"] = "CROATIA "
1015-iso_states["CU"] = "CUBA "
1016-iso_states["CY"] = "CYPRUS "
1017-iso_states["CZ"] = "CZECH REPUBLIC "
1018-iso_states["DK"] = "DENMARK "
1019-iso_states["DJ"] = "DJIBOUTI "
1020-iso_states["DM"] = "DOMINICA "
1021-iso_states["DO"] = "DOMINICAN REPUBLIC "
1022-iso_states["EC"] = "ECUADOR "
1023-iso_states["EG"] = "EGYPT "
1024-iso_states["SV"] = "EL SALVADOR "
1025-iso_states["GQ"] = "EQUATORIAL GUINEA "
1026-iso_states["ER"] = "ERITREA "
1027-iso_states["EE"] = "ESTONIA "
1028-iso_states["ET"] = "ETHIOPIA "
1029-iso_states["FK"] = "FALKLAND ISLANDS (MALVINAS) "
1030-iso_states["FO"] = "FAROE ISLANDS "
1031-iso_states["FJ"] = "FIJI "
1032-iso_states["FI"] = "FINLAND "
1033-iso_states["FR"] = "FRANCE "
1034-iso_states["GF"] = "FRENCH GUIANA "
1035-iso_states["PF"] = "FRENCH POLYNESIA "
1036-iso_states["TF"] = "FRENCH SOUTHERN TERRITORIES "
1037-iso_states["GA"] = "GABON "
1038-iso_states["GM"] = "GAMBIA "
1039-iso_states["GE"] = "GEORGIA "
1040-iso_states["DE"] = "GERMANY "
1041-iso_states["GH"] = "GHANA "
1042-iso_states["GI"] = "GIBRALTAR "
1043-iso_states["GR"] = "GREECE "
1044-iso_states["GL"] = "GREENLAND "
1045-iso_states["GD"] = "GRENADA "
1046-iso_states["GP"] = "GUADELOUPE "
1047-iso_states["GU"] = "GUAM "
1048-iso_states["GT"] = "GUATEMALA "
1049-iso_states["GG"] = "GUERNSEY "
1050-iso_states["GN"] = "GUINEA "
1051-iso_states["GW"] = "GUINEA-BISSAU "
1052-iso_states["GY"] = "GUYANA "
1053-iso_states["HT"] = "HAITI "
1054-iso_states["HM"] = "HEARD ISLAND AND MCDONALD ISLANDS "
1055-iso_states["VA"] = "HOLY SEE (VATICAN CITY STATE) "
1056-iso_states["HN"] = "HONDURAS "
1057-iso_states["HK"] = "HONG KONG "
1058-iso_states["HU"] = "HUNGARY "
1059-iso_states["IS"] = "ICELAND "
1060-iso_states["IN"] = "INDIA "
1061-iso_states["ID"] = "INDONESIA "
1062-iso_states["IR"] = "IRAN, ISLAMIC REPUBLIC OF "
1063-iso_states["IQ"] = "IRAQ "
1064-iso_states["IE"] = "IRELAND "
1065-iso_states["IM"] = "ISLE OF MAN "
1066-iso_states["IL"] = "ISRAEL "
1067-iso_states["IT"] = "ITALY "
1068-iso_states["JM"] = "JAMAICA "
1069-iso_states["JP"] = "JAPAN "
1070-iso_states["JE"] = "JERSEY "
1071-iso_states["JO"] = "JORDAN "
1072-iso_states["KZ"] = "KAZAKHSTAN "
1073-iso_states["KE"] = "KENYA "
1074-iso_states["KI"] = "KIRIBATI "
1075-iso_states["KP"] = "KOREA, DEMOCRATIC PEOPLE'S REPUBLIC OF "
1076-iso_states["KR"] = "KOREA, REPUBLIC OF "
1077-iso_states["KW"] = "KUWAIT "
1078-iso_states["KG"] = "KYRGYZSTAN "
1079-iso_states["LA"] = "LAO PEOPLE'S DEMOCRATIC REPUBLIC "
1080-iso_states["LV"] = "LATVIA "
1081-iso_states["LB"] = "LEBANON "
1082-iso_states["LS"] = "LESOTHO "
1083-iso_states["LR"] = "LIBERIA "
1084-iso_states["LY"] = "LIBYAN ARAB JAMAHIRIYA "
1085-iso_states["LI"] = "LIECHTENSTEIN "
1086-iso_states["LT"] = "LITHUANIA "
1087-iso_states["LU"] = "LUXEMBOURG "
1088-iso_states["MO"] = "MACAO "
1089-iso_states["MK"] = "MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF "
1090-iso_states["MG"] = "MADAGASCAR "
1091-iso_states["MW"] = "MALAWI "
1092-iso_states["MY"] = "MALAYSIA "
1093-iso_states["MV"] = "MALDIVES "
1094-iso_states["ML"] = "MALI "
1095-iso_states["MT"] = "MALTA "
1096-iso_states["MH"] = "MARSHALL ISLANDS "
1097-iso_states["MQ"] = "MARTINIQUE "
1098-iso_states["MR"] = "MAURITANIA "
1099-iso_states["MU"] = "MAURITIUS "
1100-iso_states["YT"] = "MAYOTTE "
1101-iso_states["MX"] = "MEXICO "
1102-iso_states["FM"] = "MICRONESIA, FEDERATED STATES OF "
1103-iso_states["MD"] = "MOLDOVA, REPUBLIC OF "
1104-iso_states["MC"] = "MONACO "
1105-iso_states["MN"] = "MONGOLIA "
1106-iso_states["ME"] = "MONTENEGRO "
1107-iso_states["MS"] = "MONTSERRAT "
1108-iso_states["MA"] = "MOROCCO "
1109-iso_states["MZ"] = "MOZAMBIQUE "
1110-iso_states["MM"] = "MYANMAR "
1111-iso_states["NA"] = "NAMIBIA "
1112-iso_states["NR"] = "NAURU "
1113-iso_states["NP"] = "NEPAL "
1114-iso_states["NL"] = "NETHERLANDS "
1115-iso_states["AN"] = "NETHERLANDS ANTILLES "
1116-iso_states["NC"] = "NEW CALEDONIA "
1117-iso_states["NZ"] = "NEW ZEALAND "
1118-iso_states["NI"] = "NICARAGUA "
1119-iso_states["NE"] = "NIGER "
1120-iso_states["NG"] = "NIGERIA "
1121-iso_states["NU"] = "NIUE "
1122-iso_states["NF"] = "NORFOLK ISLAND "
1123-iso_states["MP"] = "NORTHERN MARIANA ISLANDS "
1124-iso_states["NO"] = "NORWAY "
1125-iso_states["OM"] = "OMAN "
1126-iso_states["PK"] = "PAKISTAN "
1127-iso_states["PW"] = "PALAU "
1128-iso_states["PS"] = "PALESTINIAN TERRITORY, OCCUPIED "
1129-iso_states["PA"] = "PANAMA "
1130-iso_states["PG"] = "PAPUA NEW GUINEA "
1131-iso_states["PY"] = "PARAGUAY "
1132-iso_states["PE"] = "PERU "
1133-iso_states["PH"] = "PHILIPPINES "
1134-iso_states["PN"] = "PITCAIRN "
1135-iso_states["PL"] = "POLAND "
1136-iso_states["PT"] = "PORTUGAL "
1137-iso_states["PR"] = "PUERTO RICO "
1138-iso_states["QA"] = "QATAR "
1139-iso_states["RE"] = "REUNION "
1140-iso_states["RO"] = "ROMANIA "
1141-iso_states["RU"] = "RUSSIAN FEDERATION "
1142-iso_states["RW"] = "RWANDA "
1143-iso_states["BL"] = "SAINT BARTHELEMY "
1144-iso_states["SH"] = "SAINT HELENA, ASCENSION AND TRISTAN DA CUNHA "
1145-iso_states["KN"] = "SAINT KITTS AND NEVIS "
1146-iso_states["LC"] = "SAINT LUCIA "
1147-iso_states["MF"] = "SAINT MARTIN "
1148-iso_states["PM"] = "SAINT PIERRE AND MIQUELON "
1149-iso_states["VC"] = "SAINT VINCENT AND THE GRENADINES "
1150-iso_states["WS"] = "SAMOA "
1151-iso_states["SM"] = "SAN MARINO "
1152-iso_states["ST"] = "SAO TOME AND PRINCIPE "
1153-iso_states["SA"] = "SAUDI ARABIA "
1154-iso_states["SN"] = "SENEGAL "
1155-iso_states["RS"] = "SERBIA "
1156-iso_states["SC"] = "SEYCHELLES "
1157-iso_states["SL"] = "SIERRA LEONE "
1158-iso_states["SG"] = "SINGAPORE "
1159-iso_states["SK"] = "SLOVAKIA "
1160-iso_states["SI"] = "SLOVENIA "
1161-iso_states["SB"] = "SOLOMON ISLANDS "
1162-iso_states["SO"] = "SOMALIA "
1163-iso_states["ZA"] = "SOUTH AFRICA "
1164-iso_states["GS"] = "SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS "
1165-iso_states["ES"] = "SPAIN "
1166-iso_states["LK"] = "SRI LANKA "
1167-iso_states["SD"] = "SUDAN "
1168-iso_states["SR"] = "SURINAME "
1169-iso_states["SJ"] = "SVALBARD AND JAN MAYEN "
1170-iso_states["SZ"] = "SWAZILAND "
1171-iso_states["SE"] = "SWEDEN "
1172-iso_states["CH"] = "SWITZERLAND "
1173-iso_states["SY"] = "SYRIAN ARAB REPUBLIC "
1174-iso_states["TW"] = "TAIWAN, PROVINCE OF CHINA "
1175-iso_states["TJ"] = "TAJIKISTAN "
1176-iso_states["TZ"] = "TANZANIA, UNITED REPUBLIC OF "
1177-iso_states["TH"] = "THAILAND "
1178-iso_states["TL"] = "TIMOR-LESTE "
1179-iso_states["TG"] = "TOGO "
1180-iso_states["TK"] = "TOKELAU "
1181-iso_states["TO"] = "TONGA "
1182-iso_states["TT"] = "TRINIDAD AND TOBAGO "
1183-iso_states["TN"] = "TUNISIA "
1184-iso_states["TR"] = "TURKEY "
1185-iso_states["TM"] = "TURKMENISTAN "
1186-iso_states["TC"] = "TURKS AND CAICOS ISLANDS "
1187-iso_states["TV"] = "TUVALU "
1188-iso_states["UG"] = "UGANDA "
1189-iso_states["UA"] = "UKRAINE "
1190-iso_states["AE"] = "UNITED ARAB EMIRATES "
1191-iso_states["GB"] = "UNITED KINGDOM "
1192-iso_states["UK"] = "UNITED KINGDOM"
1193-iso_states["US"] = "UNITED STATES "
1194-iso_states["UM"] = "UNITED STATES MINOR OUTLYING ISLANDS "
1195-iso_states["UY"] = "URUGUAY "
1196-iso_states["UZ"] = "UZBEKISTAN "
1197-iso_states["VU"] = "VANUATU "
1198-iso_states["VE"] = "VENEZUELA, BOLIVARIAN REPUBLIC OF "
1199-iso_states["VN"] = "VIET NAM "
1200-iso_states["VG"] = "VIRGIN ISLANDS, BRITISH "
1201-iso_states["VI"] = "VIRGIN ISLANDS, U.S. "
1202-iso_states["WF"] = "WALLIS AND FUTUNA "
1203-iso_states["EH"] = "WESTERN SAHARA "
1204-iso_states["YE"] = "YEMEN "
1205-iso_states["ZM"] = "ZAMBIA "
1206-iso_states["ZW "] = "ZIMBABWE "
1207
1208=== removed file 'locolint/lint.py'
1209--- locolint/lint.py 2010-11-10 23:11:41 +0000
1210+++ locolint/lint.py 1970-01-01 00:00:00 +0000
1211@@ -1,38 +0,0 @@
1212-#
1213-# Copyright (c) Paul Tagliamonte
1214-# GNU GPL-3+, 2010
1215-#
1216-
1217-import gettext
1218-_ = gettext.gettext
1219-
1220-from locolint import iso_codes
1221-from locolint import io
1222-
1223-def check_name( team_id, sshhhh = False ):
1224- team_chunks = team_id.split("-")
1225- length = len( team_chunks )
1226-
1227- if length > 1:
1228- # This ensures format foo-bar(-....)
1229- if team_chunks[0].lower() == "ubuntu":
1230- # OK, good. We have the team name in the
1231- # ubuntu-bar format.
1232- team_iso_code = team_chunks[1].upper()
1233- try:
1234- COO = iso_codes.iso_states[team_iso_code]
1235- if ( not sshhhh ):
1236- io.note( team_id + _(" : is from ") + COO + _(". Good.") )
1237- return True
1238- except KeyError:
1239- if ( not sshhhh ):
1240- io.error( team_id + _(" : Has a non ISO code second set id") )
1241- return False
1242- else:
1243- if ( not sshhhh ):
1244- io.error( team_id + _(" : Wrong ubuntu-bar-baz format") )
1245- return False
1246- else:
1247- if ( not sshhhh ):
1248- io.error( team_id + _(" : Wrong foo-bar-baz format.") )
1249- return False
1250
1251=== removed file 'locolint/locoteams.py'
1252--- locolint/locoteams.py 2010-10-28 01:40:07 +0000
1253+++ locolint/locoteams.py 1970-01-01 00:00:00 +0000
1254@@ -1,23 +0,0 @@
1255-#
1256-# Copyright (c) Paul Tagliamonte
1257-# GNU GPL-3+, 2010
1258-#
1259-
1260-from locolint import lp
1261-from locolint import settings
1262-from locolint import io
1263-
1264-def getLoCoProposed( launchpad ):
1265- teams = launchpad.people[settings.loco_teams]
1266- return teams.proposed_members
1267-
1268-def getLoCoTeams( launchpad ):
1269- locoteams = launchpad.people[settings.loco_teams]
1270- members = locoteams.members_details
1271- return members
1272-
1273-def getApprovedLoCoTeams( launchpad ):
1274- locoteams = launchpad.people[settings.loco_approved_teams]
1275- members = locoteams.members_details
1276- return members
1277-
1278
1279=== removed file 'locolint/lp.py'
1280--- locolint/lp.py 2010-11-10 23:08:39 +0000
1281+++ locolint/lp.py 1970-01-01 00:00:00 +0000
1282@@ -1,47 +0,0 @@
1283-#
1284-# Copyright (c) Paul Tagliamonte
1285-# GNU GPL-3+, 2010
1286-#
1287-
1288-import gettext
1289-_ = gettext.gettext
1290-
1291-from launchpadlib.launchpad import Launchpad
1292-from launchpadlib.errors import HTTPError
1293-import os
1294-
1295-from locolint import io
1296-from locolint import settings
1297-
1298-app_name = "locolint"
1299-_INTERNAL_LP = ""
1300-
1301-def connect():
1302- global _INTERNAL_LP
1303- if _INTERNAL_LP != "":
1304- return _INTERNAL_LP
1305-
1306- server = 'edge'
1307- cachedir = os.path.expanduser("~/.launchpadlib/cache")
1308-
1309- io.note( _("Connecting to Launchpad...") )
1310- try:
1311- launchpad = Launchpad.login_with(app_name, server)
1312- io.note( "Identified as " + whoami(launchpad).display_name + "!" )
1313- _INTERNAL_LP = launchpad
1314- return launchpad
1315- except HTTPError:
1316- io.error("")
1317- io.error(_("Oh snapdragons! We failed to connect to LP. Something done goofed. Shucks!"))
1318-
1319-def whoami( launchpad ):
1320- return launchpad.me;
1321-
1322-def amICouncil( launchpad ):
1323- council = launchpad.people[settings.council_team]
1324- my_name = whoami(launchpad).name;
1325- ret = False;
1326- for member in council.members:
1327- if str(member.name) == str(my_name):
1328- ret = True
1329- return ret
1330
1331=== removed file 'locolint/module.py'
1332--- locolint/module.py 2010-10-28 01:40:07 +0000
1333+++ locolint/module.py 1970-01-01 00:00:00 +0000
1334@@ -1,22 +0,0 @@
1335-from locolint import io
1336-from locolint import lp
1337-from locolint import settings
1338-from locolint import locoteams
1339-
1340-modules = {}
1341-mod_info = {}
1342-
1343-def addModule( name, fn ):
1344- modules[name] = fn
1345-
1346-def runMod( name, args ):
1347- modules[name](args);
1348-
1349-def addModDescr( name, descr ):
1350- mod_info[name] = descr
1351-
1352-def getModDescr( name ):
1353- try:
1354- return mod_info[name]
1355- except KeyError:
1356- return ""
1357
1358=== renamed file 'locolint/settings.py' => 'locolint/settings.py.THIS'
1359=== removed file 'setup.py'
1360--- setup.py 2010-11-10 23:11:41 +0000
1361+++ setup.py 1970-01-01 00:00:00 +0000
1362@@ -1,69 +0,0 @@
1363-#!/usr/bin/env python
1364-#
1365-# Copyright (C) 2010 Paul Tagliamonte
1366-# Adapted from doctormo's Groundcontrol Setup. Much love.
1367-#
1368-# This program is free software; you can redistribute it and/or modify
1369-# it under the terms of the GNU General Public License as published by
1370-# the Free Software Foundation; either version 3 of the License, or
1371-# (at your option) any later version.
1372-#
1373-# This program is distributed in the hope that it will be useful,
1374-# but WITHOUT ANY WARRANTY; without even the implied warranty of
1375-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1376-# GNU General Public License for more details.
1377-#
1378-# You should have received a copy of the GNU General Public License
1379-# along with this program; if not, write to the Free Software
1380-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1381-#
1382-
1383-import gettext
1384-_ = gettext.gettext
1385-
1386-from locolint import __appname__, __version__
1387-
1388-from distutils.core import setup
1389-from distutils.command.install_lib import install_lib
1390-from DistUtilsExtra.command import *
1391-from fnmatch import fnmatch
1392-
1393-import os, platform
1394-
1395-MODULE = [ 'locolint', 'locolint/functions' ]
1396-
1397-if platform.system() == 'FreeBSD':
1398- man_dir = 'man'
1399-else:
1400- man_dir = 'share/man'
1401-
1402-
1403-def listfiles(*dirs):
1404- dir, pattern = os.path.split(os.path.join(*dirs))
1405- return [os.path.join(dir, filename)
1406- for filename in os.listdir(os.path.abspath(dir))
1407- if filename[0] != '.' and fnmatch(filename, pattern)]
1408-
1409-# Generate a standard share dir
1410-SDIR = 'share/%s/' % __appname__
1411-
1412-setup(
1413- name = __appname__,
1414- version = __version__,
1415- description = _('LoCo Lint -- LoCo Administration and Tools for Lazy Hackers'),
1416- long_description = _("Lets you access LoCo data, and file issues without using a browser in a structured way."),
1417- author = 'Paul Tagliamonte',
1418- author_email = 'paultag@ubuntu.com',
1419- url = 'https://code.launchpad.net/locolint',
1420- platforms = 'linux',
1421- license = 'GPLv3',
1422- packages = MODULE,
1423- scripts = [ "lintco" ],
1424- data_files = [
1425- ( os.path.join(man_dir, 'man1'), listfiles( 'docs', '*.1' ) ),
1426- ],
1427- cmdclass={
1428- 'build' : build_extra.build_extra,
1429- },
1430- )
1431-
1432
1433=== added file 'translations/de.po'
1434--- translations/de.po 1970-01-01 00:00:00 +0000
1435+++ translations/de.po 2011-06-18 03:41:26 +0000
1436@@ -0,0 +1,421 @@
1437+# German translation for locolint
1438+# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
1439+# This file is distributed under the same license as the locolint package.
1440+# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
1441+#
1442+msgid ""
1443+msgstr ""
1444+"Project-Id-Version: locolint\n"
1445+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
1446+"POT-Creation-Date: 2010-11-10 18:37-0500\n"
1447+"PO-Revision-Date: 2010-11-11 00:17+0000\n"
1448+"Last-Translator: Paul Tagliamonte <paultag@ubuntu.com>\n"
1449+"Language-Team: German <de@li.org>\n"
1450+"MIME-Version: 1.0\n"
1451+"Content-Type: text/plain; charset=UTF-8\n"
1452+"Content-Transfer-Encoding: 8bit\n"
1453+"X-Launchpad-Export-Date: 2010-11-12 05:20+0000\n"
1454+"X-Generator: Launchpad (build Unknown)\n"
1455+
1456+#: ../locolint/settings.py:15
1457+msgid ""
1458+"Re-approval task bug.\n"
1459+"This bug will be used to track the progress of the re-approval,\n"
1460+"and make sure that every team gets the needed follow-through.\n"
1461+"This bug will also allow us to keep a record of who was approved\n"
1462+"and re-approved when. Please keep in mind the only people who should\n"
1463+"be subscribed are the LoCo Council, and the team Contact. This bug will\n"
1464+"also be kept private, for council use.\n"
1465+"\n"
1466+"Your cooperation is thanked kindly in advance,\n"
1467+"The Ubuntu LoCo Council\n"
1468+msgstr ""
1469+
1470+#: ../locolint/settings.py:27
1471+msgid "Welcome! Thanks! Email the LoCo Council with issues you might have!"
1472+msgstr ""
1473+
1474+#: ../locolint/settings.py:28
1475+msgid ""
1476+"This is a semi-automated message. This team was set up for other LoCo teams. "
1477+"Seeing as how you are an individual, please join the LoCo team that you are "
1478+"most close to. Many thanks!"
1479+msgstr ""
1480+
1481+#: ../locolint/functions/admins.py:35
1482+#, python-format
1483+msgid "%s's Email is Hidden!"
1484+msgstr ""
1485+
1486+#: ../locolint/functions/admins.py:39 ../locolint/functions/admins.py:87
1487+#: ../locolint/functions/admins.py:96
1488+#, python-format
1489+msgid "%s has signed the CoC"
1490+msgstr ""
1491+
1492+#: ../locolint/functions/admins.py:41
1493+#, python-format
1494+msgid "Team is being run by another team -- %s"
1495+msgstr ""
1496+
1497+#: ../locolint/functions/admins.py:43 ../locolint/functions/admins.py:89
1498+#: ../locolint/functions/admins.py:98
1499+#, python-format
1500+msgid "%s has not signed the CoC"
1501+msgstr ""
1502+
1503+#: ../locolint/functions/admins.py:47 ../locolint/functions/admins.py:103
1504+msgid ""
1505+"Team does not exist! Please search the existing teams and find the team You "
1506+"are looking for. Thanks!"
1507+msgstr ""
1508+
1509+#: ../locolint/functions/admins.py:50
1510+msgid "Error! Usage: member <team_name>"
1511+msgstr "Fehler! Usage: member <manshaft>"
1512+
1513+#: ../locolint/functions/admins.py:52
1514+msgid "Expected a team name for the argument. please pass it in. Thanks!"
1515+msgstr ""
1516+
1517+#: ../locolint/functions/admins.py:55
1518+msgid "Get membership contact info"
1519+msgstr ""
1520+
1521+#: ../locolint/functions/admins.py:66 ../locolint/functions/re-app.py:33
1522+msgid ""
1523+"Team name is wrong. Please fix this, or bring it to the attention of the "
1524+"team owner. Thanks!"
1525+msgstr ""
1526+
1527+#: ../locolint/functions/admins.py:72
1528+#, python-format
1529+msgid "Anyone on the %s team"
1530+msgstr ""
1531+
1532+#: ../locolint/functions/admins.py:74
1533+msgid "Since that's not helpful, I'm doing a lookup for you now."
1534+msgstr ""
1535+
1536+#: ../locolint/functions/admins.py:75
1537+msgid "Please hold."
1538+msgstr ""
1539+
1540+#: ../locolint/functions/admins.py:84
1541+#, python-format
1542+msgid "Team is being run by %s"
1543+msgstr ""
1544+
1545+#: ../locolint/functions/admins.py:85
1546+#, python-format
1547+msgid "He or She may be contacted by %s "
1548+msgstr ""
1549+
1550+#: ../locolint/functions/admins.py:93
1551+#, python-format
1552+msgid ""
1553+"Team is being run by %s. He or She is not giving out their email. Sorry!"
1554+msgstr ""
1555+
1556+#: ../locolint/functions/admins.py:106
1557+msgid "Error! Usage: admins <team_name>"
1558+msgstr ""
1559+
1560+#: ../locolint/functions/admins.py:108
1561+msgid "Expected a team name for the argument. Please pass it in. Thanks!"
1562+msgstr ""
1563+
1564+#: ../locolint/functions/admins.py:111
1565+msgid ""
1566+"Get basic ( email and name ) information about the owner of a team. In the "
1567+"event that the owner is a team, it will return that data as well."
1568+msgstr ""
1569+
1570+#: ../locolint/functions/report-issue.py:27
1571+#, python-format
1572+msgid "Whoh now, enter something between 0 and %s"
1573+msgstr ""
1574+
1575+#: ../locolint/functions/report-issue.py:48
1576+msgid ""
1577+"OK. I'm going to fetch your teams now, and figure out what LoCo team(s) "
1578+"you're on"
1579+msgstr ""
1580+
1581+#: ../locolint/functions/report-issue.py:67
1582+msgid "Which team would you like to file against?"
1583+msgstr ""
1584+
1585+#: ../locolint/functions/report-issue.py:72
1586+msgid ""
1587+"Does not look like you're on a loco team. Shucks. We're going to default "
1588+"against locoteams it's self."
1589+msgstr ""
1590+
1591+#: ../locolint/functions/report-issue.py:81
1592+msgid "No such team!"
1593+msgstr ""
1594+
1595+#: ../locolint/functions/report-issue.py:84
1596+msgid "Let's send a report about team "
1597+msgstr ""
1598+
1599+#: ../locolint/functions/report-issue.py:89
1600+msgid ""
1601+"I'm going to need some info about what this is about Just write up what the "
1602+"problem is, treat this like an email. To end the comment section put a . on "
1603+"it's own line, please."
1604+msgstr ""
1605+
1606+#: ../locolint/functions/report-issue.py:94
1607+msgid "Righto! So, I'm going to file this bug for you. Sending now!"
1608+msgstr ""
1609+
1610+#: ../locolint/functions/report-issue.py:99
1611+msgid ""
1612+"OK, I see you've written this up. I'm attaching the report that you've told "
1613+"me to. That file is coming from:"
1614+msgstr ""
1615+
1616+#: ../locolint/functions/report-issue.py:106
1617+msgid "Team:"
1618+msgstr ""
1619+
1620+#: ../locolint/functions/report-issue.py:107
1621+msgid "Quicklink:"
1622+msgstr ""
1623+
1624+#: ../locolint/functions/report-issue.py:126
1625+#, python-format
1626+msgid ""
1627+"Alrighty! Issue filed. The LoCo Council has been notified of the report. "
1628+"Feel free to email or talk with anyone on the LoCo Council. Be sure to "
1629+"mention that you have filed LP Bug #%s "
1630+msgstr ""
1631+
1632+#: ../locolint/functions/report-issue.py:128
1633+msgid "Quick Link: "
1634+msgstr ""
1635+
1636+#: ../locolint/functions/report-issue.py:130
1637+msgid "Thanks so much!"
1638+msgstr ""
1639+
1640+#: ../locolint/functions/report-issue.py:134
1641+msgid ""
1642+"Report a LoCo Issue to the LoCo Council. This is a quick and easy way to put "
1643+"a ticket into the council while still being able to track its progress."
1644+msgstr ""
1645+
1646+#: ../locolint/functions/re-app.py:23 ../locolint/functions/re-app.py:25
1647+msgid "!!! Warning !!!"
1648+msgstr ""
1649+
1650+#: ../locolint/functions/re-app.py:24
1651+msgid ""
1652+"Only the council should be filing a bug report. Please do not file bugs, "
1653+"they will be disregarded and marked invalid. Thanks!"
1654+msgstr ""
1655+
1656+#: ../locolint/functions/re-app.py:35
1657+#, python-format
1658+msgid "We will be subscribing %s to this report."
1659+msgstr ""
1660+
1661+#: ../locolint/functions/re-app.py:37
1662+#, python-format
1663+msgid "Re-approval, %s"
1664+msgstr ""
1665+
1666+#: ../locolint/functions/re-app.py:38
1667+#, python-format
1668+msgid "The bug's title will be \"%s\""
1669+msgstr ""
1670+
1671+#: ../locolint/functions/re-app.py:41
1672+#, python-format
1673+msgid "The bug's tags will be set to \"%s\""
1674+msgstr ""
1675+
1676+#: ../locolint/functions/re-app.py:43
1677+#, python-format
1678+msgid "LP Link: http://launchpad.net/~%s\n"
1679+msgstr ""
1680+
1681+#: ../locolint/functions/re-app.py:65
1682+#, python-format
1683+msgid "Great. Note that you have filed LP Bug #%s"
1684+msgstr ""
1685+
1686+#: ../locolint/functions/re-app.py:67
1687+#, python-format
1688+msgid "Quick Link: https://launchpad.net/bugs/%s"
1689+msgstr ""
1690+
1691+#: ../locolint/functions/re-app.py:72
1692+msgid "That team's not real!"
1693+msgstr ""
1694+
1695+#: ../locolint/functions/re-app.py:73
1696+msgid "Check the list at http://loco.ubuntu.com/teams/"
1697+msgstr ""
1698+
1699+#: ../locolint/functions/re-app.py:76
1700+msgid "Expecting a team name to note re-application"
1701+msgstr ""
1702+
1703+#: ../locolint/functions/re-app.py:81
1704+msgid ""
1705+"Log a re-application bug against a team. This will fire off a report without "
1706+"asking about anything, please use with care. Only project administrators ( "
1707+"the LoCo Council ) should be using this."
1708+msgstr ""
1709+
1710+#: ../locolint/functions/pending-apps.py:24
1711+msgid ""
1712+"The app tickets are filed as private I'm not even going to bother listing "
1713+"any with that tag since it's mostly going to be useless. Sorry."
1714+msgstr ""
1715+
1716+#: ../locolint/functions/pending-apps.py:39
1717+msgid "Oh shaz! We don't have a valid project!"
1718+msgstr ""
1719+
1720+#: ../locolint/functions/pending-apps.py:43
1721+msgid ""
1722+"List all the teams with re-approvals in the pending state. This is a simple "
1723+"look into the bugs page on locoteams. Since most re-apps are private, this "
1724+"is only really useful to the project owners ( LoCo Council )."
1725+msgstr ""
1726+
1727+#: ../locolint/functions/name-check.py:18
1728+msgid "Error! Usage: name-check <team_name>"
1729+msgstr ""
1730+
1731+#: ../locolint/functions/name-check.py:20
1732+msgid "Expected a team name for the argument please pass it in. Thanks!"
1733+msgstr ""
1734+
1735+#: ../locolint/functions/name-check.py:24
1736+msgid ""
1737+"Check LoCo name consistancy against a single name, offline. This will just "
1738+"put the name through the simple name-check algorithm."
1739+msgstr ""
1740+
1741+#: ../locolint/functions/whoami.py:18
1742+msgid ""
1743+"It looks here that you're on the LoCo Council. Well done. Thanks for being "
1744+"you. You make Ubuntu great. Long live the Council members!"
1745+msgstr ""
1746+
1747+#: ../locolint/functions/whoami.py:21
1748+msgid ""
1749+"It looks like you're not on the LoCo Council. That's OK, but you won't be "
1750+"able to exact change where you see fit. Oh well!"
1751+msgstr ""
1752+
1753+#: ../locolint/functions/whoami.py:24
1754+msgid ""
1755+"If you forgot who you are, you can use this to recover your name. It also "
1756+"checks to see if you're on the LoCo Council or not."
1757+msgstr ""
1758+
1759+#: ../locolint/functions/copyright.py:14
1760+msgid ""
1761+"This software is Free Software, licensed under the GNU GPL-3+. Copyright "
1762+"Paul Tagliamonte ( For the LoCo Council ) 2010"
1763+msgstr ""
1764+
1765+#: ../locolint/functions/copyright.py:16
1766+msgid "Please be nice to people. The world is a better place that way."
1767+msgstr ""
1768+
1769+#: ../locolint/functions/copyright.py:20
1770+msgid "Get copyright info for lintco."
1771+msgstr ""
1772+
1773+#: ../locolint/functions/cleanup.py:22
1774+msgid "You're on the council. Let's go and process the teams"
1775+msgstr ""
1776+
1777+#: ../locolint/functions/cleanup.py:27
1778+msgid "New LoCo Team: "
1779+msgstr ""
1780+
1781+#: ../locolint/functions/cleanup.py:30
1782+msgid ""
1783+"Team name is wrong. Get the team to fix it before approving this team! Run a "
1784+"lookup with the following command:"
1785+msgstr ""
1786+
1787+#: ../locolint/functions/cleanup.py:35
1788+msgid "Processed and Approved!"
1789+msgstr ""
1790+
1791+#: ../locolint/functions/cleanup.py:37 ../locolint/functions/cleanup.py:44
1792+msgid "HTTP Error! Did you give me full permissions?"
1793+msgstr ""
1794+
1795+#: ../locolint/functions/cleanup.py:39
1796+msgid "We have a person attempting to join: "
1797+msgstr ""
1798+
1799+#: ../locolint/functions/cleanup.py:42
1800+msgid "Processed and Denied"
1801+msgstr ""
1802+
1803+#: ../locolint/functions/cleanup.py:49
1804+msgid "You're not on the loco council. Stopping while we're ahead"
1805+msgstr ""
1806+
1807+#: ../locolint/functions/cleanup.py:52
1808+msgid ""
1809+"Approve or Deny all pending applications to locoteams. Please look at the "
1810+"documentation for more information on how the algorithm works."
1811+msgstr ""
1812+
1813+#: ../locolint/functions/name-lint.py:28
1814+msgid ""
1815+"Check LoCo name consistancy against the *whole* of the locoteams. This will "
1816+"take lots of network time, and load down Launchpad. Please do not use this "
1817+"unless you need this data."
1818+msgstr ""
1819+
1820+#: ../locolint/lint.py:25
1821+msgid " : is from "
1822+msgstr ""
1823+
1824+#: ../locolint/lint.py:25
1825+msgid ". Good."
1826+msgstr ""
1827+
1828+#: ../locolint/lint.py:29
1829+msgid " : Has a non ISO code second set id"
1830+msgstr ""
1831+
1832+#: ../locolint/lint.py:33
1833+msgid " : Wrong ubuntu-bar-baz format"
1834+msgstr ""
1835+
1836+#: ../locolint/lint.py:37
1837+msgid " : Wrong foo-bar-baz format."
1838+msgstr ""
1839+
1840+#: ../locolint/lp.py:27
1841+msgid "Connecting to Launchpad..."
1842+msgstr ""
1843+
1844+#: ../locolint/lp.py:35
1845+msgid ""
1846+"Oh snapdragons! We failed to connect to LP. Something done goofed. Shucks!"
1847+msgstr ""
1848+
1849+#: ../setup.py:53
1850+msgid "LoCo Lint -- LoCo Administration and Tools for Lazy Hackers"
1851+msgstr ""
1852+
1853+#: ../setup.py:54
1854+msgid ""
1855+"Lets you access LoCo data, and file issues without using a browser in a "
1856+"structured way."
1857+msgstr ""
1858
1859=== added file 'translations/es.po'
1860--- translations/es.po 1970-01-01 00:00:00 +0000
1861+++ translations/es.po 2011-06-18 03:41:26 +0000
1862@@ -0,0 +1,421 @@
1863+# Spanish translation for locolint
1864+# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
1865+# This file is distributed under the same license as the locolint package.
1866+# FIRST AUTHOR <EMAIL@ADDRESS>, 2011.
1867+#
1868+msgid ""
1869+msgstr ""
1870+"Project-Id-Version: locolint\n"
1871+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
1872+"POT-Creation-Date: 2010-11-10 18:37-0500\n"
1873+"PO-Revision-Date: 2011-01-22 14:34+0000\n"
1874+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1875+"Language-Team: Spanish <es@li.org>\n"
1876+"MIME-Version: 1.0\n"
1877+"Content-Type: text/plain; charset=UTF-8\n"
1878+"Content-Transfer-Encoding: 8bit\n"
1879+"X-Launchpad-Export-Date: 2011-01-23 06:00+0000\n"
1880+"X-Generator: Launchpad (build 12177)\n"
1881+
1882+#: ../locolint/settings.py:15
1883+msgid ""
1884+"Re-approval task bug.\n"
1885+"This bug will be used to track the progress of the re-approval,\n"
1886+"and make sure that every team gets the needed follow-through.\n"
1887+"This bug will also allow us to keep a record of who was approved\n"
1888+"and re-approved when. Please keep in mind the only people who should\n"
1889+"be subscribed are the LoCo Council, and the team Contact. This bug will\n"
1890+"also be kept private, for council use.\n"
1891+"\n"
1892+"Your cooperation is thanked kindly in advance,\n"
1893+"The Ubuntu LoCo Council\n"
1894+msgstr ""
1895+
1896+#: ../locolint/settings.py:27
1897+msgid "Welcome! Thanks! Email the LoCo Council with issues you might have!"
1898+msgstr ""
1899+
1900+#: ../locolint/settings.py:28
1901+msgid ""
1902+"This is a semi-automated message. This team was set up for other LoCo teams. "
1903+"Seeing as how you are an individual, please join the LoCo team that you are "
1904+"most close to. Many thanks!"
1905+msgstr ""
1906+
1907+#: ../locolint/functions/admins.py:35
1908+#, python-format
1909+msgid "%s's Email is Hidden!"
1910+msgstr ""
1911+
1912+#: ../locolint/functions/admins.py:39 ../locolint/functions/admins.py:87
1913+#: ../locolint/functions/admins.py:96
1914+#, python-format
1915+msgid "%s has signed the CoC"
1916+msgstr ""
1917+
1918+#: ../locolint/functions/admins.py:41
1919+#, python-format
1920+msgid "Team is being run by another team -- %s"
1921+msgstr ""
1922+
1923+#: ../locolint/functions/admins.py:43 ../locolint/functions/admins.py:89
1924+#: ../locolint/functions/admins.py:98
1925+#, python-format
1926+msgid "%s has not signed the CoC"
1927+msgstr ""
1928+
1929+#: ../locolint/functions/admins.py:47 ../locolint/functions/admins.py:103
1930+msgid ""
1931+"Team does not exist! Please search the existing teams and find the team You "
1932+"are looking for. Thanks!"
1933+msgstr ""
1934+
1935+#: ../locolint/functions/admins.py:50
1936+msgid "Error! Usage: member <team_name>"
1937+msgstr ""
1938+
1939+#: ../locolint/functions/admins.py:52
1940+msgid "Expected a team name for the argument. please pass it in. Thanks!"
1941+msgstr ""
1942+
1943+#: ../locolint/functions/admins.py:55
1944+msgid "Get membership contact info"
1945+msgstr ""
1946+
1947+#: ../locolint/functions/admins.py:66 ../locolint/functions/re-app.py:33
1948+msgid ""
1949+"Team name is wrong. Please fix this, or bring it to the attention of the "
1950+"team owner. Thanks!"
1951+msgstr ""
1952+
1953+#: ../locolint/functions/admins.py:72
1954+#, python-format
1955+msgid "Anyone on the %s team"
1956+msgstr ""
1957+
1958+#: ../locolint/functions/admins.py:74
1959+msgid "Since that's not helpful, I'm doing a lookup for you now."
1960+msgstr ""
1961+
1962+#: ../locolint/functions/admins.py:75
1963+msgid "Please hold."
1964+msgstr ""
1965+
1966+#: ../locolint/functions/admins.py:84
1967+#, python-format
1968+msgid "Team is being run by %s"
1969+msgstr ""
1970+
1971+#: ../locolint/functions/admins.py:85
1972+#, python-format
1973+msgid "He or She may be contacted by %s "
1974+msgstr ""
1975+
1976+#: ../locolint/functions/admins.py:93
1977+#, python-format
1978+msgid ""
1979+"Team is being run by %s. He or She is not giving out their email. Sorry!"
1980+msgstr ""
1981+
1982+#: ../locolint/functions/admins.py:106
1983+msgid "Error! Usage: admins <team_name>"
1984+msgstr ""
1985+
1986+#: ../locolint/functions/admins.py:108
1987+msgid "Expected a team name for the argument. Please pass it in. Thanks!"
1988+msgstr ""
1989+
1990+#: ../locolint/functions/admins.py:111
1991+msgid ""
1992+"Get basic ( email and name ) information about the owner of a team. In the "
1993+"event that the owner is a team, it will return that data as well."
1994+msgstr ""
1995+
1996+#: ../locolint/functions/report-issue.py:27
1997+#, python-format
1998+msgid "Whoh now, enter something between 0 and %s"
1999+msgstr ""
2000+
2001+#: ../locolint/functions/report-issue.py:48
2002+msgid ""
2003+"OK. I'm going to fetch your teams now, and figure out what LoCo team(s) "
2004+"you're on"
2005+msgstr ""
2006+
2007+#: ../locolint/functions/report-issue.py:67
2008+msgid "Which team would you like to file against?"
2009+msgstr ""
2010+
2011+#: ../locolint/functions/report-issue.py:72
2012+msgid ""
2013+"Does not look like you're on a loco team. Shucks. We're going to default "
2014+"against locoteams it's self."
2015+msgstr ""
2016+
2017+#: ../locolint/functions/report-issue.py:81
2018+msgid "No such team!"
2019+msgstr ""
2020+
2021+#: ../locolint/functions/report-issue.py:84
2022+msgid "Let's send a report about team "
2023+msgstr ""
2024+
2025+#: ../locolint/functions/report-issue.py:89
2026+msgid ""
2027+"I'm going to need some info about what this is about Just write up what the "
2028+"problem is, treat this like an email. To end the comment section put a . on "
2029+"it's own line, please."
2030+msgstr ""
2031+
2032+#: ../locolint/functions/report-issue.py:94
2033+msgid "Righto! So, I'm going to file this bug for you. Sending now!"
2034+msgstr ""
2035+
2036+#: ../locolint/functions/report-issue.py:99
2037+msgid ""
2038+"OK, I see you've written this up. I'm attaching the report that you've told "
2039+"me to. That file is coming from:"
2040+msgstr ""
2041+
2042+#: ../locolint/functions/report-issue.py:106
2043+msgid "Team:"
2044+msgstr ""
2045+
2046+#: ../locolint/functions/report-issue.py:107
2047+msgid "Quicklink:"
2048+msgstr ""
2049+
2050+#: ../locolint/functions/report-issue.py:126
2051+#, python-format
2052+msgid ""
2053+"Alrighty! Issue filed. The LoCo Council has been notified of the report. "
2054+"Feel free to email or talk with anyone on the LoCo Council. Be sure to "
2055+"mention that you have filed LP Bug #%s "
2056+msgstr ""
2057+
2058+#: ../locolint/functions/report-issue.py:128
2059+msgid "Quick Link: "
2060+msgstr ""
2061+
2062+#: ../locolint/functions/report-issue.py:130
2063+msgid "Thanks so much!"
2064+msgstr ""
2065+
2066+#: ../locolint/functions/report-issue.py:134
2067+msgid ""
2068+"Report a LoCo Issue to the LoCo Council. This is a quick and easy way to put "
2069+"a ticket into the council while still being able to track its progress."
2070+msgstr ""
2071+
2072+#: ../locolint/functions/re-app.py:23 ../locolint/functions/re-app.py:25
2073+msgid "!!! Warning !!!"
2074+msgstr ""
2075+
2076+#: ../locolint/functions/re-app.py:24
2077+msgid ""
2078+"Only the council should be filing a bug report. Please do not file bugs, "
2079+"they will be disregarded and marked invalid. Thanks!"
2080+msgstr ""
2081+
2082+#: ../locolint/functions/re-app.py:35
2083+#, python-format
2084+msgid "We will be subscribing %s to this report."
2085+msgstr ""
2086+
2087+#: ../locolint/functions/re-app.py:37
2088+#, python-format
2089+msgid "Re-approval, %s"
2090+msgstr ""
2091+
2092+#: ../locolint/functions/re-app.py:38
2093+#, python-format
2094+msgid "The bug's title will be \"%s\""
2095+msgstr ""
2096+
2097+#: ../locolint/functions/re-app.py:41
2098+#, python-format
2099+msgid "The bug's tags will be set to \"%s\""
2100+msgstr ""
2101+
2102+#: ../locolint/functions/re-app.py:43
2103+#, python-format
2104+msgid "LP Link: http://launchpad.net/~%s\n"
2105+msgstr ""
2106+
2107+#: ../locolint/functions/re-app.py:65
2108+#, python-format
2109+msgid "Great. Note that you have filed LP Bug #%s"
2110+msgstr ""
2111+
2112+#: ../locolint/functions/re-app.py:67
2113+#, python-format
2114+msgid "Quick Link: https://launchpad.net/bugs/%s"
2115+msgstr ""
2116+
2117+#: ../locolint/functions/re-app.py:72
2118+msgid "That team's not real!"
2119+msgstr ""
2120+
2121+#: ../locolint/functions/re-app.py:73
2122+msgid "Check the list at http://loco.ubuntu.com/teams/"
2123+msgstr ""
2124+
2125+#: ../locolint/functions/re-app.py:76
2126+msgid "Expecting a team name to note re-application"
2127+msgstr ""
2128+
2129+#: ../locolint/functions/re-app.py:81
2130+msgid ""
2131+"Log a re-application bug against a team. This will fire off a report without "
2132+"asking about anything, please use with care. Only project administrators ( "
2133+"the LoCo Council ) should be using this."
2134+msgstr ""
2135+
2136+#: ../locolint/functions/pending-apps.py:24
2137+msgid ""
2138+"The app tickets are filed as private I'm not even going to bother listing "
2139+"any with that tag since it's mostly going to be useless. Sorry."
2140+msgstr ""
2141+
2142+#: ../locolint/functions/pending-apps.py:39
2143+msgid "Oh shaz! We don't have a valid project!"
2144+msgstr ""
2145+
2146+#: ../locolint/functions/pending-apps.py:43
2147+msgid ""
2148+"List all the teams with re-approvals in the pending state. This is a simple "
2149+"look into the bugs page on locoteams. Since most re-apps are private, this "
2150+"is only really useful to the project owners ( LoCo Council )."
2151+msgstr ""
2152+
2153+#: ../locolint/functions/name-check.py:18
2154+msgid "Error! Usage: name-check <team_name>"
2155+msgstr ""
2156+
2157+#: ../locolint/functions/name-check.py:20
2158+msgid "Expected a team name for the argument please pass it in. Thanks!"
2159+msgstr ""
2160+
2161+#: ../locolint/functions/name-check.py:24
2162+msgid ""
2163+"Check LoCo name consistancy against a single name, offline. This will just "
2164+"put the name through the simple name-check algorithm."
2165+msgstr ""
2166+
2167+#: ../locolint/functions/whoami.py:18
2168+msgid ""
2169+"It looks here that you're on the LoCo Council. Well done. Thanks for being "
2170+"you. You make Ubuntu great. Long live the Council members!"
2171+msgstr ""
2172+
2173+#: ../locolint/functions/whoami.py:21
2174+msgid ""
2175+"It looks like you're not on the LoCo Council. That's OK, but you won't be "
2176+"able to exact change where you see fit. Oh well!"
2177+msgstr ""
2178+
2179+#: ../locolint/functions/whoami.py:24
2180+msgid ""
2181+"If you forgot who you are, you can use this to recover your name. It also "
2182+"checks to see if you're on the LoCo Council or not."
2183+msgstr ""
2184+
2185+#: ../locolint/functions/copyright.py:14
2186+msgid ""
2187+"This software is Free Software, licensed under the GNU GPL-3+. Copyright "
2188+"Paul Tagliamonte ( For the LoCo Council ) 2010"
2189+msgstr ""
2190+
2191+#: ../locolint/functions/copyright.py:16
2192+msgid "Please be nice to people. The world is a better place that way."
2193+msgstr ""
2194+
2195+#: ../locolint/functions/copyright.py:20
2196+msgid "Get copyright info for lintco."
2197+msgstr ""
2198+
2199+#: ../locolint/functions/cleanup.py:22
2200+msgid "You're on the council. Let's go and process the teams"
2201+msgstr ""
2202+
2203+#: ../locolint/functions/cleanup.py:27
2204+msgid "New LoCo Team: "
2205+msgstr ""
2206+
2207+#: ../locolint/functions/cleanup.py:30
2208+msgid ""
2209+"Team name is wrong. Get the team to fix it before approving this team! Run a "
2210+"lookup with the following command:"
2211+msgstr ""
2212+
2213+#: ../locolint/functions/cleanup.py:35
2214+msgid "Processed and Approved!"
2215+msgstr ""
2216+
2217+#: ../locolint/functions/cleanup.py:37 ../locolint/functions/cleanup.py:44
2218+msgid "HTTP Error! Did you give me full permissions?"
2219+msgstr ""
2220+
2221+#: ../locolint/functions/cleanup.py:39
2222+msgid "We have a person attempting to join: "
2223+msgstr ""
2224+
2225+#: ../locolint/functions/cleanup.py:42
2226+msgid "Processed and Denied"
2227+msgstr ""
2228+
2229+#: ../locolint/functions/cleanup.py:49
2230+msgid "You're not on the loco council. Stopping while we're ahead"
2231+msgstr ""
2232+
2233+#: ../locolint/functions/cleanup.py:52
2234+msgid ""
2235+"Approve or Deny all pending applications to locoteams. Please look at the "
2236+"documentation for more information on how the algorithm works."
2237+msgstr ""
2238+
2239+#: ../locolint/functions/name-lint.py:28
2240+msgid ""
2241+"Check LoCo name consistancy against the *whole* of the locoteams. This will "
2242+"take lots of network time, and load down Launchpad. Please do not use this "
2243+"unless you need this data."
2244+msgstr ""
2245+
2246+#: ../locolint/lint.py:25
2247+msgid " : is from "
2248+msgstr ""
2249+
2250+#: ../locolint/lint.py:25
2251+msgid ". Good."
2252+msgstr ""
2253+
2254+#: ../locolint/lint.py:29
2255+msgid " : Has a non ISO code second set id"
2256+msgstr ""
2257+
2258+#: ../locolint/lint.py:33
2259+msgid " : Wrong ubuntu-bar-baz format"
2260+msgstr ""
2261+
2262+#: ../locolint/lint.py:37
2263+msgid " : Wrong foo-bar-baz format."
2264+msgstr ""
2265+
2266+#: ../locolint/lp.py:27
2267+msgid "Connecting to Launchpad..."
2268+msgstr ""
2269+
2270+#: ../locolint/lp.py:35
2271+msgid ""
2272+"Oh snapdragons! We failed to connect to LP. Something done goofed. Shucks!"
2273+msgstr ""
2274+
2275+#: ../setup.py:53
2276+msgid "LoCo Lint -- LoCo Administration and Tools for Lazy Hackers"
2277+msgstr ""
2278+
2279+#: ../setup.py:54
2280+msgid ""
2281+"Lets you access LoCo data, and file issues without using a browser in a "
2282+"structured way."
2283+msgstr ""

Subscribers

People subscribed via source and target branches