aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2014-05-24update.py: fix layer exists-on-branch checkPaul Eggleton
There was a logic error here - we were checking to see if the layer directory existed before actually checking out the branch, which means we were looking at the state of whatever branch was previously checked out. Replace this with some validation of the last revision check and an additional check for the directory after checking out the branch. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-05-24update.py: use actual branch when getting last revisionPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-05-12Handle % characters in URLsPaul Eggleton
If there is a % character in the path to a file / directory, we need to properly encode it when creating the repo web URL or the link won't work. Thanks to Khem Raj for reporting this. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-04-06Allow layers to have no master branchPaul Eggleton
With BSPs being "retired" e.g. in meta-intel, it is possible for layers to not exist on the master branch; since this is legitimate we need the layer index to handle it. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-03-09recipes: preserve search keyword when switching between branchesPaul Eggleton
If you want to check what the same search returns on a different branch it makes things easier if you don't have to re-type the search after selecting the branch. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-03-09Fix append list name matchingPaul Eggleton
* Recipes without versions in the file name (such as alsa-state.bb) weren't having their bbappends listed. Use a regex match to fix this. * Use the prefix from the filename instead of PN, since that's how BitBake does it * List version matching bbappends first, then non-matching in muted colour Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-03-09Show branch name next to last update datePaul Eggleton
Just to reinforce which branch is being viewed. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-03-09duplicates: sort recipes by version (descending) after other sortsPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-03-09duplicates: add ability to select layersPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-03-04README: update tested versions for required packagesPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-03-03Fix OE-Classic stats page for update to latest django-nvd3 (0.6.0)Paul Eggleton
Update d3/nvd3 js files in the process, but hold off on nv.d3.css for now because the latest version breaks the formatting/fading on tooltips. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-02-23TODO: Add some more todo itemsPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-02-23Add layer import scriptPaul Eggleton
Adds a simple way to add a new layer to the database in an automated manner, given only a URL and optionally a name and subdirectory. If no subdirectory is given, the root and all first-level subdirectories that contain conf/layer.conf will be created as layers. Guesses will be made as to the right values for certain fields, by looking at README/MAINTAINERS files and github repository information. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-12-28Use CORE_LAYER_NAME when setting default layer dependencyPaul Eggleton
If the site is configured to use a different core layer then we ought to use it for the default layer dependency instead of hardcoding openembedded-core. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-12-28Check that the core layer contains conf/bitbake.confPaul Eggleton
This ensures we get a sensible error message prompting the user to set the subdirectory, instead of a BitBake parse error. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-12-28Use Django sites framework to specify website titlePaul Eggleton
This allows specifying the site title in the database, instead of hardcoding it in the template. Just change it to something other than "example.com" to apply your own title. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-12-27update.py: fix subdirectory does not exist error messagePaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
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>