Skip to content

sync to master (ignore this)#1

Merged
binary1230 merged 195 commits intobinary1230:masterfrom
magfest:master
Dec 6, 2017
Merged

sync to master (ignore this)#1
binary1230 merged 195 commits intobinary1230:masterfrom
magfest:master

Conversation

@binary1230
Copy link
Copy Markdown
Owner

No description provided.

gillianwebb and others added 30 commits October 18, 2015 00:53
…one. Makes having more than one plugin work.
In some cases, Sideboard was comparing a full path (e.g. '/home/vagrant/uber/sideboard/plugins/uber') with a plugin name (e.g. 'uber') to sort plugins. Doing so would break priority plugins settings.

Fixes #13.
Make priority_plugins work regardless of setup vagaries
Pull in priority_plugins fix from upstream
since glob() returns an ordering that is os-dependent, we need to sort here in order to ensure
 that all OS'es load the non-prioritized plugins in the same order

 this change does not fix any loading issues, BUT it will ensure that if there's an issue on one server,
 there will be an issue everywhere (no inconsistent issues on different OSes)
sort glob() output for consistent results
- this was causing output to syslog no matter what development.ini said
- this is not enabled by default and has to be turned on in the INI
- this enables external apps to easily parse multiline logfile output as one continuous entry
- each line of the log will be indented
Centralized logging - add multiline indent, remove syslog output by default
- doesn't add much spam but does report which files are actually being served up, which is good data to collect
turn up all logging thresholds to the highest levels
added @request_cached_property decorator
- this code monkeypatches the start of each thread to call prctl() which sets the thread name
- this allows external utilities, like top and ps, to show thread names
- this is great because if a particular thread is going off the rails, we can now see which one using external tools
- requires build-package and libcap to be installed on the system
- this is useful to add a more descriptive name to be shown to the OS
- required for use in prctl module calls (thread naming setting)
- required for use in prctl module calls (thread naming setting)
add override for thread names for DaemonTasks
set thread names on startup
- cleanup existing debugging stuff
- gather linux-specific thread ID so we can correlate threads with their system process info in /proc, top, etc
- create general purpose framework for registering more diagnostics functions
- add very detailed snapshot printout of per-thread stack traces, run status, thread name, etc
  (these are heavy weapons for diagnosing hung threads / deadlocks)
- add basic memory reporting, more coming later
enable system diagnostics package to show threading info
- turns out this is needed for pycharm
- and is a decent idea to do this anyway
upgrade pytest to latest version
EliAndrewC and others added 28 commits May 3, 2017 13:26
passthru subscriptions now get cleaned up properly

See merge request !57
Upstream needs to sync up with MAGFest's sideboard. Even if this isn't merged, we need it to create a mergeable PR.
Sync with MAGFest (no conflicts)
The GPG server is no longer reachable, so we're copy-pasting new instructions from https://github.com/nodejs/docker-node/blob/master/7.10/Dockerfile which should theoretically get around that.
* Exposes cherrypy profiler on http://servername/profiler/

* Adds improved implementation of cherrypy profiler

* Adds some profiler docs, improves the profiler file naming scheme by including the function name

* Adds test to verify that profile decorator is a noop if profiling is disabled

* Fixes tests in test_configuration

* Fixes docs per code review

* Changes requested in code review
…tests for each individual plugin. I guess you can't run the sideboard tests from one of our vagrant deploys. We could fix this, but it would be a change in every single plugin repository and I just don't have the energy for that.
Adding missing unicode_literals imports
Pull in updates from Magfest's Sideboard
* Makes jsonrpc_handler more flexible

* Fixes unit tests

* Makes autolog a little smarter about self=None

* Reverts self=None
looks like these were left off in a merge error, adding them back in
* Adds basic support for pip environment markers to setup.py

* Slightly terser code
@binary1230
Copy link
Copy Markdown
Owner Author

PERSONAL REPO ONLY, EVERYONE IGNORE THIS

@binary1230 binary1230 merged commit a4403c6 into binary1230:master Dec 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants