aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2013-12-27README: add some instructions on creating the core layerPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-11-14README: note that LAYER_FETCH_DIR needs to be an absolute pathPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-11-13README: add instruction to run migration on installPaul Eggleton
Since South was added this is an additional mandatory step for new installations. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-11-04admin: enable adding layer branchesPaul Eggleton
Allow editing the layer/branch fields when adding a layer branch record. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-09-20update.py: add --fullreload optionPaul Eggleton
Recently the -r/--reload option was changed to preserve existing recipe data, so that it could be used to load values into newly added fields; however we still need an option to load recipe data from scratch for testing purposes (e.g. in combination with --nocheckout) so add a --fullreload option to do this. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-09-20update.py: fix ability to test updating with --nocheckoutPaul Eggleton
In order to test updating we need to be able to check out a previous revision of the repository and have the update script load from that without checking out the latest revision, so fix the --nocheckout option to work properly. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-09-20update.py: fix Ctrl+C handling during layer updatePaul Eggleton
We do not want to continue on to the next layer on Ctrl+C. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-09-20TODO: update todo listPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-09-20layerindex/tools: fix permissionsPaul Eggleton
These should all have the execute bit set. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-09-20README: update for recent changesPaul Eggleton
* There is no longer a frontpage template * BitBake requires Python 2.7.3 so we might as well state it here also Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-09-13Fix tree link on layer list for layers with no subdirectoryPaul Eggleton
We always need to replace %path% in the URL, not just when there is a non-blank path to replace it with. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-09-13Fix fields not saving their values when disabledPaul Eggleton
We grey out some fields because we don't want to allow the user to change them. However, we were setting the "disabled" jQuery property to do this, and this results in the read value for the form field being blank and thus the field in the database being blank. Set the "readonly" property instead to get the correct behaviour. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-09-13Fix error when editing layer from review pagePaul Eggleton
The layer_review URL does not take a branch argument, so we can't send one or it'll fail. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-09-05Fix detail page breadcrumbs to show layer branch instead of "Layers"Paul Eggleton
This makes it easier to tell what branch you are looking at. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-09-05update.py: hide DeprecationWarningsPaul Eggleton
These are just annoying if the script is called from a cron job. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-09-05manage.py: add workaround for old project layoutPaul Eggleton
Apparently we're using a deprecated directory layout; with some versions of Django this results in an error running manage.py, so add a workaround for this. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-09-05Use actual_branch in URLs if availablePaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-09-05Disable web URL fields when repository is knownPaul Eggleton
Some users seem to think it's necessary to clear these fields out when they are auto-set. The most appropriate thing to do seems to be to disable editing them if we know what their values should be. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-09-05Top bar functions improvementsPaul Eggleton
* Change Submit layer link into a button * Ensure tools dropdown menu doesn't show on layer submit/edit page Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-09-05update.py: handle if deleted recipe can't be foundPaul Eggleton
Show a warning instead of a traceback if a deleted recipe can't be found in the database. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-09-05Allow SHA1 hash for bitbake branchPaul Eggleton
Allow the bitbake branch to be a SHA1 hash as well as a branch/tag. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-09-05Disable rawrecipes URLPaul Eggleton
It's not really completely functional and puts quite a bit of load on the server when used, so just disable it for now. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-09-05Show a coherent error on bulk change lock timeoutPaul Eggleton
Since it's possible that the user will try to get patches while the update script is running, ensure we show a sensible error if the script times out waiting for a lock. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-09-05Ensure logger is passed into runcmd function or use sys.stderr.writePaul Eggleton
Otherwise it might not be defined when an error.needs to be printed. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-09-05Implement locking for update/bulkchange processPaul Eggleton
Avoid the possibility of these two clashing especially when multiple branches are being used. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-09-05Navigation improvementsPaul Eggleton
* Drop the front page - this just gets in the way. Redirect to the layers list instead. This has meant adding a touch more text to the about page and adding the FAQ link to the footer. * Use a separate navbar to hold the branch selector and the main top-level pages (Layers, Recipes, Machines) instead of tabs * All pages depending on a branch selection are now under branch/<branchname>/ so we don't need to have the branch selection on every page. * Use breadcrumbs on recipe detail and layer detail pages instead of tabs * Add title to recipe detail page Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-09-05Make machine search consistent with recipe searchPaul Eggleton
Don't start with all records being shown - only do this if the search button is pressed with no keyword. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-09-05Add support for importing OE-Classic recipesPaul Eggleton
Add a script for doing a one-time import of OE-Classic recipe information, so comparisons against OE-Core can be performed; this is stored using a new ClassicRecipe model supporting additional fields for tracking migration status. The migration status fields can be updated as well as viewed and summarised in graph format. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-11Minor improvement to layer note spacing/marginsPaul Eggleton
Don't show a slightly longer bottom margin when buttons are not shown. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-11Force scrollbar to always show to prevent page width changingPaul Eggleton
Having the page content dance about when switching between pages just because one has a scrollbar and the other doesn't is annoying, so just force the scrollbar to show all of the time to avoid this. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-11Update bootstrap to latest version (2.3.0)Paul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-11Layer detail: use tabs for recipes/machines/appends/classesPaul Eggleton
Tabs make these a bit easier to browse. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-11Login drop-down style improvementsPaul Eggleton
Thanks to Belen for the design. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-11Show appends in recipe detailPaul Eggleton
Show the appends in other layers that apply to the recipe. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-11layers: leave drop-down filter box open when ticking/unticking itemsPaul Eggleton
This allows users to easily tick and untick several items at once without having to drop the filter box down multiple times. Thanks to Belen for this snippet. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-11Move layers import script to tools subdirectoryPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-11update.py: preserve recipe id when updatingPaul Eggleton
The recipe detail pages use the recipe record id, so in case users bookmark links to these pages, try to preserve the id when a recipe upgrade occurs (which usually shows up as a delete and an add). This also works when doing a full update with -r so that we can capture the newly recorded items (bbclasses, bbappends) without having all the recipe id values change. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-11Change tab titles to match front page buttonsPaul Eggleton
"Layer index" -> "Layers", "Machine index" -> "Machines", etc. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-11Add cancel button to edit layer formPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-11Return to appropriate page when saving a layerPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-11Enable messages framework and use it to display "layer saved" messagePaul Eggleton
The Django messages framework is the proper way to handle these kinds of messages. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-11Add recipe bulk change featurePaul Eggleton
This provides a way to set "meta" fields (SUMMARY, DESCRIPTION, HOMEPAGE, BUGTRACKER, SECTION, and LICENSE) for a number of recipes at once, and then download those changes in the form of one or more patch files which can be submitted for merging into the layer. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-07-28Split out recipe parsing and utility functions to a separate modulePaul Eggleton
To allow re-use outside of the update script, split out parsing setup code to a new recipeparse module. Also split out runcmd, get_layer, get_branch and logger_create functions to a separate utils module. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-06-17Add actual_branch field to layerbranchPaul Eggleton
Some layers don't use the conventional branch name (i.e. the same name as the core branch). Add a field so we can record the actual branch name and use this within the update script. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-06-17Add duplicate recipes/classes pagePaul Eggleton
Add page that lists recipes and classes "duplicated" across different layers. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-06-17Collect bbappends and bbclasses for each layerPaul Eggleton
Collect bbappend/bbclass info during the update process and display it on the layer detail page. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-06-03Collect BUGTRACKER, PROVIDES and BBCLASSEXTEND for each recipePaul Eggleton
* Show BUGTRACKER in the recipe detail page if set * Track the other two variables for possible future use Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-06-03Add preference order fieldPaul Eggleton
Add an index_preference field to enable control over which layer's duplicate recipes get de-emphasised in the recipe search results. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-06-03Enable south and add initial migrationsPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-06-03Improve history collection and add link to history pagePaul Eggleton
Save individual field changes into revision comment and display this comment on the history page. Now we're ready to add a link at the bottom of every page so the history is easily visible. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>