~jcsackett/charmworld/bac-tag-constraints

  • Committer: Tarmac
  • Author(s): Brad Crittenden
  • Date: 2014-05-07 14:01:57 UTC
  • mfrom: (507.1.2 annotation-dos)
  • Revision ID: tarmac-20140507140157-sr36ao5d25irvupo
Include annotations in bundle search results.

The previous attempt at this problem was flawed in that API call for
getting bundles directly pulls from Mongo while search?text= and
search/interesting get results from ElasticSearch.

QA:

Load up some bundles with annotations:

bin/ingest-queued --prefix="~charmers/charms/precise/ntp"
bin/ingest-queued --prefix="~bac"

Change juju-gui to point to locally running charmworld:

diff --git a/app/config-debug.js b/app/config-debug.js
index 39daca6..f2c86b6 100644
--- a/app/config-debug.js
+++ b/app/config-debug.js
@@ -32,7 +32,10 @@ var juju_config = {
   // These are the main application config items used and passed down into all
   // SubApps.
   consoleEnabled: true,
+  //charmworldURL: 'https://manage.jujucharms.com/',
+  charmworldURL: 'http://127.0.0.1:2464/',

Run charmworld and juju-gui.  In the GUI wait for the initial results to
load.  These are the Featured charms and bundles.

Select the rails-scalable bundle.  Note the layout in the inspector.  Close
the inspector and then drag the bundle (using the name not the icon) to the
canvas.  Note that the layout is the same as the preview.

https://codereview.appspot.com/91140045/

R=jcsackett.

Approved by Juju Gui Bot.
Filename Latest Rev Last Changed Committer Comment Size
..
charmworld 1 12 years ago kapil.foss at gmail charmworld pyramid starter Diff
docs 33 12 years ago kapil.foss at gmail add install doc Diff
scripts 21 12 years ago Kapil Thangavelu add ctl scripts Diff
.bzrignore 458.1.3 10 years ago j.c.sackett Bzr should ignore our conventional lp credentials 430 bytes Diff Download File
.lbox 419.1.2 10 years ago Brad Crittenden lbox defaults to -cr and sets project to charmworl 31 bytes Diff Download File
File .lbox.check 491.1.2 10 years ago Brad Crittenden Move lint before test in lbox.check 66 bytes Diff Download File
CHANGES.txt 67.1.10 11 years ago Kapil Thangavelu put back accidentally yanked changes 28 bytes Diff Download File
default.ini 474.1.6 10 years ago j.c.sackett Changes to address commentar in review. 2.9 KB Diff Download File
distribute_setup.py 71.1.2 11 years ago Rick Harding Add missing files 15.3 KB Diff Download File
LICENSE.txt 61 12 years ago kapil.foss at gmail add license 33.7 KB Diff Download File
Makefile 482.1.1 10 years ago Brad Crittenden Turn on lint for migrations and fix 5.1 KB Diff Download File
MANIFEST.in 1 12 years ago kapil.foss at gmail charmworld pyramid starter 133 bytes Diff Download File
README.txt 7 12 years ago kapil.foss at gmail work in progress on multi namespace support 252 bytes Diff Download File
requirements.txt 487.2.1 10 years ago Brad Crittenden Check charm constraints when doing proof. Lots of 1.3 KB Diff Download File
setup.cfg 304.4.26 11 years ago Aaron Bentley Move logging filters to nose config. 569 bytes Diff Download File
setup.py 461.3.2 10 years ago Benji York checkpoint 1.4 KB Diff Download File
test-setup.ini 474.1.6 10 years ago j.c.sackett Changes to address commentar in review. 668 bytes Diff Download File