This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@register.function | |
def devmo_link(key): | |
""" Create a link to one of DEVMO_LINKS | |
""" | |
link = '<a href="%s">%s</a>' % (DEVMO_LINKS[key]['slug'], | |
DEVMO_LINKS[key]['title']) | |
return jinja2.Markup(link) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DEVMO_LINKS = { | |
'zones': {'slug': 'Zones', 'title': 'Zones'}, | |
'addons': {'slug': 'Mozilla/Add-ons', 'title': 'Add-ons'}, | |
'apps': {'slug': 'Apps', 'title': 'App Center'}, | |
'firefox': {'slug': 'Firefox', 'title': 'Firefox'}, | |
'marketplace': {'slug': 'Mozilla/Marketplace', 'title': 'Firefox Marketplace'}, | |
'firefox-os': {'slug': 'Firefox_OS', 'title': 'Firefox OS'}, | |
'persona': {'slug': 'Persona', 'title': 'Persona'}, | |
'html': {'slug': 'Web/HTML', 'title': 'HTML'}, | |
'css': {'slug': 'Web/CSS', 'title': 'CSS'}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
notice: /Stage[basics]/Basics/Exec[apt-get-update]/returns: executed successfully | |
notice: /Stage[langs]/Python_prereqs/Exec[install-extras]/returns: Requirement already satisfied (use --upgrade to upgrade): wheel in /usr/local/lib/python2.6/dist-packages | |
notice: /Stage[langs]/Python_prereqs/Exec[install-extras]/returns: Requirement already satisfied (use --upgrade to upgrade): virtualenv in /usr/local/lib/python2.6/dist-packages | |
notice: /Stage[langs]/Python_prereqs/Exec[install-extras]/returns: Requirement already satisfied (use --upgrade to upgrade): Django<1.5 in /usr/local/lib/python2.6/dist-packages | |
notice: /Stage[langs]/Python_prereqs/Exec[install-extras]/returns: Cleaning up... | |
notice: /Stage[langs]/Python_prereqs/Exec[install-extras]/returns: executed successfully | |
notice: /Stage[langs]/Python_prereqs/Exec[create-virtualenv]/returns: /bin/rm: cannot remove `env/lib/python2.6/site-packages/awscli-1.6.2-py2.6.egg-info/top_level.txt': Permission denied | |
notice: /Stage[langs]/Python_prereqs/Exec[create-virtu |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(kuma)lcrouch-14912:kuma lcrouch$ git checkout ubernostrum/kuma-lib-1057294 | |
error: The following untracked working tree files would be overwritten by checkout: | |
vendor/addsubmodules.sh | |
vendor/kuma.pth | |
vendor/lib/python/dbgettext/__init__.py | |
vendor/lib/python/dbgettext/lexicons/__init__.py | |
vendor/lib/python/dbgettext/lexicons/html.py | |
vendor/lib/python/dbgettext/management/__init__.py | |
vendor/lib/python/dbgettext/management/commands/__init__.py | |
vendor/lib/python/dbgettext/management/commands/dbgettext_export.py |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
notice: /Stage[main]/Kuma_config/Exec[kuma_update_feeds]/returns: File "/home/vagrant/src/kuma/users/tasks.py", line 11, in <module> | |
notice: /Stage[main]/Kuma_config/Exec[kuma_update_feeds]/returns: from devmo.utils import strings_are_translated | |
notice: /Stage[main]/Kuma_config/Exec[kuma_update_feeds]/returns: ImportError: cannot import name strings_are_translated | |
err: /Stage[main]/Kuma_config/Exec[kuma_update_feeds]/returns: change from notrun to 0 failed: /home/vagrant/env/bin/python ./manage.py update_feeds returned 1 instead of one of [0] at /tmp/vagrant-puppet-4/manifests/classes/site-config.pp:179 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<<<<<<< HEAD | |
@media $media-query-tablet { | |
#demobox .screenshots.multi-images .nav-slide { | |
.next, .prev { | |
transform: scale(0.5); | |
-webkit-transform: scale(0.5); | |
display: block !important; | |
outline: 0; | |
background-color: transparent; | |
-webkit-tap-highlight-color: rgba(0,0,0,0); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tox.ini | |
[tox] | |
envlist = py26, flake8 | |
[testenv] | |
commands = python manage.py test --noinput -v2 access actioncounters authkeys contentflagging devmo kpi kuma landing sumo | |
[testenv:py26] | |
basepython = 2.6 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(kuma)lcrouch-14912:ui lcrouch$ ./node_modules/.bin/intern-runner config=intern-local | |
Listening on 0.0.0.0:9000 | |
Starting tunnel... | |
UnknownError: [POST http://127.0.0.1:4444/wd/hub/session / {"desiredCapabilities":{"browserName":"chrome","name":"intern-local","idle-timeout":60,"selenium-version":"2.43.1"}}] The path to the driver executable must be set by the webdriver.chrome.driver system property; for more information, see http://code.google.com/p/selenium/wiki/ChromeDriver. The latest version can be downloaded from http://chromedriver.storage.googleapis.com/index.html | |
at Server._post <node_modules/intern/node_modules/leadfoot/Server.js:68:9> | |
at Server.createSession <node_modules/intern/node_modules/leadfoot/Server.js:290:15> | |
at Suite.setup <node_modules/intern/runner.js:222:22> | |
at callOnSuite <node_modules/intern/lib/Suite.js:157:42> | |
at call <node_modules/intern/lib/Suite.js:208:13> | |
at Suite.run <node_modules/intern/lib/Suite.js:306:4> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get stylus | |
class stylus { | |
exec { 'stylus-install': | |
command => '/usr/bin/npm install -g stylus@0.43.1', | |
creates => '/usr/bin/stylus', | |
require => [ | |
Package['nodejs'], | |
] | |
} | |
file { '/usr/local/bin/stylus': |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
file { '/usr/local/bin/stylus': | |
ensure => 'present', | |
require => Exec['stylus-install'], | |
} |