
Hello, World!
While everyone was at UDS, I had nothing to do. I know, right?
I spent my time writing a small tool to help make the LoCo Council’s life easier. It’s called “locolint”, and you can find the code ( and the rest of the goodies ) over at launchpad.
What is lint, you ask? Well, I quote from the source of all human knowledge, Wikipedia.
In computer programming, lint was the name originally given to a particular program that flagged some suspicious and non-portable constructs (likely to be bugs) in C language source code. The term is now applied generically to tools that flag suspicious usage in software written in any computer language. The term lint-like behavior is sometimes applied to the process of flagging suspicious language usage. Lint-like tools generally perform static analysis of source code.
Yup, that’s where lintian came from. I digress. Here’s some usage.
Name Checking ( No LP access needed )
tag@loki:~$ lca name-check ubuntu-us-ohio
N: ubuntu-us-ohio : is from UNITED STATES . Good.
tag@loki:~$ lca name-check ubuntu-alaskia
E: ubuntu-alaskia : Has a non ISO code second set id
Nothing against Alaska, other then it’s where one of my friends is, and a non-standard name. Shoutout to AKLUG and AK LoCo!
Team Owner Checking ( Internet needed )
Sometimes, we have to get in touch with the owner of a team. lca allows a check of the team without logging in with a browser.
tag@loki:~$ lca admin ubuntu-us-ohio
N: Connecting to Launchpad...
N: Identified as Paul Tagliamonte!
N:
N: Anyone on the ubuntu-us-ohio-buckeyes team
N:
N: Since that's not helpful, I'm doing a lookup for you now.
N: Please hold.
N:
N:
N: Team is being run by another team -- Ohio ReLoCo Leaders
N: lp:~ubuntu-us-ohio-reloco-leads
N:
N: Paul Tagliamonte <paultag@ubuntu.com>
N: paultag has signed the CoC
N: lp:~paultag
N:
N: Team is being run by another team -- Ubuntu Ohio Rockstars
N: lp:~ubuntu-us-ohio-rockstars
Should give the basics enough to do what you need to do ( and still get out of your way ). It also does a name-check against the team ( to remind you the team is not standard ). Let’s take a look at the owners of lp:~pennsylvania ( the US PA LoCo, much love ya’ll! )
tag@loki:~$ lca admin pennsylvania
N: Connecting to Launchpad...
N: Identified as Paul Tagliamonte!
E:
E: Team name is wrong. Please fix this, or bring it
E: to the attention of the team owner. Thanks!
N:
N: Team is being run by Bret Fledderjohn
N: He or She may be contacted by free...@verizon.net
N: freelancer317 has signed the CoC
N:
I put dots in the email. I’d hate for Bret to get spam because of me
There’s a bit more, but I think that’s a good enough overview of some of what it can do. If you feel the need for speed, head over to the launchpad project, and send your branches in!