28

Jono and Marco have been working on integrating the Ask Ubuntu badges you earn here with the Ubuntu Accomplishment system.

This is basically badges, but at a higher project level, so of course we want people's Ask Ubuntu work to count as trophies in Ubuntu as a whole.

In order to do this we need to basically create a small text file for each badge so that the Ubuntu accomplishment system knows what to do. Ends up there are a ton more badges than you'd think, so we'd like to see if people can chip in helping us get this done:

1 Answer 1

19

Please remember that an important goal of these accomplishments is that the documentation should be detailed: think of it as a wikipedia for how to get started with a particular Ask Ubuntu badge.

To write an accomplishment file do this:

bzr branch lp:ubuntu-community-accomplishments
cd ubuntu-community-accomplishments/accomplishments/ubuntu-community/en/support

In there you should see a bunch of .accomplishment files, each corresponding to a badge. Open it up, it should look like this:

[accomplishment]
title=Altruist on Ask Ubuntu
description=First bounty you manually awarded on another person's question
collection=ubuntu-community
category=Ask Ubuntu:Bounty
icon=askubuntu-gold.png
needs-signing=true
needs-information=askubuntu-user-url
summary = Explain here in detail what this badge is, and what is involved is accomplishing it.
steps: Provide step by step instructions for to accomplish this.
    Each step should be on a new line with a tab at the beginning, like this.
links: http://www.askubuntu.com
tips: Things and recommendations that people might find useful in earning the accomplishment.
pitfalls: Provide tips to avoid
    So users can learn
help = #ubuntu-community-team on Freenode
author = Jorge Castro <[email protected]>

You only need to fix up icon, steps, tips, pitfalls, and author, you can leave the rest alone.

  • category - The format is category=Ask Ubuntu:subcategory. For the list of subcategories, use this meta post.
  • icon - for the icons, use use the same icon as used by Ask Ubuntu (e.g. if it is Gold on Ask Ubuntu, ensure it has the gold icon in Ubuntu Accomplishments. You can use the following filenames: askubuntu-gold.png, askubuntu-silver.png, and askubuntu-bronze.png for the icons corresponding to each badge.
  • summary - this should be a detailed description of the badge and what is involved. For example if you are talking about your profile, explain what a profile is, why the user should care, and how they access it. To start a new paragraph, start a new line and put a tab at the beginning.
  • steps - add a series of chrononological steps for how to accomplish the badge. To add a new step, start a new line and put a tab at the beginning.
  • tips - add a series of tips that can help someone be successful in accomplishing the badge. To add a new tip, start a new line and put a tab at the beginning.
  • pitfalls - add a series of things the user should not do. To add a new pitfall, start a new line and put a tab at the beginning.

Save your file, and then submit it by doing:

bzr commit 

And then add a changelog entry, something like "Added the yearling badge", then save and push:

bzr push lp:~yourlaunchpadusername/ubuntu-community-accomplishments/give-your-branch-a-cool-name-here

Now open your branch in your browser:

bzr lp-open

And then click on "Propose for merging" and then add a decription, paste in lp:ubuntu-community-accomplishments for the branch you want to propose into and click "Submit".

Tips:

  • You can remove the tag description that says "This badge can be earned multiple times" as the Ubuntu system only awards for the first time.
  • All the descriptions are on the badge page so you can copy and paste those.

Once you've submitted the accomplishment file cross it off this list.

  • Altruist - Marco
  • Analytical - Marco
  • Announcer - Marco
  • Archaeologist - Marco
  • Autobiographer - Marco
  • Benefactor - Marco
  • Beta - Marco
  • Booster - Marco
  • Citizen Patrol - Marco
  • Civic Duty - Marco
  • Cleanup - Marco
  • Commentator - Marco
  • Convention - Marco
  • Copy Editor - Marco
  • Critic - Agmenor
  • Deputy - Marco
  • Disciplined - Marco
  • Editor - Marco
  • Electorate - Marco
  • Enlightened - Marco
  • Enthusiast - Marco
  • Epic - Marco
  • Excavator - Marco
  • Famous Question - htorque
  • Fanatic - WarriorIng64
  • Favorite Question - htorque
  • Generalist
  • Good Answer - George Edison
  • Good Question - htorque
  • Great Answer - jorge
  • Great Question - jorge
  • Guru
  • Investor
  • Legendary
  • Marshal
  • Mortarboard
  • Necromancer
  • Nice Answer - htorque
  • Nice Question - htorque
  • Notable Question - htorque
  • Organizer - WarriorIng64
  • Outspoken - WarriorIng64
  • Peer Pressure - htorque
  • Popular Question - htorque
  • Populist - htorque
  • Precognitive - htorque
  • Promoter - htorque
  • Proofreader - WarriorIng64
  • Publicist - htorque
  • Pundit - htorque
  • Quorum - htorque
  • Research Assistant
  • Reversal
  • Reviewer
  • Revival
  • Scholar - WarriorIng64
  • Self-Learner - surgemcgee
  • Sportsmanship - surgemcgee
  • Stellar Question - surgemcgee
  • Strunk & White - surgemcgee
  • Student - WarriorIng64
  • Suffrage - WarriorIng64
  • Supporter - WarriorIng64
  • Synonymizer
  • Tag Editor - jorge
  • Talkative - WarriorIng64
  • Taxonomist - jorge
  • Teacher - WarriorIng64
  • Tenacious - jorge
  • Tumbleweed - jorge
  • Unsung Hero - jorge
  • Vox Populi - jorge
  • Yearling - jorge
8
  • Pretty neat. Will help out. Commented May 30, 2012 at 15:06
  • 1
    You want it to match the badge, askubuntu-gold.png, askubuntu-silver.png, and askubuntu-bronze.png Commented May 30, 2012 at 15:27
  • I think I did it wrong, the only thing inside the askubuntu-accomplishments is .bzr. There is no other directory there. Commented May 30, 2012 at 15:31
  • Ok, Thanks. Also, I put a tips: field before pitfalls. It is not in the example.
    – surgemcgee
    Commented May 30, 2012 at 16:00
  • 5
    Will also have a look at it later today. Jono just received the "Motivate Hernando Badge". :P
    – htorque
    Commented Jun 1, 2012 at 3:58
  • htorque - thanks for your awesome contributions! I look forward to seeing more. :-)
    – jonobacon
    Commented Jun 1, 2012 at 18:55
  • 2
    Awesome community → awesome contributions. ;-)
    – htorque
    Commented Jun 2, 2012 at 6:33
  • Just thought I'd note that it seems Launchpad already has lp:ubuntu-community-accomplishments selected as the branch to merge into by default when you propose the merge. Commented Jun 3, 2012 at 3:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .