Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

(.env)vagrant@navdev:/vagrant$ ./configure --help
`configure' configures nav 3.14.159265-9-ffe9f9cb2e95 to adapt to many kinds of systems.
Usage: ./configure [OPTION]... [VAR=VALUE]...
To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables.
Defaults for the options are specified in brackets.
@norrs
norrs / gist:6130493
Created August 1, 2013 11:21
debconf o_O
Rockj | Is there any specific reason for why I can't seed another box with debconf-get-selections tzdata to the new one? debconf-set-selections doesn't seem to respect the values kinda, since
| debconf-get-selections on tzdata marks severals timezones as selected ... (system had utc first then changed to another one... ) . So is debconf-get-selections supposed to remember that the old UTC
| one was selected?
Rockj | (trying to seed another virtual box with debconf configuration, and I find it odd that it wont accept tzdata.)
gnarface | Rockj: i believe its a known and fairly common problem that you can't send the literal debconf-get-selections log back in to debconf-set-selections to get the same settings for ... most packages.
| tzdata i remember being listed as a specific example when i read about this
Rockj | I thought that was the whole point of debconf-(get|set)-selections...
gnarface | Rockj: i agree, its dumb, but apparently you just
============================= test session starts ==============================
platform linux2 -- Python 2.6.6 -- pytest-2.3.5 -- /deploy/nav-mirror/.env/bin/python
plugins: django, cov
collecting ... collected 1 items
integration/models/model_test.py:41: test_models['django.contrib.sessions.models.Session seems up to date'] FAILED
=================================== FAILURES ===================================
____ test_models['django.contrib.sessions.models.Session seems up to date'] ____
var buster = require("buster");
var resources = require("buster-resources");
var extension = require("../lib/buster-coverage");
var sinon = require("buster-sinon");
var testRunner = buster.testRunner;
var testCase = buster.testCase;
//var testRunner = require("buster-test").testRunner;
var browserRunner = require("buster-test-cli").runners.browser;
var when = require("when");
self = <unittests.Snmp.Snmp_test.SnmpTests testMethod=test_load_pysnmp_se_if_pynetsnmp_is_not_available>
def test_load_pysnmp_se_if_pynetsnmp_is_not_available(self):
pysnmp = Mock()
modules = {
'pynetsnmp.netsnmp': None,
'pynetsnmp': None,
'pysnmp': pysnmp,
'pysnmp.asn1': pysnmp.asn1,
'pysnmp.asn1.oid': pysnmp.asn1.oid,
mock = Mock()
oid_mock = Mock(side_effect=ImportError('test: No Module named v3'))
modules = {'pysnmp': mock,
'pysnmp.asn1': mock.asn1,
'pysnmp.asn1.oid': oid_mock,
'pysnmp.mapping': mock.mapping,
'pysnmp.mapping.udp': mock.mapping.udp,
'pysnmp.mapping.udp.role': mock.mapping.udp.role,
'pysnmp.proto': mock.proto,
buster-server running on http://localhost:1111
/opt/node/lib/node_modules/buster/node_modules/buster-server-cli/node_modules/ramp/node_modules/bane/lib/bane.js:16
throw error;
^
Error: end listener threw error: already completed
at alreadyCompleted (/opt/node/lib/node_modules/buster/node_modules/when/when.js:246:11)
at Object.resolve (/opt/node/lib/node_modules/buster/node_modules/when/when.js:189:4)
at notifyListener (/opt/node/lib/node_modules/buster/node_modules/buster-server-cli/node_modules/ramp/node_modules/bane/lib/bane.js:41:35)
at Object.object.emit (/opt/node/lib/node_modules/buster/node_modules/buster-server-cli/node_modules/ramp/node_modules/bane/lib/bane.js:102:17)
DJANGO_SETTINGS_MODULE=nav.django.settings /deploy/nav-mirror/.env/lib/python2.6/site-packages/django/bin/django-admin.py test nav.django
/deploy/nav-mirror/.env/lib/python2.6/site-packages/django/conf/__init__.py:110: DeprecationWarning: The SECRET_KEY setting must not be empty.
warnings.warn("The SECRET_KEY setting must not be empty.", DeprecationWarning)
========================================================================= test session starts ==========================================================================
platform linux2 -- Python 2.6.6 -- pytest-2.3.4
collected 0 items
=========================================================================== in 0.61 seconds ===========================================================================
| 2013-06-27 10:44:31 Bunisher 14,7°. Skyet. Flau vind, 0,8 m/s fra nord-nordøst. (Trondheim (Voll) målestasjon,
| 127 moh.)
| 2013-06-27 12:32:35 Bunisher 14,9°. Skyet. Flau vind, 1,0 m/s fra sør-sørvest. (Trondheim (Voll) målestasjon,
| 127 moh.)
| 2013-06-27 12:57:45 Bunisher 14,9°. Skyet. Flau vind, 1,0 m/s fra sør-sørvest. (Trondheim (Voll) målestasjon,
| 127 moh.)
| 2013-06-27 13:34:13 Bunisher 15,2°. Skyet. Flau vind, 1,2 m/s fra vest-sørvest. (Trondheim (Voll) målestasjon,
| 127 moh.)
| 2013-06-27 16:01:20 Bunisher 16,4°. Skyet. Svak vind, 1,9 m/s fra nord-nordøst. (Trondheim (Voll) målestasjon,
| 127 moh.)
@FlashCode | slow to send all lines?
nils_2 | no. all the netsplit will be displayed!
@FlashCode | ah yes
@FlashCode | there should be a filter too
nils_2 | its terrible. isn't it possible to filter the messages before relay sends it?
| :-D
@FlashCode | line tags are sent to client, so I think client can implement that
@FlashCode | I think there's even the "displayed" flag in line
@FlashCode | (the flag weechat uses to know if a line must be displayed or not)
@FlashCode | yes the flag is sent