← Back to team overview

launchpad-dev team mailing list archive

Re: Answers on friendly.ubuntu.com

 

Andrea, I would very much like to adopt your approach. However, I don't
understand how Ubuntu Friendly could get the question IDs back from
Launchpad. Currently, I see two ways for Ubuntu Friendly to create
questions in Launchpad:

1. Ubuntu Friendly provides a link to Launchpad answers where users can
   ask a question under a given project with the title potentially
   pre-filled with the model name. However, once the user clicks on
   the link, I don't understand how the ID can be retrieved by Ubuntu
   Friendly.

2. Ubuntu Friendly provides a form that uses the Launchpad API to create
   a question in Launchpad answers. Then, the API would certainly return
   the question ID that could be inserted in our own database. However,
   I don't understand how the user can authenticate so that the question
   is asked as himself.

How did you envision this working?

* Andrea Corbellini <corbellini.andrea@xxxxxxxxx> [2012-01-18 15:40 +0100]:
> You could also put the questions IDs (which are immutable) into your own
> database and create the associations question<->system inside your db.
> I think this would be the best and safer solution.
> 
> On Mon, 2012-01-16 at 11:43 -0500, Marc Tardif wrote:
> > Hi folks,
> > 
> > The Ubuntu Friendly website [1] would like to enable people to ask
> > questions about systems and we would like to use Launchpad
> > Answers. The typical use case would look like:
> > 
> > 1. User finds system on Ubuntu Friendly;
> > 2. User creates a question about the system;
> > 3. Other users can see the question and answers for the system.
> > 
> > The problem is with the third step: how can we get the list of questions
> > that were created for a given system? We thought about creating a
> > title for the question when redirecting to Launchpad that could then be
> > searched easily, but the user can then decide to change the title. We
> > also thought about first creating a bug with a tag before creating the
> > question, but that seems rather circumvoluted and not sure whether it
> > would even work.
> > 
> > So, what would be a reasonable solution to cover the above use case?
> > 
> > 1. http://friendly.ubuntu.com

-- 
Marc Tardif <marc.tardif@xxxxxxxxxxxxx>
Freenode: cr3, Jabber: cr3@xxxxxxxxxx
1024D/72679CAD 09A9 D871 F7C4 A18F AC08 674D 2B73 740C 7267 9CAD



Follow ups

References