lp:~bac/charmworld/bug-1379397
- Get this branch:
- bzr branch lp:~bac/charmworld/bug-1379397
Branch merges
- Juju Gui Bot: Approve (continuous-integration)
- Charmworld Developers: Pending requested
-
Diff: 190 lines (+82/-7)3 files modifiedcharmworld/search.py (+16/-1)
charmworld/tests/test_search.py (+42/-0)
charmworld/views/api/__init__.py (+24/-6)
Branch information
Recent revisions
- 517. By j.c.sackett
-
Update charmworld to use charmworldlib 0.4.2.
Approved by Juju Gui Bot, j.c.sackett.
- 516. By Brad Crittenden
-
Make ngram searches work.
After the ngram search was deployed it was discovered to only work if 1) using
the API and 2) had autocomplete=true.Inspecting the code showed the intent for ngram to be used in other
situations, and there was not documented rationale for only using it when
doing autocomplete.The problem was simply in the query for non-autocomplete the field for the
ngrams was prefixed with 'data.' when it should not have been.The ngrams fields were moved out of the charm and bundle fields and passed as
separate fields, treated like 'provides' and 'requires', to avoid the
prefixing.As a result of this change, the search on the manage.
jujucharms. com page now
uses ngrams too.https:/
/codereview. appspot. com/117810044/ R=makyo. Fixes: https:/
/bugs.launchpad .net/bugs/ 1220909. Approved by Juju Gui Bot, Matthew Scott.
- 515. By Reed O'Brien
-
Call wait_for_
green_status( ) which will hopefully allow the test to pass on slower HW. Approved by Juju Gui Bot, Reed O'Brien.
- 514. By Brad Crittenden
-
Remove mongo-beaker from setup.py.
This bit of configuration causes beaker to try to load the mongo backend
twice, generating confusing error messages in app-exception.log.https:/
/codereview. appspot. com/95480044/ R=rharding.
Approved by Juju Gui Bot.
- 513. By Brad Crittenden
-
New test fails consistently in Jenkins.
An example failure is at:
http://162.213. 35.28:8080/ job/charmworld- autoland/ 71/console The failure is likely caused by the fact the system on Jenkins is freshly
installed and has no existing ElasticSearch initialization. Disabling the
test so it can be investigated while not clogging up the works.https:/
/codereview. appspot. com/97630044/ R=bac.
Approved by Juju Gui Bot.
- 512. By Reed O'Brien
-
This makes the ngram work migrate cleanly. Fixes: https:/
/bugs.launchpad .net/bugs/ 1314239. Approved by Juju Gui Bot, Brad Crittenden.
- 511. By Brad Crittenden
-
Allow local charm ingestion.
To bin/ingest-queued the new option --local-repo has been added. Give the
path to a parent directory and all subdirectories that are Bazaar branches
will be ingested as charms.Fixes bug 1319140 where the --debug option wasn't declared in the correct
place, causing bin/enqueue to die. While the work of that script is now a
part of bin/ingest-queued it still has utility as a free-standing script and
is kept.https:/
/codereview. appspot. com/98280043/ R=jcsackett. Fixes: https:/
/bugs.launchpad .net/bugs/ 1319140. Approved by Juju Gui Bot.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:charmworld