{"commit":"58b0b20bbfab20a17c89139ad50268d16c8d2e23","subject":"Update tmp\/bower_components\/ace-builds\/demo\/kitchen-sink\/docs\/mask.mask","message":"Update tmp\/bower_components\/ace-builds\/demo\/kitchen-sink\/docs\/mask.mask\n\nSigned-off-by: Bernard Ojengwa \n","repos":"apipanda\/openssl,apipanda\/openssl,apipanda\/openssl,apipanda\/openssl","old_file":"tmp\/bower_components\/ace-builds\/demo\/kitchen-sink\/docs\/mask.mask","new_file":"tmp\/bower_components\/ace-builds\/demo\/kitchen-sink\/docs\/mask.mask","new_contents":"","old_contents":"\/* Mask Syntax Demo *\/\n\ndiv > ' Test ~[name]';\n\ndefine :userProfile {\n\theader {\n\t\th4 > @title;\n\t\tbutton.close;\n\t}\n}\n\n:userProfile {\n\t@title > ' Hello ~[: username.toUpperCase()]'\n}\n\nstyle {\n html, body {\n background: url('name.png') 0 0 no-repeat;\n }\n}\n\nbutton {\n\tevent click (e) {\n\t this.textContent = `name ${e.clientX} !`;\n\t}\n}\n\nmd > \"\"\"\n\n- div\n- span\n \nHello\n\n[one](http:\/\/google.com)\n\n\"\"\";\n\n\nheader .foo > 'Heading'\n\nbutton .baz x-signal='click: test' disabled > \"\n\tHello,\n\tworld \n\t\\\"Buddy\\\"\n\"\n\nvar a = {\n name: `name ${window.innerWidth}`\n};\n\nspan .foo > \"~[bind: a.name]\"","returncode":0,"stderr":"","license":"mit","lang":"Mask"} {"commit":"e538a54f47993e0a33e96173f9cbb76f9ba6f669","subject":"meta-iotqa: Disable nftables test with QEMU","message":"meta-iotqa: Disable nftables test with QEMU\n\nIt doesn't work with the way QEMU is tested so disable it.\n\nSigned-off-by: Simo Kuusela <4755938158c3c622d3884e9a75ed20dc865bc695@intel.com>\n","repos":"mythi\/intel-iot-refkit,YinThong\/intel-iot-refkit,jairglez\/intel-iot-refkit,intel\/intel-iot-refkit,ipuustin\/intel-iot-refkit,klihub\/intel-iot-refkit,mythi\/intel-iot-refkit,klihub\/intel-iot-refkit,mythi\/intel-iot-refkit,jairglez\/intel-iot-refkit,mythi\/intel-iot-refkit,ipuustin\/intel-iot-refkit,klihub\/intel-iot-refkit,YinThong\/intel-iot-refkit,YinThong\/intel-iot-refkit,intel\/intel-iot-refkit,YinThong\/intel-iot-refkit,klihub\/intel-iot-refkit,intel\/intel-iot-refkit,klihub\/intel-iot-refkit,ipuustin\/intel-iot-refkit,mythi\/intel-iot-refkit,intel\/intel-iot-refkit,jairglez\/intel-iot-refkit,jairglez\/intel-iot-refkit,ipuustin\/intel-iot-refkit,klihub\/intel-iot-refkit,intel\/intel-iot-refkit,YinThong\/intel-iot-refkit,jairglez\/intel-iot-refkit,YinThong\/intel-iot-refkit,jairglez\/intel-iot-refkit,ipuustin\/intel-iot-refkit,intel\/intel-iot-refkit,intel\/intel-iot-refkit,jairglez\/intel-iot-refkit,ipuustin\/intel-iot-refkit,mythi\/intel-iot-refkit,ipuustin\/intel-iot-refkit,mythi\/intel-iot-refkit,YinThong\/intel-iot-refkit,klihub\/intel-iot-refkit","old_file":"meta-iotqa\/conf\/test\/qemu.mask","new_file":"meta-iotqa\/conf\/test\/qemu.mask","new_contents":"# This file contains tests that can't be run on QEMU\n# \/docker\/tester-exec.sh will use this file to remove tests from a manifest\noeqa.runtime.connectivity.bluetooth.btcheck\noeqa.runtime.connectivity.wifi.wifi_connect\noeqa.runtime.peripherals.mraa.mraa_gpio\noeqa.runtime.multimedia.audio.alsa\noeqa.runtime.sanity.nftables\n","old_contents":"# This file contains tests that can't be run on QEMU\n# \/docker\/tester-exec.sh will use this file to remove tests from a manifest\noeqa.runtime.connectivity.bluetooth.btcheck\noeqa.runtime.connectivity.wifi.wifi_connect\noeqa.runtime.peripherals.mraa.mraa_gpio\noeqa.runtime.multimedia.audio.alsa\n","returncode":0,"stderr":"","license":"mit","lang":"Mask"} {"commit":"1b47ab0a5df730f32868c237261fe91a0eeb576b","subject":"package.mask python:3.4 for now","message":"package.mask python:3.4 for now\n","repos":"stepping-stone\/sst-gentoo-overlay,stepping-stone\/sst-gentoo-overlay","old_file":"profiles\/stepping-stone.ch\/kvm\/package.mask","new_file":"profiles\/stepping-stone.ch\/kvm\/package.mask","new_contents":"# Use kmod instead of module-init-tools since this is the Gentoo\/upstream default\nsys-apps\/module-init-tools\n\n# Block newer versions of zabbix since our server is still on 1.8\n>=net-analyzer\/zabbix-2\n\n# Mask nullmailer to force msmtp for virtual\/mta (next in list of deps after nullmailer)\n# while allowing others (like postfix for the new postfix-nullmailer setup) to be installed instead\nmail-mta\/nullmailer\n\n# We're using the longterm 3.10.X kernel\n>=sys-kernel\/linux-headers-3.11\n>=sys-kernel\/gentoo-sources-3.11\n>=sys-kernel\/hardened-sources-3.11\n\n# avoid pulling in python-3.4 as long as profiles\/base\/make.defaults\n# still references python3_3 as the default python3 implementation\ndev-lang\/python:3.4\n","old_contents":"# Use kmod instead of module-init-tools since this is the Gentoo\/upstream default\nsys-apps\/module-init-tools\n\n# Block newer versions of zabbix since our server is still on 1.8\n>=net-analyzer\/zabbix-2\n\n# Mask nullmailer to force msmtp for virtual\/mta (next in list of deps after nullmailer)\n# while allowing others (like postfix for the new postfix-nullmailer setup) to be installed instead\nmail-mta\/nullmailer\n\n# We're using the longterm 3.10.X kernel\n>=sys-kernel\/linux-headers-3.11\n>=sys-kernel\/gentoo-sources-3.11\n>=sys-kernel\/hardened-sources-3.11\n","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Mask"} {"commit":"4826cd05c25a29f5d8fb73a368f0cfd46dcceac6","subject":"[+] include.builder coffeescript and less support","message":"[+] include.builder coffeescript and less support\n","repos":"tenbits\/LibJS,tenbits\/LibJS","old_file":"pages\/libs\/includeBuilder\/includeBuilder.mask","new_file":"pages\/libs\/includeBuilder\/includeBuilder.mask","new_contents":"\nheader {\n 'IncludeJS.Builder'\n a.github-ribbon href='https:\/\/github.com\/tenbits\/IncludeJS';\n}\n\nscroller.content {\n p.tabPanel {\n div.info.active {\n div {\n ul {\n li { \n 'Builder - Combine Resources included with IncludeJS' \n div.hint > 'Javascript, Style, HTML, Image' \n div.hint > 'Images that are in styles, that are not in working directory (are referenced), will be copied into working directory'\n div > ul {\n li > 'include.js'\n li > 'include.css'\n li > 'include.load'\n li > 'include.lazy'\n }\n }\n li { 'Minify' \n div.hint {\n a href='https:\/\/npmjs.org\/package\/uglify-js' target='_blank' > 'UglifyJS'\n ' and '\n a href='https:\/\/npmjs.org\/package\/clean-css' target='_blank' > 'clean-css'\n ' are used'\n }\n div.hint > 'For UglifyJS you can specify compressor settings (So you can set defines to cut off DEBUG\/TEST code from Release)\n See UglifyJS documentation.'\n }\n li { 'JSHINT' div.hint { 'See ' a href='http:\/\/jshint.com\/docs\/' target='_blank' > 'JSHINT'} }\n li { \n 'Integrated Web Server'\n div.hint > 'With Browser AutoReload Feature' \n }\n li { \n 'Shell Commands'\n div.hint > 'As Builder is action-based, shell commands could be used as pre-build or post-build.'\n }\n\n li {\n 'Custom Scripts as Actions'\n div.hint {\n prism > 'include.exports = { process: function(config, idfr) { \/* ... *\/ idfr.resolve(); } }'\n }\n }\n\t\t\t\t\t\n\t\t\t\t\tli {\n\t\t\t\t\t\t'CoffeeScript and Less support'\n\t\t\t\t\t}\n\n li {\n 'Handles Resource Referencing and Importing ' \n } \n }\n }\n }\n \n div.commands {\n ul {\n li {\n code > 'includejs [*.html] -minify -KEY VALUE'\n ul {\n li > 'parse html and Resolve all Resources'\n li > 'parse scripts and Resolve all Resources'\n li > 'parse dependency-scripts and Resolve all Resources'\n li > '... and so on'\n li > 'combine all resources into separate single files'\n li {\n 'create new HTML with'\n ul {\n li > 'embedded Lazy- and Loaddata'\n li > 'only one script tag - linked to combined script file'\n li > 'only one style tag - linked to combined style file'\n }\n }\n }\n }\n li {\n code > 'includejs [*.config | *.js]'\n p {\n 'Loading Config File'\n div > '.config - JSON'\n div > '.js - Must export config to global'\n }\n }\n li {\n code > 'includejs template [name]'\n p > 'Create Empty Project in {current} directory'\n p > 'Available: \"starter\"'\n }\n li {\n code > 'includejs globals'\n p > 'Open global routes file'\n }\n }\n h3 > 'Config'\n div.hint {\n 'Config contains one or more actions. (One action is an Object, more actions is Array of Objects) '\n }\n div {\n 'Available actions and their settings:'\n }\n ul{\n\n li {\n ul {\n li > '{'\n li > '\"action\": \"build\"'\n li > '\"file\" \u2014 {String} - HTML input file'\n li > '\"vars\" \u2014 {Object} \u2014 Variables used when parsing includes'\n \n \n li > '\"minify\" \u2014 {Boolean} \u2014 run MinifyJS and clean-css'\n li > '\"uglify\" - {Object:optional} - UglifyJS compressor settings. @default {global_defs: {DEBUG: false}}'\n li {\n '\"jshint\" : {'\n ul {\n li > '\"options\" - {Object} - JSHINT options'\n li > '\"globals\" - {Object} - global variables. @default {\"window\": false, \"document\": false}'\n li > '\"ignore\" - {Object} - file names to ignore'\n li > '}'\n }\n }\n li > '\"outputMain\" \u2014 output name of a built html \u2014 @default \"{name}.build.html\"'\n li > '\"outputSources\" \u2014 directory of combined\/copied resources \u2014 @default \"{name}.build\/\"'\n li > '}'\n }\n }\n li {\n ul{\n li > '{'\n li > '\"action\": \"shell\"'\n li > '\"command\": \/** Array or String :: string commands*\/ ['\n li > '\"cmd \/C copy \/B index.html c:\/app\",'\n li > '\"cmd \/C copy \/B index.build\/ c:\/app\/index.build\" ]'\n li > '}'\n }\n }\n li {\n ul {\n li > '{'\n li > '\"action\": \"custom\"'\n li > '\"script\": \"scriptPath.js\"'\n li > div.hint {\n div > 'Script shoud export object with .process(config, idfr) function.'\n div > 'After script is ready call idfr.resolve()'\n }\n }\n }\n \n }\n }\n div.resources {\n h6 > 'Small note about external resources'\n p > 'Every application has some outer dependencies. Lets say you created empty project and want to use some classes, styles and images\n from you own library \"MyCoolStuff\". There are 3 ways you can do it.'\n ul {\n li {\n i > 'Bad \u2014 ''Copy them into working project. '\n div;\n u > 'Contra'' \u2014 '\n ul {\n li > 'you dont know always from start on what classes or styles you need'\n li > 'you have to work a lot with copy\/paste - and this was always a mess.'\n li > 'they become part of the project. This is good for Release, but not for Development'\n li > 'harms code organization energy'\n }\n }\n li {\n i > 'Better \u2014 ''Use IncludeJS Routing to reference to the directory'\n code > 'include.cfg(coolStuff: \"file:\/\/\/c:\/dev\/MyCoolStuff\/classes\/{name}.js\")'\n u > 'Contra'' \u2014 '\n ul {\n li > 'Though after project build you dont have any absolute paths more, but not in Development'\n li > 'When you develop a web site (not a html5 application), you definitely \n want to test on local server - is not possible with file:\/\/\/ links'\n }\n }\n li {\n i > 'Best \u2014 ''Use symbolic links'\n ul {\n li > code > ' > npm install includejs -g'\n li > code > ' > mkdir testProject && cd testProject'\n li {\n code > ' > includejs globals' \n ul {\n li > 'Add\/Edit Paths to project directories, such as LibJS'\n li > 'Add\/Edit Default Routes'\n }\n }\n li {\n code > ' > includejs template starter'\n 'And now, under \"testProject\/.reference\/libjs\" you find a symbolic link to libjs project\n and all requests to libjs libraries, such as '\n code > 'include.js({ lib: \"mask\" })' 'will path through that symbolic link'\n }\n }\n \n b>'! ' 'Any time you can import all referenced resources into working project with:'\n code > ' > includejs build.config -action import'\n div {\n 'You find that referenced resources now in ' tt > q > 'testProject\/.import' ' directory'\n }\n div { b>'! ' 'Any time you can also switch back to referencing with:'}\n code > ' > includejs build.config -action reference'\n }\n }\n \n }\n }\n}\n\nfooter {\n radioButtons{\n button.active name='info' > 'Info'\n button name='commands' > 'Commands'\n button name='resources' > 'Resources' \n }\n}","old_contents":"\nheader {\n 'IncludeJS.Builder'\n a.github-ribbon href='https:\/\/github.com\/tenbits\/IncludeJS';\n}\n\nscroller.content {\n p.tabPanel {\n div.info.active {\n div {\n ul {\n li { \n 'Builder - Combine Resources included with IncludeJS' \n div.hint > 'Javascript, Style, HTML, Image' \n div.hint > 'Images that are in styles, that are not in working directory (are referenced), will be copied into working directory'\n div > ul {\n li > 'include.js'\n li > 'include.css'\n li > 'include.load'\n li > 'include.lazy'\n }\n }\n li { 'Minify' \n div.hint {\n a href='https:\/\/npmjs.org\/package\/uglify-js' target='_blank' > 'UglifyJS'\n ' and '\n a href='https:\/\/npmjs.org\/package\/clean-css' target='_blank' > 'clean-css'\n ' are used'\n }\n div.hint > 'For UglifyJS you can specify compressor settings (So you can set defines to cut off DEBUG\/TEST code from Release)\n See UglifyJS documentation.'\n }\n li { 'JSHINT' div.hint { 'See ' a href='http:\/\/jshint.com\/docs\/' target='_blank' > 'JSHINT'} }\n li { \n 'Integrated Web Server'\n div.hint > 'With Browser AutoReload Feature' \n }\n li { \n 'Shell Commands'\n div.hint > 'As Builder is action-based, shell commands could be used as pre-build or post-build.'\n }\n\n li {\n 'Custom Scripts as Actions'\n div.hint {\n prism > 'include.exports = { process: function(config, idfr) { \/* ... *\/ idfr.resolve(); } }'\n }\n }\n\n li {\n 'Handles Resource Referencing and Importing ' \n } \n }\n }\n }\n \n div.commands {\n ul {\n li {\n code > 'includejs [*.html] -minify -KEY VALUE'\n ul {\n li > 'parse html and Resolve all Resources'\n li > 'parse scripts and Resolve all Resources'\n li > 'parse dependency-scripts and Resolve all Resources'\n li > '... and so on'\n li > 'combine all resources into separate single files'\n li {\n 'create new HTML with'\n ul {\n li > 'embedded Lazy- and Loaddata'\n li > 'only one script tag - linked to combined script file'\n li > 'only one style tag - linked to combined style file'\n }\n }\n }\n }\n li {\n code > 'includejs [*.config | *.js]'\n p {\n 'Loading Config File'\n div > '.config - JSON'\n div > '.js - Must export config to global'\n }\n }\n li {\n code > 'includejs template [name]'\n p > 'Create Empty Project in {current} directory'\n p > 'Available: \"starter\"'\n }\n li {\n code > 'includejs globals'\n p > 'Open global routes file'\n }\n }\n h3 > 'Config'\n div.hint {\n 'Config contains one or more actions. (One action is an Object, more actions is Array of Objects) '\n }\n div {\n 'Available actions and their settings:'\n }\n ul{\n\n li {\n ul {\n li > '{'\n li > '\"action\": \"build\"'\n li > '\"file\" \u2014 {String} - HTML input file'\n li > '\"vars\" \u2014 {Object} \u2014 Variables used when parsing includes'\n \n \n li > '\"minify\" \u2014 {Boolean} \u2014 run MinifyJS and clean-css'\n li > '\"uglify\" - {Object:optional} - UglifyJS compressor settings. @default {global_defs: {DEBUG: false}}'\n li {\n '\"jshint\" : {'\n ul {\n li > '\"options\" - {Object} - JSHINT options'\n li > '\"globals\" - {Object} - global variables. @default {\"window\": false, \"document\": false}'\n li > '\"ignore\" - {Object} - file names to ignore'\n li > '}'\n }\n }\n li > '\"outputMain\" \u2014 output name of a built html \u2014 @default \"{name}.build.html\"'\n li > '\"outputSources\" \u2014 directory of combined\/copied resources \u2014 @default \"{name}.build\/\"'\n li > '}'\n }\n }\n li {\n ul{\n li > '{'\n li > '\"action\": \"shell\"'\n li > '\"command\": \/** Array or String :: string commands*\/ ['\n li > '\"cmd \/C copy \/B index.html c:\/app\",'\n li > '\"cmd \/C copy \/B index.build\/ c:\/app\/index.build\" ]'\n li > '}'\n }\n }\n li {\n ul {\n li > '{'\n li > '\"action\": \"custom\"'\n li > '\"script\": \"scriptPath.js\"'\n li > div.hint {\n div > 'Script shoud export object with .process(config, idfr) function.'\n div > 'After script is ready call idfr.resolve()'\n }\n }\n }\n \n }\n }\n div.resources {\n h6 > 'Small note about external resources'\n p > 'Every application has some outer dependencies. Lets say you created empty project and want to use some classes, styles and images\n from you own library \"MyCoolStuff\". There are 3 ways you can do it.'\n ul {\n li {\n i > 'Bad \u2014 ''Copy them into working project. '\n div;\n u > 'Contra'' \u2014 '\n ul {\n li > 'you dont know always from start on what classes or styles you need'\n li > 'you have to work a lot with copy\/paste - and this was always a mess.'\n li > 'they become part of the project. This is good for Release, but not for Development'\n li > 'harms code organization energy'\n }\n }\n li {\n i > 'Better \u2014 ''Use IncludeJS Routing to reference to the directory'\n code > 'include.cfg(coolStuff: \"file:\/\/\/c:\/dev\/MyCoolStuff\/classes\/{name}.js\")'\n u > 'Contra'' \u2014 '\n ul {\n li > 'Though after project build you dont have any absolute paths more, but not in Development'\n li > 'When you develop a web site (not a html5 application), you definitely \n want to test on local server - is not possible with file:\/\/\/ links'\n }\n }\n li {\n i > 'Best \u2014 ''Use symbolic links'\n ul {\n li > code > ' > npm install includejs -g'\n li > code > ' > mkdir testProject && cd testProject'\n li {\n code > ' > includejs globals' \n ul {\n li > 'Add\/Edit Paths to project directories, such as LibJS'\n li > 'Add\/Edit Default Routes'\n }\n }\n li {\n code > ' > includejs template starter'\n 'And now, under \"testProject\/.reference\/libjs\" you find a symbolic link to libjs project\n and all requests to libjs libraries, such as '\n code > 'include.js({ lib: \"mask\" })' 'will path through that symbolic link'\n }\n }\n \n b>'! ' 'Any time you can import all referenced resources into working project with:'\n code > ' > includejs build.config -action import'\n div {\n 'You find that referenced resources now in ' tt > q > 'testProject\/.import' ' directory'\n }\n div { b>'! ' 'Any time you can also switch back to referencing with:'}\n code > ' > includejs build.config -action reference'\n }\n }\n \n }\n }\n}\n\nfooter {\n radioButtons{\n button.active name='info' > 'Info'\n button name='commands' > 'Commands'\n button name='resources' > 'Resources' \n }\n}","returncode":0,"stderr":"","license":"mit","lang":"Mask"} {"commit":"871a8c744de1a5209384c060632b37af19444bb9","subject":"Mask Puppet version 6","message":"Mask Puppet version 6\n","repos":"stepping-stone\/sst-gentoo-overlay,stepping-stone\/sst-gentoo-overlay","old_file":"profiles\/stepping-stone.ch\/package.mask","new_file":"profiles\/stepping-stone.ch\/package.mask","new_contents":"# Use kmod instead of module-init-tools since this is the Gentoo\/upstream default\nsys-apps\/module-init-tools\n\n# Block newer versions of zabbix since our server is still on 1.8\n>=net-analyzer\/zabbix-2\n\n# Mask nullmailer to force msmtp for virtual\/mta (next in list of deps after nullmailer)\n# while allowing others (like postfix for the new postfix-nullmailer setup) to be installed instead\nmail-mta\/nullmailer\n\n# Mask the new postfix stable release 3.0.0 since we are not ready with our configuration yet.\n>=mail-mta\/postfix-3.0.0\n\n# We're using the longterm 4.4.X kernel\n>=sys-kernel\/gentoo-sources-4.5\n>=sys-kernel\/hardened-sources-4.5\n=sys-devel\/gcc-8\n\n# We need to use gluster 3.8\n>=sys-cluster\/glusterfs-3.9\n\n# Mask Puppet version 6 until Puppet master has been upgraded\n>=app-admin\/puppet-6\n","old_contents":"# Use kmod instead of module-init-tools since this is the Gentoo\/upstream default\nsys-apps\/module-init-tools\n\n# Block newer versions of zabbix since our server is still on 1.8\n>=net-analyzer\/zabbix-2\n\n# Mask nullmailer to force msmtp for virtual\/mta (next in list of deps after nullmailer)\n# while allowing others (like postfix for the new postfix-nullmailer setup) to be installed instead\nmail-mta\/nullmailer\n\n# Mask the new postfix stable release 3.0.0 since we are not ready with our configuration yet.\n>=mail-mta\/postfix-3.0.0\n\n# We're using the longterm 4.4.X kernel\n>=sys-kernel\/gentoo-sources-4.5\n>=sys-kernel\/hardened-sources-4.5\n=sys-devel\/gcc-8\n\n# We need to use gluster 3.8\n>=sys-cluster\/glusterfs-3.9\n","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Mask"} {"commit":"27e32adb9750badf78561f90ce3952b295300f3d","subject":"mask dev-ruby\/facter 2.5 and upwards","message":"mask dev-ruby\/facter 2.5 and upwards\n","repos":"stepping-stone\/sst-gentoo-overlay,stepping-stone\/sst-gentoo-overlay","old_file":"profiles\/stepping-stone.ch\/kvm\/package.mask","new_file":"profiles\/stepping-stone.ch\/kvm\/package.mask","new_contents":"# Use kmod instead of module-init-tools since this is the Gentoo\/upstream default\nsys-apps\/module-init-tools\n\n# Block newer versions of zabbix since our server is still on 1.8\n>=net-analyzer\/zabbix-2\n\n# Mask nullmailer to force msmtp for virtual\/mta (next in list of deps after nullmailer)\n# while allowing others (like postfix for the new postfix-nullmailer setup) to be installed instead\nmail-mta\/nullmailer\n\n# Mask the new postfix stable release 3.0.0 since we are not ready with our configuration yet.\n>=mail-mta\/postfix-3.0.0\n\n# We're using the longterm 4.4.X kernel\n>=sys-kernel\/gentoo-sources-4.5\n>=sys-kernel\/hardened-sources-4.5\n=app-admin\/puppet-4\n\n# Facter 2.5.x seems to have a bug and is therefore not useable (facter tries\n# to connect to the cloud-init\/EC2 IP address 169.254.169.254 in order to\n# retrieve facts and hangs itself up in an infinite re-try loop).\n>=dev-ruby\/facter-2.5\n","old_contents":"# Use kmod instead of module-init-tools since this is the Gentoo\/upstream default\nsys-apps\/module-init-tools\n\n# Block newer versions of zabbix since our server is still on 1.8\n>=net-analyzer\/zabbix-2\n\n# Mask nullmailer to force msmtp for virtual\/mta (next in list of deps after nullmailer)\n# while allowing others (like postfix for the new postfix-nullmailer setup) to be installed instead\nmail-mta\/nullmailer\n\n# Mask the new postfix stable release 3.0.0 since we are not ready with our configuration yet.\n>=mail-mta\/postfix-3.0.0\n\n# We're using the longterm 4.4.X kernel\n>=sys-kernel\/gentoo-sources-4.5\n>=sys-kernel\/hardened-sources-4.5\n=app-admin\/puppet-4\n","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Mask"} {"commit":"d839310e3fe4e697f20e0a6c07a53ac755d248ee","subject":"[+] install instruction","message":"[+] install instruction\n","repos":"tenbits\/LibJS,tenbits\/LibJS","old_file":"pages\/libs\/includeBuilder\/includeBuilder.mask","new_file":"pages\/libs\/includeBuilder\/includeBuilder.mask","new_contents":"layout:view master='view' {\n\n\ttitle {\n\t\ta.github-ribbon href='https:\/\/github.com\/tenbits\/IncludeJS';\n\t}\n\n\ttabs {\n\t\tradioButtons{\n\t\t\tbutton.active name='info' > 'Info'\n\t\t\tbutton name='commands' > 'Commands'\n\t\t\tbutton name='resources' > 'Resources'\n\t\t}\n\t}\n\n\tcontent {\n\t\tp.container.tabPanel {\n\t\t\tdiv.info.active {\n\t\t\t\tdiv {\n\t\t\t\t prism > ' > npm install -g includejs'\n\t\t\t\t\tul {\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'Builder - Combine Resources included with IncludeJS'\n\t\t\t\t\t\t\tdiv.hint > 'Javascript, Style, HTML, Image'\n\t\t\t\t\t\t\tdiv.hint > 'Images that are in styles, that are not in working directory (are referenced), will be copied into working directory'\n\t\t\t\t\t\t\tdiv > ul {\n\t\t\t\t\t\t\t\tli > 'include.js'\n\t\t\t\t\t\t\t\tli > 'include.css'\n\t\t\t\t\t\t\t\tli > 'include.load'\n\t\t\t\t\t\t\t\tli > 'include.lazy'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tli { 'Minify'\n\t\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t a href='https:\/\/npmjs.org\/package\/uglify-js' target='_blank' > 'UglifyJS'\n\t\t\t\t\t\t\t ' and '\n\t\t\t\t\t\t\t a href='https:\/\/npmjs.org\/package\/clean-css' target='_blank' > 'clean-css'\n\t\t\t\t\t\t\t ' are used'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tdiv.hint > 'For UglifyJS you can specify compressor settings (So you can set defines to cut off DEBUG\/TEST code from Release)\n\t\t\t\t\t\t\t\tSee UglifyJS documentation.'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tli { 'JSHINT' div.hint { 'See ' a href='http:\/\/jshint.com\/docs\/' target='_blank' > 'JSHINT'} }\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'Integrated Web Server'\n\n\t\t\t\t\t\t\tdiv.hint > b > 'with auto-refresh feature'\n\t\t\t\t\t\t\tdiv.hint > 'HOT Reload of *.css, *.js and *.mask files, for other stuff page reload triggers'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'Shell Commands'\n\t\t\t\t\t\t\tdiv.hint > 'As Builder is action-based, shell commands could be used as pre-build or post-build.'\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'Custom Scripts as Actions'\n\t\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t\tprism > 'include.exports = { process: function(config, idfr) { \/* ... *\/ idfr.resolve(); } }'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tdiv.hint > 'Could be used as shell scripts. Note that you can use includejs api classes'\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'CoffeeScript and Less support'\n\t\t\t\t\t\t\tdiv.hint > '*.less will be compiled and joined with regular css files, as also CoffeeScript will be joined into one main js file'\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'Handle Resource Referencing and Importing'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tdiv.commands {\n\t\t\t\tul {\n\t\t\t\t\tli {\n\t\t\t\t\t\tcode > ' > includejs [action] [arg] [...] -KEY VALUE [...]'\n\t\t\t\t\t\tdiv {\n\t\t\t\t\t\t\tdiv > 'All this arguments will be parsed to a config object'\n\t\t\t\t\t\t\tdiv.hint > '@see supported actions'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tcode > ' > includejs [*.html] -minify -KEY VALUE'\n\n\t\t\t\t\t\tdiv > '\n\t\t\t\t\t\tIf first argument is html file, then this path will be set in config for \"file\" property, and \"build\" for action.\n\t\t\t\t\t\t You can also sepcify some additional config values for this build - @see \"build\" action.\n\t\t\t\t\t\t'\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tcode > ' > includejs [*.config | *.js]'\n\t\t\t\t\t\tp {\n\t\t\t\t\t\t\t'Load config and process'\n\t\t\t\t\t\t\tdiv > '*.config \u2014 JSON'\n\t\t\t\t\t\t\tdiv {\n\t\t\t\t\t\t\t \t'*.js \u2014 This javascript must set \"config\" to globals: ' tt > 'global.config = {OBJECT}'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\th3 > 'Config'\n\t\t\t\tdiv.hint {\n\t\t\t\t\t'Config contains one or more actions. (One action is an Object, more actions is Array of Objects) '\n\t\t\t\t}\n\t\t\t\tdiv {\n\t\t\t\t\t'Available actions and their settings:'\n\t\t\t\t}\n\t\t\t\tul{\n\n\t\t\t\t\tli {\n\t\t\t\t\t\tul {\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'build' '\"' }\n\t\t\t\t\t\t\tli > '\"file\" \u2014 {String} - HTML input file'\n\t\t\t\t\t\t\tli > '\"vars\" \u2014 {Object} \u2014 Variables used when parsing includes'\n\n\n\t\t\t\t\t\t\tli > '\"minify\" \u2014 {Boolean} \u2014 run MinifyJS and clean-css'\n\t\t\t\t\t\t\tli > '\"uglify\" - {Object:optional} - UglifyJS compressor settings. @default {global_defs: {DEBUG: false}}'\n\t\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t\t'\"jshint\" : {'\n\t\t\t\t\t\t\t\tul {\n\t\t\t\t\t\t\t\t\tli > '\"options\" - {Object} - JSHINT options'\n\t\t\t\t\t\t\t\t\tli > '\"globals\" - {Object} - global variables. @default {\"window\": false, \"document\": false}'\n\t\t\t\t\t\t\t\t\tli > '\"ignore\" - {Object} - file names to ignore'\n\t\t\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tli > '\"outputMain\" \u2014 output name of a built html \u2014 @default \"{name}.build.html\"'\n\t\t\t\t\t\t\tli > '\"outputSources\" \u2014 directory of combined\/copied resources \u2014 @default \"{name}.build\/\"'\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tp {\n\t\t\t\t\t\t\t'Build includejs project.'\n\t\t\t\t\t\t\tdiv.hint > 'It will parse specified file and its resources, and will recursive collect all includes'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'project-import' '\"' }\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp {\n\t\t\t\t\t\t 'Copy resources, that are used by current project, from referenced directories in '\n\t\t\t\t\t\t\ttt > '.reference\/*' ' to ' tt >'.import' ' directory'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'project-reference' '\"' }\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp {\n\t\t\t\t\t\t 'Create outer referencing in ' tt > '.reference\/*' 'acording to routing defined in '\n\t\t\t\t\t\t tt > '%npm-global-directory%\/includejs\/globals.txt'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'shell' '\"' }\n\t\t\t\t\t\t\tli > '\"command\": \/** Array or String :: string commands*\/ ['\n\t\t\t\t\t\t\tli > '\"cmd \/C copy \/B index.html c:\/app\",'\n\t\t\t\t\t\t\tli > '\"cmd \/C copy \/B index.build\/ c:\/app\/index.build\" ]'\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp > 'Execuate shell commands'\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul {\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'custom' '\"' }\n\t\t\t\t\t\t\tli > '\"script\": \"scriptPath.js\"'\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp > 'Execuate custom scripts'\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\tdiv > 'Script shoud export object with .process(config, idfr) function.'\n\t\t\t\t\t\t\tdiv > 'After script is ready call idfr.resolve() for processing next actions'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t'If you want to call just that action only, you can do it from command line:'\n\t\t\t\t\t\t\tdiv > code > ' > includejs custom scriptPath.js'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'server' '\"' }\n\t\t\t\t\t\t\tli > '\"port\": NUMBER \/* optional @default 5777 *\/'\n\t\t\t\t\t\t\tli > '\"open\": Filename to open in browser \/* optional *\/'\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp { 'Create server in ' tt > '%current-directory%' }\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t'To not create config file only for this action, you can use raw cli command with action argument:'\n\t\t\t\t\t\t\tdiv > code > ' > includejs server'\n\t\t\t\t\t\t\t'To open browser and additionally to define port:'\n\t\t\t\t\t\t\tdiv > code > ' > includejs server index.dev.html -port 7777'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'reference' '\"' }\n\t\t\t\t\t\t\tli > '\"path\": directory path || name of a project from globals.txt'\n\t\t\t\t\t\t\tli > '\"name\": reference name \/* optional @default directory name*\/'\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp > 'Creates symbolic link to specified path in %current_directory%\/.reference\/%name%'\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\tdiv > 'Command Line calls: '\n\t\t\t\t\t\t\tdiv > code > ' > includejs reference c:\/development\/mylib'\n\t\t\t\t\t\t\tdiv > 'You can add this path to globals.txt, so afterwards you can call this as such:'\n\t\t\t\t\t\t\tdiv > code > ' > includejs reference mylib'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'template' '\"' }\n\t\t\t\t\t\t\tli > '\"name\": name'\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tp > 'Create Template Project in %current_dir%'\n\t\t\t\t\t\tp > 'Available: \"starter\" , \"todomvc\" (@sample application to fiddle around with maskjs,includejs etc.)'\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t'You can create any other templates with just coping needed files to '\n\t\t\t\t\t\t\ttt > '%npm-global-directory%\/node_modules\/includejs\/template\/%YourTemplateName%'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t'Raw cli command:'\n\t\t\t\t\t\t\tdiv > code > ' > includejs template starter'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'git-clone' '\"' }\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp > 'Clones LibJS Libraries into current directory'\n\t\t\t\t\t\tdiv {\n\t\t\t\t\t\t\t'It will also save this path intern, for future routing - so calling this action,\n\t\t\t\t\t\t\t\tincludejs should have\n\t\t\t\t\t\t\t\twrite permissions to ' tt > '%npm-global-directory%\/includejs' ' directory'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t'Command Line: '\n\t\t\t\t\t\t\tcode > ' > includejs git-clone'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'globals' '\"' }\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcode > ' > includejs globals'\n\n\t\t\t\t\t\tp > 'Open globals.txt of includejs for editing of your routes, etc. Example of globals.txt:'\n\n\t\t\t\t\t\tprism src='\/api.help\/globals.js';\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tdiv.resources {\n\t\t\t\th6 > 'Small note about external resources'\n\t\t\t\tp > 'Every application has some outer dependencies. Lets say you created empty project and want to use some classes, styles and images\n\t\t\t\tfrom you own library \"MyCoolStuff\". There are several ways you can do it.'\n\t\t\t\tul {\n\t\t\t\t\tli {\n\t\t\t\t\t\ti > 'Bad \u2014 ''Copy them into working project. '\n\t\t\t\t\t\tdiv;\n\t\t\t\t\t\tu > 'Contra'' \u2014 '\n\t\t\t\t\t\tul {\n\t\t\t\t\t\t\tli > 'you dont know always from start on what classes or styles you need'\n\t\t\t\t\t\t\tli > 'you have to work a lot with copy\/paste - and this was always a mess.'\n\t\t\t\t\t\t\tli > 'they become part of the project. This is good for Release, but not for Development'\n\t\t\t\t\t\t\tli > 'harms code organization energy'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tli {\n\t\t\t\t\t\ti > 'Best \u2014 ''Use symbolic links'\n\t\t\t\t\t\tdiv > 'Example:'\n\t\t\t\t\t\tul {\n\t\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t\t'Install IncludeJS.Builder and LibJS libraries: ' a href='#\/about\/install' > '@how-to'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t\t'Create template project'\n\t\t\t\t\t\t\t\tdiv > code > '> mkdir testProject && cd testProject && includejs template starter'\n\t\t\t\t\t\t\t\tdiv {\n\t\t\t\t\t\t\t\t\t'And now, under \"testProject\/.reference\/libjs\" you find a symbolic link to libjs project\n\t\t\t\t\t\t\t\t\tand all requests to libjs libraries, such as '\n\t\t\t\t\t\t\t\t\ttt > 'include.js({ lib: \"mask\" })' 'will path through that symbolic link'\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tp {\n\t\t\t\t\t\t\t'After your application is ready for release, you can build it - all resources will be combined, and no more referencing will occure'\n\n\t\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t 'Any time you can import all referenced resources to projects directory. '\n\t\t\t\t\t\t\t i > 'You may need this, for example, for sending your dev-project to smbd. else.'\n\n\t\t\t\t\t\t\t p > code > ' > includejs project-import'\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tp.hint > 'This will import only resources you use in your project (scripts, images, views, etc.), and not the whole directories.'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\t\t}\n\t}\n\n}\n","old_contents":"layout:view master='view' {\n\n\ttitle {\n\t\ta.github-ribbon href='https:\/\/github.com\/tenbits\/IncludeJS';\n\t}\n\n\ttabs {\n\t\tradioButtons{\n\t\t\tbutton.active name='info' > 'Info'\n\t\t\tbutton name='commands' > 'Commands'\n\t\t\tbutton name='resources' > 'Resources'\n\t\t}\n\t}\n\n\tcontent {\n\t\tp.container.tabPanel {\n\t\t\tdiv.info.active {\n\t\t\t\tdiv {\n\t\t\t\t\tul {\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'Builder - Combine Resources included with IncludeJS'\n\t\t\t\t\t\t\tdiv.hint > 'Javascript, Style, HTML, Image'\n\t\t\t\t\t\t\tdiv.hint > 'Images that are in styles, that are not in working directory (are referenced), will be copied into working directory'\n\t\t\t\t\t\t\tdiv > ul {\n\t\t\t\t\t\t\t\tli > 'include.js'\n\t\t\t\t\t\t\t\tli > 'include.css'\n\t\t\t\t\t\t\t\tli > 'include.load'\n\t\t\t\t\t\t\t\tli > 'include.lazy'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tli { 'Minify'\n\t\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t a href='https:\/\/npmjs.org\/package\/uglify-js' target='_blank' > 'UglifyJS'\n\t\t\t\t\t\t\t ' and '\n\t\t\t\t\t\t\t a href='https:\/\/npmjs.org\/package\/clean-css' target='_blank' > 'clean-css'\n\t\t\t\t\t\t\t ' are used'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tdiv.hint > 'For UglifyJS you can specify compressor settings (So you can set defines to cut off DEBUG\/TEST code from Release)\n\t\t\t\t\t\t\t\tSee UglifyJS documentation.'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tli { 'JSHINT' div.hint { 'See ' a href='http:\/\/jshint.com\/docs\/' target='_blank' > 'JSHINT'} }\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'Integrated Web Server'\n\n\t\t\t\t\t\t\tdiv.hint > b > 'with auto-refresh feature'\n\t\t\t\t\t\t\tdiv.hint > 'HOT Reload of *.css, *.js and *.mask files, for other stuff page reload triggers'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'Shell Commands'\n\t\t\t\t\t\t\tdiv.hint > 'As Builder is action-based, shell commands could be used as pre-build or post-build.'\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'Custom Scripts as Actions'\n\t\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t\tprism > 'include.exports = { process: function(config, idfr) { \/* ... *\/ idfr.resolve(); } }'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tdiv.hint > 'Could be used as shell scripts. Note that you can use includejs api classes'\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'CoffeeScript and Less support'\n\t\t\t\t\t\t\tdiv.hint > '*.less will be compiled and joined with regular css files, as also CoffeeScript will be joined into one main js file'\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'Handle Resource Referencing and Importing'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tdiv.commands {\n\t\t\t\tul {\n\t\t\t\t\tli {\n\t\t\t\t\t\tcode > ' > includejs [action] [arg] [...] -KEY VALUE [...]'\n\t\t\t\t\t\tdiv {\n\t\t\t\t\t\t\tdiv > 'All this arguments will be parsed to a config object'\n\t\t\t\t\t\t\tdiv.hint > '@see supported actions'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tcode > ' > includejs [*.html] -minify -KEY VALUE'\n\n\t\t\t\t\t\tdiv > '\n\t\t\t\t\t\tIf first argument is html file, then this path will be set in config for \"file\" property, and \"build\" for action.\n\t\t\t\t\t\t You can also sepcify some additional config values for this build - @see \"build\" action.\n\t\t\t\t\t\t'\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tcode > ' > includejs [*.config | *.js]'\n\t\t\t\t\t\tp {\n\t\t\t\t\t\t\t'Load config and process'\n\t\t\t\t\t\t\tdiv > '*.config \u2014 JSON'\n\t\t\t\t\t\t\tdiv {\n\t\t\t\t\t\t\t \t'*.js \u2014 This javascript must set \"config\" to globals: ' tt > 'global.config = {OBJECT}'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\th3 > 'Config'\n\t\t\t\tdiv.hint {\n\t\t\t\t\t'Config contains one or more actions. (One action is an Object, more actions is Array of Objects) '\n\t\t\t\t}\n\t\t\t\tdiv {\n\t\t\t\t\t'Available actions and their settings:'\n\t\t\t\t}\n\t\t\t\tul{\n\n\t\t\t\t\tli {\n\t\t\t\t\t\tul {\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'build' '\"' }\n\t\t\t\t\t\t\tli > '\"file\" \u2014 {String} - HTML input file'\n\t\t\t\t\t\t\tli > '\"vars\" \u2014 {Object} \u2014 Variables used when parsing includes'\n\n\n\t\t\t\t\t\t\tli > '\"minify\" \u2014 {Boolean} \u2014 run MinifyJS and clean-css'\n\t\t\t\t\t\t\tli > '\"uglify\" - {Object:optional} - UglifyJS compressor settings. @default {global_defs: {DEBUG: false}}'\n\t\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t\t'\"jshint\" : {'\n\t\t\t\t\t\t\t\tul {\n\t\t\t\t\t\t\t\t\tli > '\"options\" - {Object} - JSHINT options'\n\t\t\t\t\t\t\t\t\tli > '\"globals\" - {Object} - global variables. @default {\"window\": false, \"document\": false}'\n\t\t\t\t\t\t\t\t\tli > '\"ignore\" - {Object} - file names to ignore'\n\t\t\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tli > '\"outputMain\" \u2014 output name of a built html \u2014 @default \"{name}.build.html\"'\n\t\t\t\t\t\t\tli > '\"outputSources\" \u2014 directory of combined\/copied resources \u2014 @default \"{name}.build\/\"'\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tp {\n\t\t\t\t\t\t\t'Build includejs project.'\n\t\t\t\t\t\t\tdiv.hint > 'It will parse specified file and its resources, and will recursive collect all includes'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'project-import' '\"' }\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp {\n\t\t\t\t\t\t 'Copy resources, that are used by current project, from referenced directories in '\n\t\t\t\t\t\t\ttt > '.reference\/*' ' to ' tt >'.import' ' directory'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'project-reference' '\"' }\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp {\n\t\t\t\t\t\t 'Create outer referencing in ' tt > '.reference\/*' 'acording to routing defined in '\n\t\t\t\t\t\t tt > '%npm-global-directory%\/includejs\/globals.txt'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'shell' '\"' }\n\t\t\t\t\t\t\tli > '\"command\": \/** Array or String :: string commands*\/ ['\n\t\t\t\t\t\t\tli > '\"cmd \/C copy \/B index.html c:\/app\",'\n\t\t\t\t\t\t\tli > '\"cmd \/C copy \/B index.build\/ c:\/app\/index.build\" ]'\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp > 'Execuate shell commands'\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul {\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'custom' '\"' }\n\t\t\t\t\t\t\tli > '\"script\": \"scriptPath.js\"'\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp > 'Execuate custom scripts'\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\tdiv > 'Script shoud export object with .process(config, idfr) function.'\n\t\t\t\t\t\t\tdiv > 'After script is ready call idfr.resolve() for processing next actions'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t'If you want to call just that action only, you can do it from command line:'\n\t\t\t\t\t\t\tdiv > code > ' > includejs custom scriptPath.js'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'server' '\"' }\n\t\t\t\t\t\t\tli > '\"port\": NUMBER \/* optional @default 5777 *\/'\n\t\t\t\t\t\t\tli > '\"open\": Filename to open in browser \/* optional *\/'\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp { 'Create server in ' tt > '%current-directory%' }\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t'To not create config file only for this action, you can use raw cli command with action argument:'\n\t\t\t\t\t\t\tdiv > code > ' > includejs server'\n\t\t\t\t\t\t\t'To open browser and additionally to define port:'\n\t\t\t\t\t\t\tdiv > code > ' > includejs server index.dev.html -port 7777'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'reference' '\"' }\n\t\t\t\t\t\t\tli > '\"path\": directory path || name of a project from globals.txt'\n\t\t\t\t\t\t\tli > '\"name\": reference name \/* optional @default directory name*\/'\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp > 'Creates symbolic link to specified path in %current_directory%\/.reference\/%name%'\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\tdiv > 'Command Line calls: '\n\t\t\t\t\t\t\tdiv > code > ' > includejs reference c:\/development\/mylib'\n\t\t\t\t\t\t\tdiv > 'You can add this path to globals.txt, so afterwards you can call this as such:'\n\t\t\t\t\t\t\tdiv > code > ' > includejs reference mylib'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'template' '\"' }\n\t\t\t\t\t\t\tli > '\"name\": name'\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tp > 'Create Template Project in %current_dir%'\n\t\t\t\t\t\tp > 'Available: \"starter\" , \"todomvc\" (@sample application to fiddle around with maskjs,includejs etc.)'\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t'You can create any other templates with just coping needed files to '\n\t\t\t\t\t\t\ttt > '%npm-global-directory%\/node_modules\/includejs\/template\/%YourTemplateName%'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t'Raw cli command:'\n\t\t\t\t\t\t\tdiv > code > ' > includejs template starter'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'git-clone' '\"' }\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp > 'Clones LibJS Libraries into current directory'\n\t\t\t\t\t\tdiv {\n\t\t\t\t\t\t\t'It will also save this path intern, for future routing - so calling this action,\n\t\t\t\t\t\t\t\tincludejs should have\n\t\t\t\t\t\t\t\twrite permissions to ' tt > '%npm-global-directory%\/includejs' ' directory'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t'Command Line: '\n\t\t\t\t\t\t\tcode > ' > includejs git-clone'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'globals' '\"' }\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcode > ' > includejs globals'\n\n\t\t\t\t\t\tp > 'Open globals.txt of includejs for editing of your routes, etc. Example of globals.txt:'\n\n\t\t\t\t\t\tprism src='\/api.help\/globals.js';\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tdiv.resources {\n\t\t\t\th6 > 'Small note about external resources'\n\t\t\t\tp > 'Every application has some outer dependencies. Lets say you created empty project and want to use some classes, styles and images\n\t\t\t\tfrom you own library \"MyCoolStuff\". There are several ways you can do it.'\n\t\t\t\tul {\n\t\t\t\t\tli {\n\t\t\t\t\t\ti > 'Bad \u2014 ''Copy them into working project. '\n\t\t\t\t\t\tdiv;\n\t\t\t\t\t\tu > 'Contra'' \u2014 '\n\t\t\t\t\t\tul {\n\t\t\t\t\t\t\tli > 'you dont know always from start on what classes or styles you need'\n\t\t\t\t\t\t\tli > 'you have to work a lot with copy\/paste - and this was always a mess.'\n\t\t\t\t\t\t\tli > 'they become part of the project. This is good for Release, but not for Development'\n\t\t\t\t\t\t\tli > 'harms code organization energy'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tli {\n\t\t\t\t\t\ti > 'Best \u2014 ''Use symbolic links'\n\t\t\t\t\t\tdiv > 'Example:'\n\t\t\t\t\t\tul {\n\t\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t\t'Install IncludeJS.Builder and LibJS libraries: ' a href='#\/about\/install' > '@how-to'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t\t'Create template project'\n\t\t\t\t\t\t\t\tdiv > code > '> mkdir testProject && cd testProject && includejs template starter'\n\t\t\t\t\t\t\t\tdiv {\n\t\t\t\t\t\t\t\t\t'And now, under \"testProject\/.reference\/libjs\" you find a symbolic link to libjs project\n\t\t\t\t\t\t\t\t\tand all requests to libjs libraries, such as '\n\t\t\t\t\t\t\t\t\ttt > 'include.js({ lib: \"mask\" })' 'will path through that symbolic link'\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tp {\n\t\t\t\t\t\t\t'After your application is ready for release, you can build it - all resources will be combined, and no more referencing will occure'\n\n\t\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t 'Any time you can import all referenced resources to projects directory. '\n\t\t\t\t\t\t\t i > 'You may need this, for example, for sending your dev-project to smbd. else.'\n\n\t\t\t\t\t\t\t p > code > ' > includejs project-import'\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tp.hint > 'This will import only resources you use in your project (scripts, images, views, etc.), and not the whole directories.'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\t\t}\n\t}\n\n}\n","returncode":0,"stderr":"","license":"mit","lang":"Mask"} {"commit":"ef428b7a8bb9a05e8c91d25133c8222cff53d6c5","subject":"sys-kernel\/linux-headers: Removed masking of newer versions.","message":"sys-kernel\/linux-headers: Removed masking of newer versions.\n\nMultiple packages depend on newer header versions. According to\nhttps:\/\/bugs.gentoo.org\/show_bug.cgi?id=551248#c5 it shouldn't be a\nproblem to build agains newer headers.\n","repos":"stepping-stone\/sst-gentoo-overlay,stepping-stone\/sst-gentoo-overlay","old_file":"profiles\/stepping-stone.ch\/kvm\/package.mask","new_file":"profiles\/stepping-stone.ch\/kvm\/package.mask","new_contents":"# Use kmod instead of module-init-tools since this is the Gentoo\/upstream default\nsys-apps\/module-init-tools\n\n# Block newer versions of zabbix since our server is still on 1.8\n>=net-analyzer\/zabbix-2\n\n# Mask nullmailer to force msmtp for virtual\/mta (next in list of deps after nullmailer)\n# while allowing others (like postfix for the new postfix-nullmailer setup) to be installed instead\nmail-mta\/nullmailer\n\n# Mask the new postfix stable release 3.0.0 since we are not ready with our configuration yet.\n>=mail-mta\/postfix-3.0.0\n\n# We're using the longterm 3.10.X kernel\n>=sys-kernel\/gentoo-sources-3.11\n>=sys-kernel\/hardened-sources-3.11\n=net-analyzer\/zabbix-2\n\n# Mask nullmailer to force msmtp for virtual\/mta (next in list of deps after nullmailer)\n# while allowing others (like postfix for the new postfix-nullmailer setup) to be installed instead\nmail-mta\/nullmailer\n\n# Mask the new postfix stable release 3.0.0 since we are not ready with our configuration yet.\n>=mail-mta\/postfix-3.0.0\n\n# We're using the longterm 3.10.X kernel\n>=sys-kernel\/linux-headers-3.11\n>=sys-kernel\/gentoo-sources-3.11\n>=sys-kernel\/hardened-sources-3.11\n=net-analyzer\/zabbix-2\n\n# Mask nullmailer to force msmtp for virtual\/mta (next in list of deps after nullmailer)\n# while allowing others (like postfix for the new postfix-nullmailer setup) to be installed instead\nmail-mta\/nullmailer\n\n# Mask the new postfix stable release 3.0.0 since we are not ready with our configuration yet.\n>=mail-mta\/postfix-3.0.0\n\n# We're using the longterm 4.4.X kernel\n>=sys-kernel\/gentoo-sources-4.5\n>=sys-kernel\/hardened-sources-4.5\n=app-admin\/puppet-4\n\n# Facter 2.5.x seems to have a bug and is therefore not useable (facter tries\n# to connect to the cloud-init\/EC2 IP address 169.254.169.254 in order to\n# retrieve facts and hangs itself up in an infinite re-try loop).\n>=dev-ruby\/facter-2.5\n\n# Temporarily mask GCC 6.4\n>=sys-devel\/gcc-6.4\n","old_contents":"# Use kmod instead of module-init-tools since this is the Gentoo\/upstream default\nsys-apps\/module-init-tools\n\n# Block newer versions of zabbix since our server is still on 1.8\n>=net-analyzer\/zabbix-2\n\n# Mask nullmailer to force msmtp for virtual\/mta (next in list of deps after nullmailer)\n# while allowing others (like postfix for the new postfix-nullmailer setup) to be installed instead\nmail-mta\/nullmailer\n\n# Mask the new postfix stable release 3.0.0 since we are not ready with our configuration yet.\n>=mail-mta\/postfix-3.0.0\n\n# We're using the longterm 4.4.X kernel\n>=sys-kernel\/gentoo-sources-4.5\n>=sys-kernel\/hardened-sources-4.5\n=app-admin\/puppet-4\n\n# Facter 2.5.x seems to have a bug and is therefore not useable (facter tries\n# to connect to the cloud-init\/EC2 IP address 169.254.169.254 in order to\n# retrieve facts and hangs itself up in an infinite re-try loop).\n>=dev-ruby\/facter-2.5\n","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Mask"} {"commit":"51825997b3a812efed6ff0deb4b8b25b154d8199","subject":"meta-iotqa: Enable wifi and BT test for Minnowboard","message":"meta-iotqa: Enable wifi and BT test for Minnowboard\n\nSigned-off-by: Simo Kuusela <4755938158c3c622d3884e9a75ed20dc865bc695@intel.com>\n","repos":"jairglez\/intel-iot-refkit,YinThong\/intel-iot-refkit,mythi\/intel-iot-refkit,klihub\/intel-iot-refkit,klihub\/intel-iot-refkit,YinThong\/intel-iot-refkit,jairglez\/intel-iot-refkit,klihub\/intel-iot-refkit,mythi\/intel-iot-refkit,intel\/intel-iot-refkit,jairglez\/intel-iot-refkit,mythi\/intel-iot-refkit,klihub\/intel-iot-refkit,mythi\/intel-iot-refkit,intel\/intel-iot-refkit,intel\/intel-iot-refkit,jairglez\/intel-iot-refkit,jairglez\/intel-iot-refkit,YinThong\/intel-iot-refkit,mythi\/intel-iot-refkit,intel\/intel-iot-refkit,klihub\/intel-iot-refkit,mythi\/intel-iot-refkit,ipuustin\/intel-iot-refkit,jairglez\/intel-iot-refkit,ipuustin\/intel-iot-refkit,YinThong\/intel-iot-refkit,ipuustin\/intel-iot-refkit,intel\/intel-iot-refkit,ipuustin\/intel-iot-refkit,mythi\/intel-iot-refkit,ipuustin\/intel-iot-refkit,jairglez\/intel-iot-refkit,intel\/intel-iot-refkit,klihub\/intel-iot-refkit,ipuustin\/intel-iot-refkit,YinThong\/intel-iot-refkit,ipuustin\/intel-iot-refkit,YinThong\/intel-iot-refkit,YinThong\/intel-iot-refkit,intel\/intel-iot-refkit,klihub\/intel-iot-refkit","old_file":"meta-iotqa\/conf\/test\/minnowboardturbot.mask","new_file":"meta-iotqa\/conf\/test\/minnowboardturbot.mask","new_contents":"# This file contains tests that can't be run on Minnowboard Turbot\n# \/docker\/tester-exec.sh will use this file to remove tests from a manifest\n","old_contents":"# This file contains tests that can't be run on Minnowboard Turbot\n# \/docker\/tester-exec.sh will use this file to remove tests from a manifest\noeqa.runtime.sanity.comm_btcheck\noeqa.runtime.sanity.comm_wifi_connect\n","returncode":0,"stderr":"","license":"mit","lang":"Mask"} {"commit":"e8be7e86e086148d1319cce0d2bdbf6ddf905132","subject":"mask sys-power\/upower","message":"mask sys-power\/upower\n","repos":"mavriq\/mavriq-overlay","old_file":"profiles\/base\/package.mask","new_file":"profiles\/base\/package.mask","new_contents":"## now sys-power\/upower-pm-utils instead sys-power\/upower\nsys-power\/upower\n","old_contents":"## \u0434\u0438\u043a\u0430\u044f \u0438\u0434\u0435\u044f gentoo-\u0434\u0435\u0432\u0435\u043b\u043e\u043f\u0435\u0440\u043e\u0432 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0449\u0438\u0445 \u044d\u0442\u043e\u0442 \u043f\u0430\u043a\u0435\u0442, \u0436\u0435\u0441\u0442\u043a\u043e \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u0442\u044c \u0435\u0433\u043e \u043a systemd \u043c\u043d\u0435 \u043d\u0435 \u043f\u043e \u0434\u0443\u0448\u0435\n=sys-power\/upower-0.9.23-r3\n","returncode":0,"stderr":"","license":"apache-2.0","lang":"Mask"} {"commit":"cdbbd40245f77dfb13448f92e86b29c8e9a8f68f","subject":"fix (test) load module: take in consid new npm path resolver","message":"fix (test) load module: take in consid new npm path resolver\n","repos":"atmajs\/MaskJS,atmajs\/MaskJS,atmajs\/MaskJS","old_file":"test\/tmpl\/modules\/model.mask","new_file":"test\/tmpl\/modules\/model.mask","new_contents":"div.test-above-node;\n\nimport foo from 'data_foo.js';\nimport baz from 'data_baz.json';\nimport * as title from '.\/h4';\nimport from 'style.css';\n\n\nwith (foo) {\n\ttitle;\n\t.foo > '~[name]'\n}\n\n.baz > '~[baz.name]';","old_contents":"div.test-above-node;\n\nimport foo from 'data_foo.js';\nimport baz from 'data_baz.json';\nimport * as title from 'h4';\nimport from 'style.css';\n\n\nwith (foo) {\n\ttitle;\n\t.foo > '~[name]'\n}\n\n.baz > '~[baz.name]';","returncode":0,"stderr":"","license":"mit","lang":"Mask"} {"commit":"4bd29e1d44b3d826ace02e3069933fcbd4d1b197","subject":"profile: unmask gcc 6","message":"profile: unmask gcc 6\n","repos":"stepping-stone\/sst-gentoo-overlay,stepping-stone\/sst-gentoo-overlay","old_file":"profiles\/stepping-stone.ch\/kvm\/package.mask","new_file":"profiles\/stepping-stone.ch\/kvm\/package.mask","new_contents":"# Use kmod instead of module-init-tools since this is the Gentoo\/upstream default\nsys-apps\/module-init-tools\n\n# Block newer versions of zabbix since our server is still on 1.8\n>=net-analyzer\/zabbix-2\n\n# Mask nullmailer to force msmtp for virtual\/mta (next in list of deps after nullmailer)\n# while allowing others (like postfix for the new postfix-nullmailer setup) to be installed instead\nmail-mta\/nullmailer\n\n# Mask the new postfix stable release 3.0.0 since we are not ready with our configuration yet.\n>=mail-mta\/postfix-3.0.0\n\n# We're using the longterm 4.4.X kernel\n>=sys-kernel\/gentoo-sources-4.5\n>=sys-kernel\/hardened-sources-4.5\n=app-admin\/puppet-4\n\n# Facter 2.5.x seems to have a bug and is therefore not useable (facter tries\n# to connect to the cloud-init\/EC2 IP address 169.254.169.254 in order to\n# retrieve facts and hangs itself up in an infinite re-try loop).\n>=dev-ruby\/facter-2.5\n\n# Temporarily mask GCC 7\n>=sys-devel\/gcc-7\n\n# We need to use gluster 3.8\n>sys-cluster\/glusterfs-3.9\n","old_contents":"# Use kmod instead of module-init-tools since this is the Gentoo\/upstream default\nsys-apps\/module-init-tools\n\n# Block newer versions of zabbix since our server is still on 1.8\n>=net-analyzer\/zabbix-2\n\n# Mask nullmailer to force msmtp for virtual\/mta (next in list of deps after nullmailer)\n# while allowing others (like postfix for the new postfix-nullmailer setup) to be installed instead\nmail-mta\/nullmailer\n\n# Mask the new postfix stable release 3.0.0 since we are not ready with our configuration yet.\n>=mail-mta\/postfix-3.0.0\n\n# We're using the longterm 4.4.X kernel\n>=sys-kernel\/gentoo-sources-4.5\n>=sys-kernel\/hardened-sources-4.5\n=app-admin\/puppet-4\n\n# Facter 2.5.x seems to have a bug and is therefore not useable (facter tries\n# to connect to the cloud-init\/EC2 IP address 169.254.169.254 in order to\n# retrieve facts and hangs itself up in an infinite re-try loop).\n>=dev-ruby\/facter-2.5\n\n# Temporarily mask GCC 6.4\n>=sys-devel\/gcc-6.4\n\n# We need to use gluster 3.8\n>sys-cluster\/glusterfs-3.9\n","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Mask"} {"commit":"802c7e6d69831d88052a17fc3b6a90d7dce0a162","subject":"Mask GCC >= 10","message":"Mask GCC >= 10\n","repos":"stepping-stone\/sst-gentoo-overlay,stepping-stone\/sst-gentoo-overlay","old_file":"profiles\/stepping-stone.ch\/package.mask","new_file":"profiles\/stepping-stone.ch\/package.mask","new_contents":"# Use kmod instead of module-init-tools since this is the Gentoo\/upstream default\nsys-apps\/module-init-tools\n\n# Block newer versions of zabbix since our server is still on 1.8\n>=net-analyzer\/zabbix-2\n\n# Mask nullmailer to force msmtp for virtual\/mta (next in list of deps after nullmailer)\n# while allowing others (like postfix for the new postfix-nullmailer setup) to be installed instead\nmail-mta\/nullmailer\n\n# Mask postfix >= 3.6, since we're not sure whether our configuration works with 3.6 yet\n>=mail-mta\/postfix-3.6\n\n# We're using the longterm 4.4.X kernel\n>=sys-kernel\/gentoo-sources-4.5\n>=sys-kernel\/hardened-sources-4.5\n= 10\n>=sys-devel\/gcc-10\n\n# We need to use gluster 3.8\n>=sys-cluster\/glusterfs-3.9\n\n# Mask Puppet version 6 until Puppet master has been upgraded\n>=app-admin\/puppet-6\n","old_contents":"# Use kmod instead of module-init-tools since this is the Gentoo\/upstream default\nsys-apps\/module-init-tools\n\n# Block newer versions of zabbix since our server is still on 1.8\n>=net-analyzer\/zabbix-2\n\n# Mask nullmailer to force msmtp for virtual\/mta (next in list of deps after nullmailer)\n# while allowing others (like postfix for the new postfix-nullmailer setup) to be installed instead\nmail-mta\/nullmailer\n\n# Mask postfix >= 3.6, since we're not sure whether our configuration works with 3.6 yet\n>=mail-mta\/postfix-3.6\n\n# We're using the longterm 4.4.X kernel\n>=sys-kernel\/gentoo-sources-4.5\n>=sys-kernel\/hardened-sources-4.5\n= 9\n>=sys-devel\/gcc-9\n\n# We need to use gluster 3.8\n>=sys-cluster\/glusterfs-3.9\n\n# Mask Puppet version 6 until Puppet master has been upgraded\n>=app-admin\/puppet-6\n","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Mask"} {"commit":"9ca8dded41520e215825c9a5e8e056fd0005c43c","subject":"Mask GCC >= 10","message":"Mask GCC >= 10\n","repos":"stepping-stone\/sst-gentoo-overlay,stepping-stone\/sst-gentoo-overlay","old_file":"profiles\/stepping-stone.ch\/package.mask","new_file":"profiles\/stepping-stone.ch\/package.mask","new_contents":"# Use kmod instead of module-init-tools since this is the Gentoo\/upstream default\nsys-apps\/module-init-tools\n\n# Block newer versions of zabbix since our server is still on 1.8\n>=net-analyzer\/zabbix-2\n\n# Mask nullmailer to force msmtp for virtual\/mta (next in list of deps after nullmailer)\n# while allowing others (like postfix for the new postfix-nullmailer setup) to be installed instead\nmail-mta\/nullmailer\n\n# Mask postfix >= 3.6, since we're not sure whether our configuration works with 3.6 yet\n>=mail-mta\/postfix-3.6\n\n# We're using the longterm 4.4.X kernel\n>=sys-kernel\/gentoo-sources-4.5\n>=sys-kernel\/hardened-sources-4.5\n= 10\n>=sys-devel\/gcc-10\n\n# We need to use gluster 3.8\n>=sys-cluster\/glusterfs-3.9\n\n# Mask Puppet version 6 until Puppet master has been upgraded\n>=app-admin\/puppet-6\n","old_contents":"# Use kmod instead of module-init-tools since this is the Gentoo\/upstream default\nsys-apps\/module-init-tools\n\n# Block newer versions of zabbix since our server is still on 1.8\n>=net-analyzer\/zabbix-2\n\n# Mask nullmailer to force msmtp for virtual\/mta (next in list of deps after nullmailer)\n# while allowing others (like postfix for the new postfix-nullmailer setup) to be installed instead\nmail-mta\/nullmailer\n\n# Mask postfix >= 3.6, since we're not sure whether our configuration works with 3.6 yet\n>=mail-mta\/postfix-3.6\n\n# We're using the longterm 4.4.X kernel\n>=sys-kernel\/gentoo-sources-4.5\n>=sys-kernel\/hardened-sources-4.5\n= 9\n>=sys-devel\/gcc-9\n\n# We need to use gluster 3.8\n>=sys-cluster\/glusterfs-3.9\n\n# Mask Puppet version 6 until Puppet master has been upgraded\n>=app-admin\/puppet-6\n","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Mask"} {"commit":"779b46b5fa21f6caba3ba349bbe87909177a91e1","subject":"add (sample) decorators","message":"add (sample) decorators\n","repos":"tenbits\/sublime-mask","old_file":"syntax.mask","new_file":"syntax.mask","new_contents":"\/\/### COMMENTS\n\/** \n * Block comment\n *\/\n\/\/ Income comment\n\n\/\/### LITERALS\n\n\/\/ - Single\n'Foo'\n\/\/ - Block\n\"\"\" \n with quotes \"\"\n qux\n\"\"\"\n\n\/\/ ### TAGS\n\/\/ - Single\ndiv;\n\n\/\/ - class, id\nspan.foo-class #id;\n\n\/\/ - only class, id\n#id .qux;\n\n\/\/ - attribute\ninput autofocus value='Foo' data-test=quoteLess\n\t\/\/ inline comment\n\tother = attribute;\n\n\/\/ - single child\ndiv > span;\n\/\/ - more children\nh4 {\n\ti > 'Foo'\n\tfooter { hr; }\n}\n\n\/\/ ### Interpolations\n\/\/ - in literal\n'Foo: ~name ~[name] ~[bind: name] ~[name + \" hello \"] ~[ _.L(\"lokalize-util\") ]'\n\/\/ - in attribute\ndiv name = '~name ~[name] ~[bind: name] ~[name + \" hello \"] ~[ _.L(\"lokalize-util\") ]';\n\n\n\/\/ ### STATEMENTS\n\nif (name) {\n\t\/\/ nodes\n}\nfor (letter of letters) {\n\t'~[letter]'\n}\nfor ((letter, index) of letters) {\n\t'~letter at ~index'\n}\nwith (name) > '~.'\neach (letters) > '~letter'\ndebugger;\nlog (user.name);\nswitch (state) {\n\tcase ('active') {\n\t\t\/\/ nodes\n\t}\n}\n\n\/\/ ### MODULES\nimport from 'foo.mask';\nimport * as Data from '\/api\/data' is json;\nimport async Foo, Quux from 'baz';\n\n\/\/ ### DEFINE\ndefine Foo as (div.span) extends Dialog, Collapser {\n\tvar name = 'MyName';\n\tvar num = 2;\n\tvar arr = [1, 2, 3];\n\tvar scope = {\n\t\tname: 'one',\n\t\tarr: [1, 2, false, \/asd\/]\n\t};\n\n\tfunction onRenderStart(model, ctx, container) {\n\t\tconsole.log('model:', model);\n\t}\n\tslot show() {\n\t\tthis.model.hidden = false;\n\t}\n\tevent submit(evt) {\n\t\tevt.preventDefault();\n\t}\n}\n\n\/\/ ### PLACEHOLDERS\ndefine A extends B {\n\t@body > 'IsBody'\n\t@placeholder;\n\tfooter > @footer;\n}\nA {\n\t@footer > 'Test'\n}\n\n
Suppots html tags within <\/div>\n\n[IsAuthorized]\n[WithCaption('Foo')]\ndiv;","old_contents":"\/\/### COMMENTS\n\/** \n * Block comment\n *\/\n\/\/ Income comment\n\n\/\/### LITERALS\n\n\/\/ - Single\n'Foo'\n\/\/ - Block\n\"\"\" \n with quotes \"\"\n qux\n\"\"\"\n\n\/\/ ### TAGS\n\/\/ - Single\ndiv;\n\n\/\/ - class, id\nspan.foo-class #id;\n\n\/\/ - only class, id\n#id .qux;\n\n\/\/ - attribute\ninput autofocus value='Foo' data-test=quoteLess\n\t\/\/ inline comment\n\tother = attribute;\n\n\/\/ - single child\ndiv > span;\n\/\/ - more children\nh4 {\n\ti > 'Foo'\n\tfooter { hr; }\n}\n\n\/\/ ### Interpolations\n\/\/ - in literal\n'Foo: ~name ~[name] ~[bind: name] ~[name + \" hello \"] ~[ _.L(\"lokalize-util\") ]'\n\/\/ - in attribute\ndiv name = '~name ~[name] ~[bind: name] ~[name + \" hello \"] ~[ _.L(\"lokalize-util\") ]';\n\n\n\/\/ ### STATEMENTS\n\nif (name) {\n\t\/\/ nodes\n}\nfor (letter of letters) {\n\t'~[letter]'\n}\nfor ((letter, index) of letters) {\n\t'~letter at ~index'\n}\nwith (name) > '~.'\neach (letters) > '~letter'\ndebugger;\nlog (user.name);\nswitch (state) {\n\tcase ('active') {\n\t\t\/\/ nodes\n\t}\n}\n\n\/\/ ### MODULES\nimport from 'foo.mask';\nimport * as Data from '\/api\/data' is json;\nimport async Foo, Quux from 'baz';\n\n\/\/ ### DEFINE\ndefine Foo as (div.span) extends Dialog, Collapser {\n\tvar name = 'MyName';\n\tvar num = 2;\n\tvar arr = [1, 2, 3];\n\tvar scope = {\n\t\tname: 'one',\n\t\tarr: [1, 2, false, \/asd\/]\n\t};\n\n\tfunction onRenderStart(model, ctx, container) {\n\t\tconsole.log('model:', model);\n\t}\n\tslot show() {\n\t\tthis.model.hidden = false;\n\t}\n\tevent submit(evt) {\n\t\tevt.preventDefault();\n\t}\n}\n\n\/\/ ### PLACEHOLDERS\ndefine A extends B {\n\t@body > 'IsBody'\n\t@placeholder;\n\tfooter > @footer;\n}\nA {\n\t@footer > 'Test'\n}\n\n
Suppots html tags within <\/div>\n","returncode":0,"stderr":"","license":"mit","lang":"Mask"} {"commit":"4845a1d9c2ee9a70515a3f9229113c2d3c000c56","subject":"Python 3.4 is now default Python 3 implementation","message":"Python 3.4 is now default Python 3 implementation\n","repos":"stepping-stone\/sst-gentoo-overlay,stepping-stone\/sst-gentoo-overlay","old_file":"profiles\/stepping-stone.ch\/kvm\/package.mask","new_file":"profiles\/stepping-stone.ch\/kvm\/package.mask","new_contents":"# Use kmod instead of module-init-tools since this is the Gentoo\/upstream default\nsys-apps\/module-init-tools\n\n# Block newer versions of zabbix since our server is still on 1.8\n>=net-analyzer\/zabbix-2\n\n# Mask nullmailer to force msmtp for virtual\/mta (next in list of deps after nullmailer)\n# while allowing others (like postfix for the new postfix-nullmailer setup) to be installed instead\nmail-mta\/nullmailer\n\n# Mask the new postfix stable release 3.0.0 since we are not ready with our configuration yet.\n>=mail-mta\/postfix-3.0.0\n\n# We're using the longterm 3.10.X kernel\n>=sys-kernel\/linux-headers-3.11\n>=sys-kernel\/gentoo-sources-3.11\n>=sys-kernel\/hardened-sources-3.11\n","old_contents":"# Use kmod instead of module-init-tools since this is the Gentoo\/upstream default\nsys-apps\/module-init-tools\n\n# Block newer versions of zabbix since our server is still on 1.8\n>=net-analyzer\/zabbix-2\n\n# Mask nullmailer to force msmtp for virtual\/mta (next in list of deps after nullmailer)\n# while allowing others (like postfix for the new postfix-nullmailer setup) to be installed instead\nmail-mta\/nullmailer\n\n# Mask the new postfix stable release 3.0.0 since we are not ready with our configuration yet.\n>=mail-mta\/postfix-3.0.0\n\n# We're using the longterm 3.10.X kernel\n>=sys-kernel\/linux-headers-3.11\n>=sys-kernel\/gentoo-sources-3.11\n>=sys-kernel\/hardened-sources-3.11\n\n# avoid pulling in python-3.4 as long as profiles\/base\/make.defaults\n# still references python3_3 as the default python3 implementation\ndev-lang\/python:3.4\n","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Mask"} {"commit":"a8b81bbb4e9176cced6f60773524d33058ee643c","subject":"path fixed","message":"path fixed\n","repos":"tenbits\/LibJS,tenbits\/LibJS","old_file":"pages\/tags\/dualbind\/dualbind.mask","new_file":"pages\/tags\/dualbind\/dualbind.mask","new_contents":"layout:view master='tagApiItem' {\n title > 'dualbind;'\n description {\n 'Two way model-view bindings for MaskJS. Any JSON value to Any DOM Element or MaskJS Component. Check out also '\n a href='#\/tag\/validate ' > 'validation' \n ' to see, how you can validate user input before bindings applies.'\n \n p { \n 'Things are simple - we have a '\n a href='#\/tag\/dualbind\/BindingProvider' > 'BindingProvider'\n ', that listens to DOM changes using events and listens to JSON changes by overriding properties with '\n code > 'Object.defineProperty' \n \n '. You can also create your own custom providers and register them with '\n code > 'mask.registerBinding(name, handler)'\n '.'\n }\n }\n\n include > '{libjs}\/compos\/binding\/lib\/binding.js'\n source {\n a href='http:\/\/github.com\/tenbits\/Compos\/binding\/lib\/binding.js' target='_blank' > 'GitHub' \n }\n attributes {\n tr {\n td > 'value=\"propName\"'\n td > 'Property of a JSON Data Model. IF property is an Array, then all mutable methods are also overridden for listening (like .pop .push)'\n }\n tr {\n td > 'changeEvent=\"event\"'\n td > '(optional @default=\"change\") Change JSON Data Model on that event - \"$\" is used to addEventListener to \"element\" with .on function. \n After the event is triggered, JSON Data Model updates.'\n }\n tr {\n td > 'property=\"propName\"'\n td > '(optional @default=\"element.value\") Property of a provider.'\n }\n tr {\n td > 'setter=\"setterFn\"'\n td > '(optional @default=NULL) In case when we bind values to custom controls and we want to set values over setter function, \n define it here, instead of creating custom bindings.'\n }\n tr {\n td > 'getter=\"getterFn\"'\n td > '(optional @default=NULL) @see \"setter\" attribute'\n }\n } \n depends {\n li > 'MaskJS'\n li > 'ClassJS'\n li > 'RuqqJS:utils.js - Object Helper'\n } \n example {\n prism language='markup' src='\/api.help\/tags\/dualbind.html';\n }\n}\n","old_contents":"layout:view master='tagApiItem' {\n title > 'dualbind;'\n description {\n 'Two way model-view bindings for MaskJS. Any JSON value to Any DOM Element or MaskJS Component. Check out also '\n a href='#\/tag\/validate ' > 'validation' \n ' to see, how you can validate user input before bindings applies.'\n \n p { \n 'Things are simple - we have a '\n a href='#\/tag\/dualbind\/BindingProvider' > 'BindingProvider'\n ', that listens to DOM changes using events and listens to JSON changes by overriding properties with '\n code > 'Object.defineProperty' \n \n '. You can also create your own custom providers and register them with '\n code > 'mask.registerBinding(name, handler)'\n '.'\n }\n }\n\n include > '{libjs}\/compos\/binding\/lib\/binding.js'\n source {\n a href='http:\/\/github.com\/tenbits\/Compos\/binding\/lib\/binding.js' target='_blank' > 'GitHub' \n }\n attributes {\n tr {\n td > 'value=\"propName\"'\n td > 'Property of a JSON Data Model. IF property is an Array, then all mutable methods are also overridden for listening (like .pop .push)'\n }\n tr {\n td > 'changeEvent=\"event\"'\n td > '(optional @default=\"change\") Change JSON Data Model on that event - \"$\" is used to addEventListener to \"element\" with .on function. \n After the event is triggered, JSON Data Model updates.'\n }\n tr {\n td > 'property=\"propName\"'\n td > '(optional @default=\"element.value\") Property of a provider.'\n }\n tr {\n td > 'setter=\"setterFn\"'\n td > '(optional @default=NULL) In case when we bind values to custom controls and we want to set values over setter function, \n define it here, instead of creating custom bindings.'\n }\n tr {\n td > 'getter=\"getterFn\"'\n td > '(optional @default=NULL) @see \"setter\" attribute'\n }\n } \n depends {\n li > 'MaskJS'\n li > 'ClassJS'\n li > 'RuqqJS:utils.js - Object Helper'\n } \n example {\n prism language='markup' src='api.help\/tags\/dualbind.html';\n }\n}\n","returncode":0,"stderr":"","license":"mit","lang":"Mask"} {"commit":"cd92ed83ba6625bafbe274815ec544630344e7ab","subject":"profile: mask GCC >= 8.3","message":"profile: mask GCC >= 8.3\n","repos":"stepping-stone\/sst-gentoo-overlay,stepping-stone\/sst-gentoo-overlay","old_file":"profiles\/stepping-stone.ch\/package.mask","new_file":"profiles\/stepping-stone.ch\/package.mask","new_contents":"# Use kmod instead of module-init-tools since this is the Gentoo\/upstream default\nsys-apps\/module-init-tools\n\n# Block newer versions of zabbix since our server is still on 1.8\n>=net-analyzer\/zabbix-2\n\n# Mask nullmailer to force msmtp for virtual\/mta (next in list of deps after nullmailer)\n# while allowing others (like postfix for the new postfix-nullmailer setup) to be installed instead\nmail-mta\/nullmailer\n\n# Mask the new postfix stable release 3.0.0 since we are not ready with our configuration yet.\n>=mail-mta\/postfix-3.0.0\n\n# We're using the longterm 4.4.X kernel\n>=sys-kernel\/gentoo-sources-4.5\n>=sys-kernel\/hardened-sources-4.5\n= 8.3\n>=sys-devel\/gcc-8.3\n\n# We need to use gluster 3.8\n>=sys-cluster\/glusterfs-3.9\n\n# Mask Puppet version 6 until Puppet master has been upgraded\n>=app-admin\/puppet-6\n","old_contents":"# Use kmod instead of module-init-tools since this is the Gentoo\/upstream default\nsys-apps\/module-init-tools\n\n# Block newer versions of zabbix since our server is still on 1.8\n>=net-analyzer\/zabbix-2\n\n# Mask nullmailer to force msmtp for virtual\/mta (next in list of deps after nullmailer)\n# while allowing others (like postfix for the new postfix-nullmailer setup) to be installed instead\nmail-mta\/nullmailer\n\n# Mask the new postfix stable release 3.0.0 since we are not ready with our configuration yet.\n>=mail-mta\/postfix-3.0.0\n\n# We're using the longterm 4.4.X kernel\n>=sys-kernel\/gentoo-sources-4.5\n>=sys-kernel\/hardened-sources-4.5\n=sys-devel\/gcc-8\n\n# We need to use gluster 3.8\n>=sys-cluster\/glusterfs-3.9\n\n# Mask Puppet version 6 until Puppet master has been upgraded\n>=app-admin\/puppet-6\n","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Mask"} {"commit":"7e671407d011e7051aa1b956bb699f40fb2f4769","subject":"Update public\/libs\/bower_components\/ace-builds\/demo\/kitchen-sink\/docs\/mask.mask","message":"Update public\/libs\/bower_components\/ace-builds\/demo\/kitchen-sink\/docs\/mask.mask\n\nSigned-off-by: Bernard Ojengwa \n","repos":"apipanda\/openssl,apipanda\/openssl,apipanda\/openssl,apipanda\/openssl","old_file":"public\/libs\/bower_components\/ace-builds\/demo\/kitchen-sink\/docs\/mask.mask","new_file":"public\/libs\/bower_components\/ace-builds\/demo\/kitchen-sink\/docs\/mask.mask","new_contents":"","old_contents":"\/* Mask Syntax Demo *\/\n\ndiv > ' Test ~[name]';\n\ndefine :userProfile {\n\theader {\n\t\th4 > @title;\n\t\tbutton.close;\n\t}\n}\n\n:userProfile {\n\t@title > ' Hello ~[: username.toUpperCase()]'\n}\n\nstyle {\n html, body {\n background: url('name.png') 0 0 no-repeat;\n }\n}\n\nbutton {\n\tevent click (e) {\n\t this.textContent = `name ${e.clientX} !`;\n\t}\n}\n\nmd > \"\"\"\n\n- div\n- span\n \nHello\n\n[one](http:\/\/google.com)\n\n\"\"\";\n\n\nheader .foo > 'Heading'\n\nbutton .baz x-signal='click: test' disabled > \"\n\tHello,\n\tworld \n\t\\\"Buddy\\\"\n\"\n\nvar a = {\n name: `name ${window.innerWidth}`\n};\n\nspan .foo > \"~[bind: a.name]\"","returncode":0,"stderr":"","license":"mit","lang":"Mask"} {"commit":"9835bd789b83544ac306a30ce7a07a8a858e5d08","subject":"[+] include code doc","message":"[+] include code doc\n","repos":"tenbits\/LibJS,tenbits\/LibJS","old_file":"pages\/libs\/includeBuilder\/includeBuilder.mask","new_file":"pages\/libs\/includeBuilder\/includeBuilder.mask","new_contents":"layout:view master='view' {\n\n\ttitle {\n\t\ta.github-ribbon href='https:\/\/github.com\/tenbits\/IncludeJS';\n\t}\n\n\ttabs {\n\t\tradioButtons{\n\t\t\tbutton.active name='info' > 'Info'\n\t\t\tbutton name='commands' > 'Commands'\n\t\t\tbutton name='resources' > 'Resources'\n\t\t\tbutton name='sample' > 'Sample'\n\t\t}\n\t}\n\n\tcontent {\n\t\tp.container.tabPanel {\n\t\t\tdiv.info.active {\n\t\t\t\tdiv {\n\t\t\t\t prism > ' > npm install -g includejs'\n\t\t\t\t\tul {\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'Builder - Combine Resources included with IncludeJS'\n\t\t\t\t\t\t\tdiv.hint > 'Javascript, Style, HTML, Image'\n\t\t\t\t\t\t\tdiv.hint > 'Images that are in styles, that are not in working directory (are referenced), will be copied into working directory'\n\t\t\t\t\t\t\tdiv > ul {\n\t\t\t\t\t\t\t\tli > 'include.js'\n\t\t\t\t\t\t\t\tli > 'include.css'\n\t\t\t\t\t\t\t\tli > 'include.load'\n\t\t\t\t\t\t\t\tli > 'include.lazy'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tli { 'Minify'\n\t\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t a href='https:\/\/npmjs.org\/package\/uglify-js' target='_blank' > 'UglifyJS'\n\t\t\t\t\t\t\t ' and '\n\t\t\t\t\t\t\t a href='https:\/\/npmjs.org\/package\/clean-css' target='_blank' > 'clean-css'\n\t\t\t\t\t\t\t ' are used'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tdiv.hint > 'For UglifyJS you can specify compressor settings (So you can set defines to cut off DEBUG\/TEST code from Release)\n\t\t\t\t\t\t\t\tSee UglifyJS documentation.'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tli { 'JSHINT' div.hint { 'See ' a href='http:\/\/jshint.com\/docs\/' target='_blank' > 'JSHINT'} }\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'Integrated Web Server'\n\n\t\t\t\t\t\t\tdiv.hint > b > 'with auto-refresh feature'\n\t\t\t\t\t\t\tdiv.hint > 'HOT Reload of *.css, *.js and *.mask files, for other stuff page reload triggers'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'Shell Commands'\n\t\t\t\t\t\t\tdiv.hint > 'As Builder is action-based, shell commands could be used as pre-build or post-build.'\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'Custom Scripts as Actions'\n\t\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t\tprism > 'include.exports = { process: function(config, idfr) { \/* ... *\/ idfr.resolve(); } }'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tdiv.hint > 'Could be used as shell scripts. Note that you can use includejs api classes'\n\t\t\t\t\t\t\tdiv.hint > 'IncludeJS allows your scripts to require global modules!'\n\t\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t \t'You can use also CoffeeScript for your scripts'\n\t\t\t\t\t\t\t \tdiv > code > ' > includejs custom myscript.coffee'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'CoffeeScript and Less support'\n\t\t\t\t\t\t\tdiv.hint > '*.less will be compiled and joined with regular css files, as also CoffeeScript will be joined into one main js file'\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'Remove include statements in release, as the resource are already there. (But it will stay untouched if you access the resource with response object)'\n\t\t\t\t\t\t\tcode > \"\n\t\t\t\t\t\t\t\tinclude.js('jquery.js').done(function() { $('body').htm('Hello'); })\n\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t' is parsed to '\n\t\t\t\t\t\t\tcode > \"\n\t\t\t\t\t\t\t\t\t(function(){ $('body').html('Hello'); }());\n\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'Handle Resource Referencing and Importing'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tdiv.commands {\n\t\t\t\tul {\n\t\t\t\t\tli {\n\t\t\t\t\t\tcode > ' > includejs [action] [arg] [...] -KEY VALUE [...]'\n\t\t\t\t\t\tdiv {\n\t\t\t\t\t\t\tdiv > 'All this arguments will be parsed to a config object'\n\t\t\t\t\t\t\tdiv.hint > '@see supported actions'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tcode > ' > includejs [*.html] -minify -KEY VALUE'\n\n\t\t\t\t\t\tdiv > '\n\t\t\t\t\t\tIf first argument is html file, then this path will be set in config for \"file\" property, and \"build\" for action.\n\t\t\t\t\t\t You can also sepcify some additional config values for this build - @see \"build\" action.\n\t\t\t\t\t\t'\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tcode > ' > includejs [*.config | *.js]'\n\t\t\t\t\t\tp {\n\t\t\t\t\t\t\t'Load config and process'\n\t\t\t\t\t\t\tdiv > '*.config \u2014 JSON'\n\t\t\t\t\t\t\tdiv {\n\t\t\t\t\t\t\t \t'*.js \u2014 This javascript must set \"config\" to globals: ' tt > 'global.config = {OBJECT}'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\th3 > 'Config'\n\t\t\t\tdiv.hint {\n\t\t\t\t\t'Config contains one or more actions. (One action is an Object, more actions is Array of Objects) '\n\t\t\t\t}\n\t\t\t\tdiv {\n\t\t\t\t\t'Available actions and their settings:'\n\t\t\t\t}\n\t\t\t\tul{\n\n\t\t\t\t\tli {\n\t\t\t\t\t\tul {\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'build' '\"' }\n\t\t\t\t\t\t\tli > '\"file\" \u2014 {String} - HTML input file'\n\t\t\t\t\t\t\tli > '\"vars\" \u2014 {Object} \u2014 Variables used when parsing includes'\n\n\n\t\t\t\t\t\t\tli > '\"minify\" \u2014 {Boolean} \u2014 run MinifyJS and clean-css'\n\t\t\t\t\t\t\tli > '\"uglify\" - {Object:optional} - UglifyJS compressor settings. @default {global_defs: {DEBUG: false}}'\n\t\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t\t'\"jshint\" : {'\n\t\t\t\t\t\t\t\tul {\n\t\t\t\t\t\t\t\t\tli > '\"options\" - {Object} - JSHINT options'\n\t\t\t\t\t\t\t\t\tli > '\"globals\" - {Object} - global variables. @default {\"window\": false, \"document\": false}'\n\t\t\t\t\t\t\t\t\tli > '\"ignore\" - {Object} - file names to ignore'\n\t\t\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tli > '\"outputMain\" \u2014 output name of a built html \u2014 @default \"{name}.build.html\"'\n\t\t\t\t\t\t\tli > '\"outputSources\" \u2014 directory of combined\/copied resources \u2014 @default \"{name}.build\/\"'\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tp {\n\t\t\t\t\t\t\t'Build includejs project.'\n\t\t\t\t\t\t\tdiv.hint > 'It will parse specified file and its resources, and will recursive collect all includes'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'project-import' '\"' }\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp {\n\t\t\t\t\t\t 'Copy resources, that are used by current project, from referenced directories in '\n\t\t\t\t\t\t\ttt > '.reference\/*' ' to ' tt >'.import' ' directory'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'project-reference' '\"' }\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp {\n\t\t\t\t\t\t 'Create outer referencing in ' tt > '.reference\/*' 'acording to routing defined in '\n\t\t\t\t\t\t tt > '%npm-global-directory%\/includejs\/globals.txt'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'shell' '\"' }\n\t\t\t\t\t\t\tli > '\"command\": \/** Array or String :: string commands*\/ ['\n\t\t\t\t\t\t\tli > '\"cmd \/C copy \/B index.html c:\/app\",'\n\t\t\t\t\t\t\tli > '\"cmd \/C copy \/B index.build\/ c:\/app\/index.build\" ]'\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp > 'Execuate shell commands'\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul {\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'custom' '\"' }\n\t\t\t\t\t\t\tli > '\"script\": \"scriptPath.js\"'\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp > 'Execuate custom scripts'\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\tdiv > 'Script shoud export object with .process(config, idfr) function.'\n\t\t\t\t\t\t\tdiv > 'After script is ready call idfr.resolve() for processing next actions'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t'If you want to call just that action only, you can do it from command line:'\n\t\t\t\t\t\t\tdiv > code > ' > includejs custom scriptPath.js'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'server' '\"' }\n\t\t\t\t\t\t\tli > '\"port\": NUMBER \/* optional @default 5777 *\/'\n\t\t\t\t\t\t\tli > '\"open\": Filename to open in browser \/* optional *\/'\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp { 'Create server in ' tt > '%current-directory%' }\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t'To not create config file only for this action, you can use raw cli command with action argument:'\n\t\t\t\t\t\t\tdiv > code > ' > includejs server'\n\t\t\t\t\t\t\t'To open browser and additionally to define port:'\n\t\t\t\t\t\t\tdiv > code > ' > includejs server index.dev.html -port 7777'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'reference' '\"' }\n\t\t\t\t\t\t\tli > '\"path\": directory path || name of a project from globals.txt'\n\t\t\t\t\t\t\tli > '\"name\": reference name \/* optional @default directory name*\/'\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp > 'Creates symbolic link to specified path in %current_directory%\/.reference\/%name%'\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\tdiv > 'Command Line calls: '\n\t\t\t\t\t\t\tdiv > code > ' > includejs reference c:\/development\/mylib'\n\t\t\t\t\t\t\tdiv > 'You can add this path to globals.txt, so afterwards you can call this as such:'\n\t\t\t\t\t\t\tdiv > code > ' > includejs reference mylib'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'template' '\"' }\n\t\t\t\t\t\t\tli > '\"name\": name'\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tp > 'Create Template Project in %current_dir%'\n\t\t\t\t\t\tp {\n\t\t\t\t\t\t\t'Available:'\n\t\t\t\t\t\t\tul {\n\t\t\t\t\t\t\t\tli > '\"starter\" - MaskJS\/IncludeJS\/ClassJS\/CompoJS + appropriate routing as defined in globals.txt'\n\t\t\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t\t\t'\"compo\" - create component template, requires component name.'\n\t\t\t\t\t\t\t\t\tdiv.hint > code > ' > includejs template compo ComponentName'\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tli > '\"todomvc\" - @sample todomvc application to fiddle around with maskjs,includejs etc.)'\n\t\t\t\t\t\t\t\tli > '\"sample\" - simple component autoreload example'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t'Raw cli command:'\n\t\t\t\t\t\t\tdiv > code > ' > includejs template %name%'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t'You can create any other templates with just coping needed files to '\n\t\t\t\t\t\t\ttt > '%npm-global-directory%\/node_modules\/includejs\/template\/%YourTemplateName%'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t'It is also possible to define any setup logic to your templates using handlers, look at '\n\t\t\t\t\t\t\ta target='_blank' href='https:\/\/github.com\/tenbits\/IncludeJS.Builder\/blob\/master\/template\/compo\/.handler\/handler.js' > 'compo template' '. Here handler takes care about setting component name.'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'git-clone' '\"' }\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp > 'Clones LibJS Libraries into current directory'\n\t\t\t\t\t\tdiv {\n\t\t\t\t\t\t\t'It will also save this path intern, for future routing - so calling this action,\n\t\t\t\t\t\t\t\tincludejs should have\n\t\t\t\t\t\t\t\twrite permissions to ' tt > '%npm-global-directory%\/includejs' ' directory'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t'Command Line: '\n\t\t\t\t\t\t\tcode > ' > includejs git-clone'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'globals' '\"' }\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcode > ' > includejs globals'\n\n\t\t\t\t\t\tp > 'Open globals.txt of includejs for editing of your routes, etc. Example of globals.txt:'\n\n\t\t\t\t\t\tprism src='\/api.help\/globals.js';\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tdiv.resources {\n\t\t\t\th6 > 'Small note about external resources'\n\t\t\t\tp > 'Every application has some outer dependencies. Lets say you created empty project and want to use some classes, styles and images \n\t\t\t\tfrom you own library \"MyCoolStuff\". There are several ways you can do it.'\n\t\t\t\tul {\n\t\t\t\t\tli {\n\t\t\t\t\t\ti > 'Bad \u2014 ''Copy them into working project. '\n\t\t\t\t\t\tdiv;\n\t\t\t\t\t\tu > 'Contra'' \u2014 '\n\t\t\t\t\t\tul {\n\t\t\t\t\t\t\tli > 'you dont know always from start on what classes or styles you need'\n\t\t\t\t\t\t\tli > 'you have to work a lot with copy\/paste - and this was always a mess.'\n\t\t\t\t\t\t\tli > 'they become part of the project. This is good for Release, but not for Development'\n\t\t\t\t\t\t\tli > 'harms code organization energy'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tli {\n\t\t\t\t\t\ti > 'Best \u2014 ''Use symbolic links'\n\t\t\t\t\t\tdiv { \n\t\t\t\t\t\t\t'You may think, this is bad, but i will explain why i like them.'\n\t\t\t\t\t\t\tul {\n\t\t\t\t\t\t\t\tli { \n\t\t\t\t\t\t\t\t\t'keep all symlinks in \"%project_dir%\/.reference\/\" directory, to have little file system \"entropy\"'\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t\t\t'all outer libraries are referenced - and this is much better for development. \n\t\t\t\t\t\t\t\t\tYou can live edit them adding new features. And the changes will stay there for your future projects.'\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t\t\t'often, you need only some parts of a library, so you include only them.'\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t\t\t'you can import included resources into working directory any time.'\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdiv > 'Example:'\n\t\t\t\t\t\tul {\n\t\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t\t'Install IncludeJS.Builder and LibJS libraries: ' a href='#\/about\/install' > '@how-to'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t\t'Create template project'\n\t\t\t\t\t\t\t\tdiv > code > '> mkdir testProject && cd testProject && includejs template starter'\n\t\t\t\t\t\t\t\tdiv {\n\t\t\t\t\t\t\t\t\t'And now, under \"testProject\/.reference\/libjs\" you find a symbolic link to libjs project \n\t\t\t\t\t\t\t\t\tand all requests to libjs libraries, such as '\n\t\t\t\t\t\t\t\t\ttt > 'include.js({ lib: \"mask\" })' 'will path through that symbolic link'\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tp {\n\t\t\t\t\t\t\t'After your application is ready for release, you can build it - all resources will be combined, and no more referencing will occure'\n\n\t\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t 'Any time you can import all referenced resources to projects directory. '\n\t\t\t\t\t\t\t i > 'You may need this, for example, for sending your dev-project to smbd. else.'\n\n\t\t\t\t\t\t\t p > code > ' > includejs project-import'\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tp.hint > 'This will import only resources you use in your project (scripts, images, views, etc.), and not the whole directories.'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tdiv.sample {\n\t\t\t\th4 > 'To try includejs\/includejsBuilder'\n\t\t\t\tdiv > code > 'npm install -g includejs'\n\t\t\t\tdiv > code > 'cd some\/folder\/'\n\t\t\t\tdiv > code > 'includejs template sample'\n\t\t\t\tdiv > code > 'includejs server index.dev.html'\n\n\t\t\t\tp > 'It will run browser and loads index.dev.html'\n\t\t\t}\n\t\t}\n\t}\n\n}\n","old_contents":"layout:view master='view' {\n\n\ttitle {\n\t\ta.github-ribbon href='https:\/\/github.com\/tenbits\/IncludeJS';\n\t}\n\n\ttabs {\n\t\tradioButtons{\n\t\t\tbutton.active name='info' > 'Info'\n\t\t\tbutton name='commands' > 'Commands'\n\t\t\tbutton name='resources' > 'Resources'\n\t\t\tbutton name='sample' > 'Sample'\n\t\t}\n\t}\n\n\tcontent {\n\t\tp.container.tabPanel {\n\t\t\tdiv.info.active {\n\t\t\t\tdiv {\n\t\t\t\t prism > ' > npm install -g includejs'\n\t\t\t\t\tul {\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'Builder - Combine Resources included with IncludeJS'\n\t\t\t\t\t\t\tdiv.hint > 'Javascript, Style, HTML, Image'\n\t\t\t\t\t\t\tdiv.hint > 'Images that are in styles, that are not in working directory (are referenced), will be copied into working directory'\n\t\t\t\t\t\t\tdiv > ul {\n\t\t\t\t\t\t\t\tli > 'include.js'\n\t\t\t\t\t\t\t\tli > 'include.css'\n\t\t\t\t\t\t\t\tli > 'include.load'\n\t\t\t\t\t\t\t\tli > 'include.lazy'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tli { 'Minify'\n\t\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t a href='https:\/\/npmjs.org\/package\/uglify-js' target='_blank' > 'UglifyJS'\n\t\t\t\t\t\t\t ' and '\n\t\t\t\t\t\t\t a href='https:\/\/npmjs.org\/package\/clean-css' target='_blank' > 'clean-css'\n\t\t\t\t\t\t\t ' are used'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tdiv.hint > 'For UglifyJS you can specify compressor settings (So you can set defines to cut off DEBUG\/TEST code from Release)\n\t\t\t\t\t\t\t\tSee UglifyJS documentation.'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tli { 'JSHINT' div.hint { 'See ' a href='http:\/\/jshint.com\/docs\/' target='_blank' > 'JSHINT'} }\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'Integrated Web Server'\n\n\t\t\t\t\t\t\tdiv.hint > b > 'with auto-refresh feature'\n\t\t\t\t\t\t\tdiv.hint > 'HOT Reload of *.css, *.js and *.mask files, for other stuff page reload triggers'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'Shell Commands'\n\t\t\t\t\t\t\tdiv.hint > 'As Builder is action-based, shell commands could be used as pre-build or post-build.'\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'Custom Scripts as Actions'\n\t\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t\tprism > 'include.exports = { process: function(config, idfr) { \/* ... *\/ idfr.resolve(); } }'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tdiv.hint > 'Could be used as shell scripts. Note that you can use includejs api classes'\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'CoffeeScript and Less support'\n\t\t\t\t\t\t\tdiv.hint > '*.less will be compiled and joined with regular css files, as also CoffeeScript will be joined into one main js file'\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'Remove include statements in release, as the resource are already there. (But it will stay untouched if you access the resource with response object)'\n\t\t\t\t\t\t\tcode > \"\n\t\t\t\t\t\t\t\tinclude.js('jquery.js').done(function() { $('body').htm('Hello'); })\n\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t' is parsed to '\n\t\t\t\t\t\t\tcode > \"\n\t\t\t\t\t\t\t\t\t(function(){ $('body').html('Hello'); }());\n\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'Handle Resource Referencing and Importing'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tdiv.commands {\n\t\t\t\tul {\n\t\t\t\t\tli {\n\t\t\t\t\t\tcode > ' > includejs [action] [arg] [...] -KEY VALUE [...]'\n\t\t\t\t\t\tdiv {\n\t\t\t\t\t\t\tdiv > 'All this arguments will be parsed to a config object'\n\t\t\t\t\t\t\tdiv.hint > '@see supported actions'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tcode > ' > includejs [*.html] -minify -KEY VALUE'\n\n\t\t\t\t\t\tdiv > '\n\t\t\t\t\t\tIf first argument is html file, then this path will be set in config for \"file\" property, and \"build\" for action.\n\t\t\t\t\t\t You can also sepcify some additional config values for this build - @see \"build\" action.\n\t\t\t\t\t\t'\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tcode > ' > includejs [*.config | *.js]'\n\t\t\t\t\t\tp {\n\t\t\t\t\t\t\t'Load config and process'\n\t\t\t\t\t\t\tdiv > '*.config \u2014 JSON'\n\t\t\t\t\t\t\tdiv {\n\t\t\t\t\t\t\t \t'*.js \u2014 This javascript must set \"config\" to globals: ' tt > 'global.config = {OBJECT}'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\th3 > 'Config'\n\t\t\t\tdiv.hint {\n\t\t\t\t\t'Config contains one or more actions. (One action is an Object, more actions is Array of Objects) '\n\t\t\t\t}\n\t\t\t\tdiv {\n\t\t\t\t\t'Available actions and their settings:'\n\t\t\t\t}\n\t\t\t\tul{\n\n\t\t\t\t\tli {\n\t\t\t\t\t\tul {\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'build' '\"' }\n\t\t\t\t\t\t\tli > '\"file\" \u2014 {String} - HTML input file'\n\t\t\t\t\t\t\tli > '\"vars\" \u2014 {Object} \u2014 Variables used when parsing includes'\n\n\n\t\t\t\t\t\t\tli > '\"minify\" \u2014 {Boolean} \u2014 run MinifyJS and clean-css'\n\t\t\t\t\t\t\tli > '\"uglify\" - {Object:optional} - UglifyJS compressor settings. @default {global_defs: {DEBUG: false}}'\n\t\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t\t'\"jshint\" : {'\n\t\t\t\t\t\t\t\tul {\n\t\t\t\t\t\t\t\t\tli > '\"options\" - {Object} - JSHINT options'\n\t\t\t\t\t\t\t\t\tli > '\"globals\" - {Object} - global variables. @default {\"window\": false, \"document\": false}'\n\t\t\t\t\t\t\t\t\tli > '\"ignore\" - {Object} - file names to ignore'\n\t\t\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tli > '\"outputMain\" \u2014 output name of a built html \u2014 @default \"{name}.build.html\"'\n\t\t\t\t\t\t\tli > '\"outputSources\" \u2014 directory of combined\/copied resources \u2014 @default \"{name}.build\/\"'\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tp {\n\t\t\t\t\t\t\t'Build includejs project.'\n\t\t\t\t\t\t\tdiv.hint > 'It will parse specified file and its resources, and will recursive collect all includes'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'project-import' '\"' }\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp {\n\t\t\t\t\t\t 'Copy resources, that are used by current project, from referenced directories in '\n\t\t\t\t\t\t\ttt > '.reference\/*' ' to ' tt >'.import' ' directory'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'project-reference' '\"' }\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp {\n\t\t\t\t\t\t 'Create outer referencing in ' tt > '.reference\/*' 'acording to routing defined in '\n\t\t\t\t\t\t tt > '%npm-global-directory%\/includejs\/globals.txt'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'shell' '\"' }\n\t\t\t\t\t\t\tli > '\"command\": \/** Array or String :: string commands*\/ ['\n\t\t\t\t\t\t\tli > '\"cmd \/C copy \/B index.html c:\/app\",'\n\t\t\t\t\t\t\tli > '\"cmd \/C copy \/B index.build\/ c:\/app\/index.build\" ]'\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp > 'Execuate shell commands'\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul {\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'custom' '\"' }\n\t\t\t\t\t\t\tli > '\"script\": \"scriptPath.js\"'\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp > 'Execuate custom scripts'\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\tdiv > 'Script shoud export object with .process(config, idfr) function.'\n\t\t\t\t\t\t\tdiv > 'After script is ready call idfr.resolve() for processing next actions'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t'If you want to call just that action only, you can do it from command line:'\n\t\t\t\t\t\t\tdiv > code > ' > includejs custom scriptPath.js'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'server' '\"' }\n\t\t\t\t\t\t\tli > '\"port\": NUMBER \/* optional @default 5777 *\/'\n\t\t\t\t\t\t\tli > '\"open\": Filename to open in browser \/* optional *\/'\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp { 'Create server in ' tt > '%current-directory%' }\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t'To not create config file only for this action, you can use raw cli command with action argument:'\n\t\t\t\t\t\t\tdiv > code > ' > includejs server'\n\t\t\t\t\t\t\t'To open browser and additionally to define port:'\n\t\t\t\t\t\t\tdiv > code > ' > includejs server index.dev.html -port 7777'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'reference' '\"' }\n\t\t\t\t\t\t\tli > '\"path\": directory path || name of a project from globals.txt'\n\t\t\t\t\t\t\tli > '\"name\": reference name \/* optional @default directory name*\/'\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp > 'Creates symbolic link to specified path in %current_directory%\/.reference\/%name%'\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\tdiv > 'Command Line calls: '\n\t\t\t\t\t\t\tdiv > code > ' > includejs reference c:\/development\/mylib'\n\t\t\t\t\t\t\tdiv > 'You can add this path to globals.txt, so afterwards you can call this as such:'\n\t\t\t\t\t\t\tdiv > code > ' > includejs reference mylib'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'template' '\"' }\n\t\t\t\t\t\t\tli > '\"name\": name'\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tp > 'Create Template Project in %current_dir%'\n\t\t\t\t\t\tp {\n\t\t\t\t\t\t\t'Available:'\n\t\t\t\t\t\t\tul {\n\t\t\t\t\t\t\t\tli > '\"starter\" - MaskJS\/IncludeJS\/ClassJS\/CompoJS + appropriate routing as defined in globals.txt'\n\t\t\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t\t\t'\"compo\" - create component template, requires component name.'\n\t\t\t\t\t\t\t\t\tdiv.hint > code > ' > includejs template compo ComponentName'\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tli > '\"todomvc\" - @sample todomvc application to fiddle around with maskjs,includejs etc.)'\n\t\t\t\t\t\t\t\tli > '\"sample\" - simple component autoreload example'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t'Raw cli command:'\n\t\t\t\t\t\t\tdiv > code > ' > includejs template %name%'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t'You can create any other templates with just coping needed files to '\n\t\t\t\t\t\t\ttt > '%npm-global-directory%\/node_modules\/includejs\/template\/%YourTemplateName%'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t'It is also possible to define any setup logic to your templates using handlers, look at '\n\t\t\t\t\t\t\ta target='_blank' href='https:\/\/github.com\/tenbits\/IncludeJS.Builder\/blob\/master\/template\/compo\/.handler\/handler.js' > 'compo template' '. Here handler takes care about setting component name.'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'git-clone' '\"' }\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp > 'Clones LibJS Libraries into current directory'\n\t\t\t\t\t\tdiv {\n\t\t\t\t\t\t\t'It will also save this path intern, for future routing - so calling this action,\n\t\t\t\t\t\t\t\tincludejs should have\n\t\t\t\t\t\t\t\twrite permissions to ' tt > '%npm-global-directory%\/includejs' ' directory'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t'Command Line: '\n\t\t\t\t\t\t\tcode > ' > includejs git-clone'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'globals' '\"' }\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcode > ' > includejs globals'\n\n\t\t\t\t\t\tp > 'Open globals.txt of includejs for editing of your routes, etc. Example of globals.txt:'\n\n\t\t\t\t\t\tprism src='\/api.help\/globals.js';\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tdiv.resources {\n\t\t\t\th6 > 'Small note about external resources'\n\t\t\t\tp > 'Every application has some outer dependencies. Lets say you created empty project and want to use some classes, styles and images\n\t\t\t\tfrom you own library \"MyCoolStuff\". There are several ways you can do it.'\n\t\t\t\tul {\n\t\t\t\t\tli {\n\t\t\t\t\t\ti > 'Bad \u2014 ''Copy them into working project. '\n\t\t\t\t\t\tdiv;\n\t\t\t\t\t\tu > 'Contra'' \u2014 '\n\t\t\t\t\t\tul {\n\t\t\t\t\t\t\tli > 'you dont know always from start on what classes or styles you need'\n\t\t\t\t\t\t\tli > 'you have to work a lot with copy\/paste - and this was always a mess.'\n\t\t\t\t\t\t\tli > 'they become part of the project. This is good for Release, but not for Development'\n\t\t\t\t\t\t\tli > 'harms code organization energy'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tli {\n\t\t\t\t\t\ti > 'Best \u2014 ''Use symbolic links'\n\t\t\t\t\t\tdiv > 'Example:'\n\t\t\t\t\t\tul {\n\t\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t\t'Install IncludeJS.Builder and LibJS libraries: ' a href='#\/about\/install' > '@how-to'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t\t'Create template project'\n\t\t\t\t\t\t\t\tdiv > code > '> mkdir testProject && cd testProject && includejs template starter'\n\t\t\t\t\t\t\t\tdiv {\n\t\t\t\t\t\t\t\t\t'And now, under \"testProject\/.reference\/libjs\" you find a symbolic link to libjs project\n\t\t\t\t\t\t\t\t\tand all requests to libjs libraries, such as '\n\t\t\t\t\t\t\t\t\ttt > 'include.js({ lib: \"mask\" })' 'will path through that symbolic link'\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tp {\n\t\t\t\t\t\t\t'After your application is ready for release, you can build it - all resources will be combined, and no more referencing will occure'\n\n\t\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t 'Any time you can import all referenced resources to projects directory. '\n\t\t\t\t\t\t\t i > 'You may need this, for example, for sending your dev-project to smbd. else.'\n\n\t\t\t\t\t\t\t p > code > ' > includejs project-import'\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tp.hint > 'This will import only resources you use in your project (scripts, images, views, etc.), and not the whole directories.'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tdiv.sample {\n\t\t\t\th4 > 'To try includejs\/includejsBuilder'\n\t\t\t\tdiv > code > 'npm install -g includejs'\n\t\t\t\tdiv > code > 'cd some\/folder\/'\n\t\t\t\tdiv > code > 'includejs template sample'\n\t\t\t\tdiv > code > 'includejs server index.dev.html'\n\n\t\t\t\tp > 'It will run browser and loads index.dev.html'\n\t\t\t}\n\t\t}\n\t}\n\n}\n","returncode":0,"stderr":"","license":"mit","lang":"Mask"} {"commit":"932910d988c32fc8143a47460786abe6bca36cd0","subject":"meta-iotqa: Disable wifi test for Minnowboard Turbot","message":"meta-iotqa: Disable wifi test for Minnowboard Turbot\n\nSigned-off-by: Simo Kuusela <4755938158c3c622d3884e9a75ed20dc865bc695@intel.com>\n","repos":"ipuustin\/intel-iot-refkit,ipuustin\/intel-iot-refkit,mythi\/intel-iot-refkit,klihub\/intel-iot-refkit,YinThong\/intel-iot-refkit,mythi\/intel-iot-refkit,jairglez\/intel-iot-refkit,jairglez\/intel-iot-refkit,intel\/intel-iot-refkit,klihub\/intel-iot-refkit,klihub\/intel-iot-refkit,mythi\/intel-iot-refkit,intel\/intel-iot-refkit,klihub\/intel-iot-refkit,jairglez\/intel-iot-refkit,YinThong\/intel-iot-refkit,ipuustin\/intel-iot-refkit,jairglez\/intel-iot-refkit,YinThong\/intel-iot-refkit,YinThong\/intel-iot-refkit,jairglez\/intel-iot-refkit,klihub\/intel-iot-refkit,intel\/intel-iot-refkit,mythi\/intel-iot-refkit,ipuustin\/intel-iot-refkit,YinThong\/intel-iot-refkit,YinThong\/intel-iot-refkit,mythi\/intel-iot-refkit,jairglez\/intel-iot-refkit,mythi\/intel-iot-refkit,intel\/intel-iot-refkit,intel\/intel-iot-refkit,intel\/intel-iot-refkit,klihub\/intel-iot-refkit,ipuustin\/intel-iot-refkit,YinThong\/intel-iot-refkit,jairglez\/intel-iot-refkit,ipuustin\/intel-iot-refkit,mythi\/intel-iot-refkit,ipuustin\/intel-iot-refkit,intel\/intel-iot-refkit,klihub\/intel-iot-refkit","old_file":"meta-iotqa\/conf\/test\/minnowboardturbot.mask","new_file":"meta-iotqa\/conf\/test\/minnowboardturbot.mask","new_contents":"# This file contains tests that can't be run on Minnowboard Turbot\n# \/docker\/tester-exec.sh will use this file to remove tests from a manifest\noeqa.runtime.sanity.comm_btcheck\noeqa.runtime.sanity.comm_wifi_connect\n","old_contents":"# This file contains tests that can't be run on Minnowboard Turbot\n# \/docker\/tester-exec.sh will use this file to remove tests from a manifest\noeqa.runtime.sanity.comm_btcheck\n","returncode":0,"stderr":"","license":"mit","lang":"Mask"} {"commit":"2317dbeec3e83112ff184d4a9dec672068b85c0f","subject":"Mask postfix >3","message":"Mask postfix >3\n","repos":"stepping-stone\/sst-gentoo-overlay,stepping-stone\/sst-gentoo-overlay","old_file":"profiles\/stepping-stone.ch\/package.mask","new_file":"profiles\/stepping-stone.ch\/package.mask","new_contents":"# Use kmod instead of module-init-tools since this is the Gentoo\/upstream default\nsys-apps\/module-init-tools\n\n# Block newer versions of zabbix since our server is still on 1.8\n>=net-analyzer\/zabbix-2\n\n# Mask nullmailer to force msmtp for virtual\/mta (next in list of deps after nullmailer)\n# while allowing others (like postfix for the new postfix-nullmailer setup) to be installed instead\nmail-mta\/nullmailer\n\n# Our postfix Puppet recipe isn't ready for postfix 3 yet.\n>=mail-mta\/postfix-3\n\n# We're using the longterm 4.4.X kernel\n>=sys-kernel\/gentoo-sources-4.5\n>=sys-kernel\/hardened-sources-4.5\n= 9\n>=sys-devel\/gcc-9\n\n# We need to use gluster 3.8\n>=sys-cluster\/glusterfs-3.9\n\n# Mask Puppet version 6 until Puppet master has been upgraded\n>=app-admin\/puppet-6\n","old_contents":"# Use kmod instead of module-init-tools since this is the Gentoo\/upstream default\nsys-apps\/module-init-tools\n\n# Block newer versions of zabbix since our server is still on 1.8\n>=net-analyzer\/zabbix-2\n\n# Mask nullmailer to force msmtp for virtual\/mta (next in list of deps after nullmailer)\n# while allowing others (like postfix for the new postfix-nullmailer setup) to be installed instead\nmail-mta\/nullmailer\n\n# We're using the longterm 4.4.X kernel\n>=sys-kernel\/gentoo-sources-4.5\n>=sys-kernel\/hardened-sources-4.5\n= 9\n>=sys-devel\/gcc-9\n\n# We need to use gluster 3.8\n>=sys-cluster\/glusterfs-3.9\n\n# Mask Puppet version 6 until Puppet master has been upgraded\n>=app-admin\/puppet-6\n","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Mask"} {"commit":"6151d1dc9c4df5bc15eceb81762de093926176ee","subject":"Mask postfix v3 since we are not ready for it yet.","message":"Mask postfix v3 since we are not ready for it yet.\n","repos":"stepping-stone\/sst-gentoo-overlay,stepping-stone\/sst-gentoo-overlay","old_file":"profiles\/stepping-stone.ch\/kvm\/package.mask","new_file":"profiles\/stepping-stone.ch\/kvm\/package.mask","new_contents":"# Use kmod instead of module-init-tools since this is the Gentoo\/upstream default\nsys-apps\/module-init-tools\n\n# Block newer versions of zabbix since our server is still on 1.8\n>=net-analyzer\/zabbix-2\n\n# Mask nullmailer to force msmtp for virtual\/mta (next in list of deps after nullmailer)\n# while allowing others (like postfix for the new postfix-nullmailer setup) to be installed instead\nmail-mta\/nullmailer\n\n# Mask the new postfix stable release 3.0.0 since we are not ready with our configuration yet.\n>=mail-mta\/postfix-3.0.0\n\n# We're using the longterm 3.10.X kernel\n>=sys-kernel\/linux-headers-3.11\n>=sys-kernel\/gentoo-sources-3.11\n>=sys-kernel\/hardened-sources-3.11\n\n# avoid pulling in python-3.4 as long as profiles\/base\/make.defaults\n# still references python3_3 as the default python3 implementation\ndev-lang\/python:3.4\n","old_contents":"# Use kmod instead of module-init-tools since this is the Gentoo\/upstream default\nsys-apps\/module-init-tools\n\n# Block newer versions of zabbix since our server is still on 1.8\n>=net-analyzer\/zabbix-2\n\n# Mask nullmailer to force msmtp for virtual\/mta (next in list of deps after nullmailer)\n# while allowing others (like postfix for the new postfix-nullmailer setup) to be installed instead\nmail-mta\/nullmailer\n\n# We're using the longterm 3.10.X kernel\n>=sys-kernel\/linux-headers-3.11\n>=sys-kernel\/gentoo-sources-3.11\n>=sys-kernel\/hardened-sources-3.11\n\n# avoid pulling in python-3.4 as long as profiles\/base\/make.defaults\n# still references python3_3 as the default python3 implementation\ndev-lang\/python:3.4\n","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Mask"} {"commit":"c3f7248c21cd9e8855a190be50c318f28665997d","subject":"Mask sys-kernel\/linux-headers below 3.10","message":"Mask sys-kernel\/linux-headers below 3.10\n","repos":"stepping-stone\/sst-gentoo-overlay,stepping-stone\/sst-gentoo-overlay","old_file":"profiles\/stepping-stone.ch\/kvm\/package.mask","new_file":"profiles\/stepping-stone.ch\/kvm\/package.mask","new_contents":"# Use kmod instead of module-init-tools since this is the Gentoo\/upstream default\nsys-apps\/module-init-tools\n\n# Block newer versions of zabbix since our server is still on 1.8\n>=net-analyzer\/zabbix-2\n\n# Mask nullmailer to force msmtp for virtual\/mta (next in list of deps after nullmailer)\n# while allowing others (like postfix for the new postfix-nullmailer setup) to be installed instead\nmail-mta\/nullmailer\n\n# Mask the new postfix stable release 3.0.0 since we are not ready with our configuration yet.\n>=mail-mta\/postfix-3.0.0\n\n# We're using the longterm 3.10.X kernel\n>=sys-kernel\/linux-headers-3.11\n>=sys-kernel\/gentoo-sources-3.11\n>=sys-kernel\/hardened-sources-3.11\n=net-analyzer\/zabbix-2\n\n# Mask nullmailer to force msmtp for virtual\/mta (next in list of deps after nullmailer)\n# while allowing others (like postfix for the new postfix-nullmailer setup) to be installed instead\nmail-mta\/nullmailer\n\n# Mask the new postfix stable release 3.0.0 since we are not ready with our configuration yet.\n>=mail-mta\/postfix-3.0.0\n\n# We're using the longterm 3.10.X kernel\n>=sys-kernel\/linux-headers-3.11\n>=sys-kernel\/gentoo-sources-3.11\n>=sys-kernel\/hardened-sources-3.11\n","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Mask"} {"commit":"4b51e393f2c9e3b368e86b470f35311fa92bca2d","subject":"profile: mask GCC >= 12","message":"profile: mask GCC >= 12\n","repos":"stepping-stone\/sst-gentoo-overlay,stepping-stone\/sst-gentoo-overlay","old_file":"profiles\/stepping-stone.ch\/package.mask","new_file":"profiles\/stepping-stone.ch\/package.mask","new_contents":"# Use kmod instead of module-init-tools since this is the Gentoo\/upstream default\nsys-apps\/module-init-tools\n\n# Block newer versions of zabbix since our server is still on 1.8\n>=net-analyzer\/zabbix-2\n\n# Mask nullmailer to force msmtp for virtual\/mta (next in list of deps after nullmailer)\n# while allowing others (like postfix for the new postfix-nullmailer setup) to be installed instead\nmail-mta\/nullmailer\n\n# Mask postfix >= 3.6, since we're not sure whether our configuration works with 3.6 yet\n>=mail-mta\/postfix-3.6\n\n# We're using the longterm 4.4.X kernel\n>=sys-kernel\/gentoo-sources-4.5\n>=sys-kernel\/hardened-sources-4.5\n= 12\n>=sys-devel\/gcc-12\n\n# We need to use gluster 3.8\n>=sys-cluster\/glusterfs-3.9\n\n# Mask Puppet version 6 until Puppet master has been upgraded\n>=app-admin\/puppet-6\n","old_contents":"# Use kmod instead of module-init-tools since this is the Gentoo\/upstream default\nsys-apps\/module-init-tools\n\n# Block newer versions of zabbix since our server is still on 1.8\n>=net-analyzer\/zabbix-2\n\n# Mask nullmailer to force msmtp for virtual\/mta (next in list of deps after nullmailer)\n# while allowing others (like postfix for the new postfix-nullmailer setup) to be installed instead\nmail-mta\/nullmailer\n\n# Mask postfix >= 3.6, since we're not sure whether our configuration works with 3.6 yet\n>=mail-mta\/postfix-3.6\n\n# We're using the longterm 4.4.X kernel\n>=sys-kernel\/gentoo-sources-4.5\n>=sys-kernel\/hardened-sources-4.5\n= 10\n>=sys-devel\/gcc-10\n\n# We need to use gluster 3.8\n>=sys-cluster\/glusterfs-3.9\n\n# Mask Puppet version 6 until Puppet master has been upgraded\n>=app-admin\/puppet-6\n","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Mask"} {"commit":"97ced5399d87135023135e1e68fa649b9025f757","subject":"Mask GCC >= 9","message":"Mask GCC >= 9\n","repos":"stepping-stone\/sst-gentoo-overlay,stepping-stone\/sst-gentoo-overlay","old_file":"profiles\/stepping-stone.ch\/package.mask","new_file":"profiles\/stepping-stone.ch\/package.mask","new_contents":"# Use kmod instead of module-init-tools since this is the Gentoo\/upstream default\nsys-apps\/module-init-tools\n\n# Block newer versions of zabbix since our server is still on 1.8\n>=net-analyzer\/zabbix-2\n\n# Mask nullmailer to force msmtp for virtual\/mta (next in list of deps after nullmailer)\n# while allowing others (like postfix for the new postfix-nullmailer setup) to be installed instead\nmail-mta\/nullmailer\n\n# Mask the new postfix stable release 3.0.0 since we are not ready with our configuration yet.\n>=mail-mta\/postfix-3.0.0\n\n# We're using the longterm 4.4.X kernel\n>=sys-kernel\/gentoo-sources-4.5\n>=sys-kernel\/hardened-sources-4.5\n= 9\n>=sys-devel\/gcc-9\n\n# We need to use gluster 3.8\n>=sys-cluster\/glusterfs-3.9\n\n# Mask Puppet version 6 until Puppet master has been upgraded\n>=app-admin\/puppet-6\n","old_contents":"# Use kmod instead of module-init-tools since this is the Gentoo\/upstream default\nsys-apps\/module-init-tools\n\n# Block newer versions of zabbix since our server is still on 1.8\n>=net-analyzer\/zabbix-2\n\n# Mask nullmailer to force msmtp for virtual\/mta (next in list of deps after nullmailer)\n# while allowing others (like postfix for the new postfix-nullmailer setup) to be installed instead\nmail-mta\/nullmailer\n\n# Mask the new postfix stable release 3.0.0 since we are not ready with our configuration yet.\n>=mail-mta\/postfix-3.0.0\n\n# We're using the longterm 4.4.X kernel\n>=sys-kernel\/gentoo-sources-4.5\n>=sys-kernel\/hardened-sources-4.5\n= 8.3\n>=sys-devel\/gcc-8.3\n\n# We need to use gluster 3.8\n>=sys-cluster\/glusterfs-3.9\n\n# Mask Puppet version 6 until Puppet master has been upgraded\n>=app-admin\/puppet-6\n","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Mask"} {"commit":"23a549ba6d55c09e4c0b7d48f2fe7d7725df983b","subject":"Unmask GCC 7","message":"Unmask GCC 7\n","repos":"stepping-stone\/sst-gentoo-overlay,stepping-stone\/sst-gentoo-overlay","old_file":"profiles\/stepping-stone.ch\/package.mask","new_file":"profiles\/stepping-stone.ch\/package.mask","new_contents":"# Use kmod instead of module-init-tools since this is the Gentoo\/upstream default\nsys-apps\/module-init-tools\n\n# Block newer versions of zabbix since our server is still on 1.8\n>=net-analyzer\/zabbix-2\n\n# Mask nullmailer to force msmtp for virtual\/mta (next in list of deps after nullmailer)\n# while allowing others (like postfix for the new postfix-nullmailer setup) to be installed instead\nmail-mta\/nullmailer\n\n# Mask the new postfix stable release 3.0.0 since we are not ready with our configuration yet.\n>=mail-mta\/postfix-3.0.0\n\n# We're using the longterm 4.4.X kernel\n>=sys-kernel\/gentoo-sources-4.5\n>=sys-kernel\/hardened-sources-4.5\n=sys-devel\/gcc-8\n\n# We need to use gluster 3.8\n>=sys-cluster\/glusterfs-3.9\n","old_contents":"# Use kmod instead of module-init-tools since this is the Gentoo\/upstream default\nsys-apps\/module-init-tools\n\n# Block newer versions of zabbix since our server is still on 1.8\n>=net-analyzer\/zabbix-2\n\n# Mask nullmailer to force msmtp for virtual\/mta (next in list of deps after nullmailer)\n# while allowing others (like postfix for the new postfix-nullmailer setup) to be installed instead\nmail-mta\/nullmailer\n\n# Mask the new postfix stable release 3.0.0 since we are not ready with our configuration yet.\n>=mail-mta\/postfix-3.0.0\n\n# We're using the longterm 4.4.X kernel\n>=sys-kernel\/gentoo-sources-4.5\n>=sys-kernel\/hardened-sources-4.5\n=sys-devel\/gcc-7\n\n# We need to use gluster 3.8\n>=sys-cluster\/glusterfs-3.9\n","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Mask"} {"commit":"ce7abf8f2f09debb68ebe28039d0fb45e7044385","subject":"[+] include\/includeBuilder sample","message":"[+] include\/includeBuilder sample\n","repos":"tenbits\/LibJS,tenbits\/LibJS","old_file":"pages\/libs\/includeBuilder\/includeBuilder.mask","new_file":"pages\/libs\/includeBuilder\/includeBuilder.mask","new_contents":"layout:view master='view' {\n\n\ttitle {\n\t\ta.github-ribbon href='https:\/\/github.com\/tenbits\/IncludeJS';\n\t}\n\n\ttabs {\n\t\tradioButtons{\n\t\t\tbutton.active name='info' > 'Info'\n\t\t\tbutton name='commands' > 'Commands'\n\t\t\tbutton name='resources' > 'Resources'\n\t\t\tbutton name='sample' > 'Sample'\n\t\t}\n\t}\n\n\tcontent {\n\t\tp.container.tabPanel {\n\t\t\tdiv.info.active {\n\t\t\t\tdiv {\n\t\t\t\t prism > ' > npm install -g includejs'\n\t\t\t\t\tul {\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'Builder - Combine Resources included with IncludeJS'\n\t\t\t\t\t\t\tdiv.hint > 'Javascript, Style, HTML, Image'\n\t\t\t\t\t\t\tdiv.hint > 'Images that are in styles, that are not in working directory (are referenced), will be copied into working directory'\n\t\t\t\t\t\t\tdiv > ul {\n\t\t\t\t\t\t\t\tli > 'include.js'\n\t\t\t\t\t\t\t\tli > 'include.css'\n\t\t\t\t\t\t\t\tli > 'include.load'\n\t\t\t\t\t\t\t\tli > 'include.lazy'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tli { 'Minify'\n\t\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t a href='https:\/\/npmjs.org\/package\/uglify-js' target='_blank' > 'UglifyJS'\n\t\t\t\t\t\t\t ' and '\n\t\t\t\t\t\t\t a href='https:\/\/npmjs.org\/package\/clean-css' target='_blank' > 'clean-css'\n\t\t\t\t\t\t\t ' are used'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tdiv.hint > 'For UglifyJS you can specify compressor settings (So you can set defines to cut off DEBUG\/TEST code from Release)\n\t\t\t\t\t\t\t\tSee UglifyJS documentation.'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tli { 'JSHINT' div.hint { 'See ' a href='http:\/\/jshint.com\/docs\/' target='_blank' > 'JSHINT'} }\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'Integrated Web Server'\n\n\t\t\t\t\t\t\tdiv.hint > b > 'with auto-refresh feature'\n\t\t\t\t\t\t\tdiv.hint > 'HOT Reload of *.css, *.js and *.mask files, for other stuff page reload triggers'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'Shell Commands'\n\t\t\t\t\t\t\tdiv.hint > 'As Builder is action-based, shell commands could be used as pre-build or post-build.'\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'Custom Scripts as Actions'\n\t\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t\tprism > 'include.exports = { process: function(config, idfr) { \/* ... *\/ idfr.resolve(); } }'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tdiv.hint > 'Could be used as shell scripts. Note that you can use includejs api classes'\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'CoffeeScript and Less support'\n\t\t\t\t\t\t\tdiv.hint > '*.less will be compiled and joined with regular css files, as also CoffeeScript will be joined into one main js file'\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'Handle Resource Referencing and Importing'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tdiv.commands {\n\t\t\t\tul {\n\t\t\t\t\tli {\n\t\t\t\t\t\tcode > ' > includejs [action] [arg] [...] -KEY VALUE [...]'\n\t\t\t\t\t\tdiv {\n\t\t\t\t\t\t\tdiv > 'All this arguments will be parsed to a config object'\n\t\t\t\t\t\t\tdiv.hint > '@see supported actions'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tcode > ' > includejs [*.html] -minify -KEY VALUE'\n\n\t\t\t\t\t\tdiv > '\n\t\t\t\t\t\tIf first argument is html file, then this path will be set in config for \"file\" property, and \"build\" for action.\n\t\t\t\t\t\t You can also sepcify some additional config values for this build - @see \"build\" action.\n\t\t\t\t\t\t'\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tcode > ' > includejs [*.config | *.js]'\n\t\t\t\t\t\tp {\n\t\t\t\t\t\t\t'Load config and process'\n\t\t\t\t\t\t\tdiv > '*.config \u2014 JSON'\n\t\t\t\t\t\t\tdiv {\n\t\t\t\t\t\t\t \t'*.js \u2014 This javascript must set \"config\" to globals: ' tt > 'global.config = {OBJECT}'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\th3 > 'Config'\n\t\t\t\tdiv.hint {\n\t\t\t\t\t'Config contains one or more actions. (One action is an Object, more actions is Array of Objects) '\n\t\t\t\t}\n\t\t\t\tdiv {\n\t\t\t\t\t'Available actions and their settings:'\n\t\t\t\t}\n\t\t\t\tul{\n\n\t\t\t\t\tli {\n\t\t\t\t\t\tul {\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'build' '\"' }\n\t\t\t\t\t\t\tli > '\"file\" \u2014 {String} - HTML input file'\n\t\t\t\t\t\t\tli > '\"vars\" \u2014 {Object} \u2014 Variables used when parsing includes'\n\n\n\t\t\t\t\t\t\tli > '\"minify\" \u2014 {Boolean} \u2014 run MinifyJS and clean-css'\n\t\t\t\t\t\t\tli > '\"uglify\" - {Object:optional} - UglifyJS compressor settings. @default {global_defs: {DEBUG: false}}'\n\t\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t\t'\"jshint\" : {'\n\t\t\t\t\t\t\t\tul {\n\t\t\t\t\t\t\t\t\tli > '\"options\" - {Object} - JSHINT options'\n\t\t\t\t\t\t\t\t\tli > '\"globals\" - {Object} - global variables. @default {\"window\": false, \"document\": false}'\n\t\t\t\t\t\t\t\t\tli > '\"ignore\" - {Object} - file names to ignore'\n\t\t\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tli > '\"outputMain\" \u2014 output name of a built html \u2014 @default \"{name}.build.html\"'\n\t\t\t\t\t\t\tli > '\"outputSources\" \u2014 directory of combined\/copied resources \u2014 @default \"{name}.build\/\"'\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tp {\n\t\t\t\t\t\t\t'Build includejs project.'\n\t\t\t\t\t\t\tdiv.hint > 'It will parse specified file and its resources, and will recursive collect all includes'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'project-import' '\"' }\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp {\n\t\t\t\t\t\t 'Copy resources, that are used by current project, from referenced directories in '\n\t\t\t\t\t\t\ttt > '.reference\/*' ' to ' tt >'.import' ' directory'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'project-reference' '\"' }\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp {\n\t\t\t\t\t\t 'Create outer referencing in ' tt > '.reference\/*' 'acording to routing defined in '\n\t\t\t\t\t\t tt > '%npm-global-directory%\/includejs\/globals.txt'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'shell' '\"' }\n\t\t\t\t\t\t\tli > '\"command\": \/** Array or String :: string commands*\/ ['\n\t\t\t\t\t\t\tli > '\"cmd \/C copy \/B index.html c:\/app\",'\n\t\t\t\t\t\t\tli > '\"cmd \/C copy \/B index.build\/ c:\/app\/index.build\" ]'\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp > 'Execuate shell commands'\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul {\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'custom' '\"' }\n\t\t\t\t\t\t\tli > '\"script\": \"scriptPath.js\"'\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp > 'Execuate custom scripts'\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\tdiv > 'Script shoud export object with .process(config, idfr) function.'\n\t\t\t\t\t\t\tdiv > 'After script is ready call idfr.resolve() for processing next actions'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t'If you want to call just that action only, you can do it from command line:'\n\t\t\t\t\t\t\tdiv > code > ' > includejs custom scriptPath.js'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'server' '\"' }\n\t\t\t\t\t\t\tli > '\"port\": NUMBER \/* optional @default 5777 *\/'\n\t\t\t\t\t\t\tli > '\"open\": Filename to open in browser \/* optional *\/'\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp { 'Create server in ' tt > '%current-directory%' }\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t'To not create config file only for this action, you can use raw cli command with action argument:'\n\t\t\t\t\t\t\tdiv > code > ' > includejs server'\n\t\t\t\t\t\t\t'To open browser and additionally to define port:'\n\t\t\t\t\t\t\tdiv > code > ' > includejs server index.dev.html -port 7777'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'reference' '\"' }\n\t\t\t\t\t\t\tli > '\"path\": directory path || name of a project from globals.txt'\n\t\t\t\t\t\t\tli > '\"name\": reference name \/* optional @default directory name*\/'\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp > 'Creates symbolic link to specified path in %current_directory%\/.reference\/%name%'\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\tdiv > 'Command Line calls: '\n\t\t\t\t\t\t\tdiv > code > ' > includejs reference c:\/development\/mylib'\n\t\t\t\t\t\t\tdiv > 'You can add this path to globals.txt, so afterwards you can call this as such:'\n\t\t\t\t\t\t\tdiv > code > ' > includejs reference mylib'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'template' '\"' }\n\t\t\t\t\t\t\tli > '\"name\": name'\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tp > 'Create Template Project in %current_dir%'\n\t\t\t\t\t\tp > 'Available: \"starter\" , \"todomvc\" (@sample application to fiddle around with maskjs,includejs etc.)'\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t'You can create any other templates with just coping needed files to '\n\t\t\t\t\t\t\ttt > '%npm-global-directory%\/node_modules\/includejs\/template\/%YourTemplateName%'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t'Raw cli command:'\n\t\t\t\t\t\t\tdiv > code > ' > includejs template starter'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'git-clone' '\"' }\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp > 'Clones LibJS Libraries into current directory'\n\t\t\t\t\t\tdiv {\n\t\t\t\t\t\t\t'It will also save this path intern, for future routing - so calling this action,\n\t\t\t\t\t\t\t\tincludejs should have\n\t\t\t\t\t\t\t\twrite permissions to ' tt > '%npm-global-directory%\/includejs' ' directory'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t'Command Line: '\n\t\t\t\t\t\t\tcode > ' > includejs git-clone'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'globals' '\"' }\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcode > ' > includejs globals'\n\n\t\t\t\t\t\tp > 'Open globals.txt of includejs for editing of your routes, etc. Example of globals.txt:'\n\n\t\t\t\t\t\tprism src='\/api.help\/globals.js';\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tdiv.resources {\n\t\t\t\th6 > 'Small note about external resources'\n\t\t\t\tp > 'Every application has some outer dependencies. Lets say you created empty project and want to use some classes, styles and images\n\t\t\t\tfrom you own library \"MyCoolStuff\". There are several ways you can do it.'\n\t\t\t\tul {\n\t\t\t\t\tli {\n\t\t\t\t\t\ti > 'Bad \u2014 ''Copy them into working project. '\n\t\t\t\t\t\tdiv;\n\t\t\t\t\t\tu > 'Contra'' \u2014 '\n\t\t\t\t\t\tul {\n\t\t\t\t\t\t\tli > 'you dont know always from start on what classes or styles you need'\n\t\t\t\t\t\t\tli > 'you have to work a lot with copy\/paste - and this was always a mess.'\n\t\t\t\t\t\t\tli > 'they become part of the project. This is good for Release, but not for Development'\n\t\t\t\t\t\t\tli > 'harms code organization energy'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tli {\n\t\t\t\t\t\ti > 'Best \u2014 ''Use symbolic links'\n\t\t\t\t\t\tdiv > 'Example:'\n\t\t\t\t\t\tul {\n\t\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t\t'Install IncludeJS.Builder and LibJS libraries: ' a href='#\/about\/install' > '@how-to'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t\t'Create template project'\n\t\t\t\t\t\t\t\tdiv > code > '> mkdir testProject && cd testProject && includejs template starter'\n\t\t\t\t\t\t\t\tdiv {\n\t\t\t\t\t\t\t\t\t'And now, under \"testProject\/.reference\/libjs\" you find a symbolic link to libjs project\n\t\t\t\t\t\t\t\t\tand all requests to libjs libraries, such as '\n\t\t\t\t\t\t\t\t\ttt > 'include.js({ lib: \"mask\" })' 'will path through that symbolic link'\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tp {\n\t\t\t\t\t\t\t'After your application is ready for release, you can build it - all resources will be combined, and no more referencing will occure'\n\n\t\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t 'Any time you can import all referenced resources to projects directory. '\n\t\t\t\t\t\t\t i > 'You may need this, for example, for sending your dev-project to smbd. else.'\n\n\t\t\t\t\t\t\t p > code > ' > includejs project-import'\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tp.hint > 'This will import only resources you use in your project (scripts, images, views, etc.), and not the whole directories.'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tdiv.sample {\n\t\t\t\th4 > 'To try includejs\/includejsBuilder'\n\t\t\t\tdiv > code > 'npm install -g includejs'\n\t\t\t\tdiv > code > 'cd some\/folder\/'\n\t\t\t\tdiv > code > 'includejs template sample'\n\t\t\t\tdiv > code > 'includejs server index.dev.html'\n\n\t\t\t\tp > 'It will run browser and loads index.dev.html'\n\t\t\t}\n\t\t}\n\t}\n\n}\n","old_contents":"layout:view master='view' {\n\n\ttitle {\n\t\ta.github-ribbon href='https:\/\/github.com\/tenbits\/IncludeJS';\n\t}\n\n\ttabs {\n\t\tradioButtons{\n\t\t\tbutton.active name='info' > 'Info'\n\t\t\tbutton name='commands' > 'Commands'\n\t\t\tbutton name='resources' > 'Resources'\n\t\t}\n\t}\n\n\tcontent {\n\t\tp.container.tabPanel {\n\t\t\tdiv.info.active {\n\t\t\t\tdiv {\n\t\t\t\t prism > ' > npm install -g includejs'\n\t\t\t\t\tul {\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'Builder - Combine Resources included with IncludeJS'\n\t\t\t\t\t\t\tdiv.hint > 'Javascript, Style, HTML, Image'\n\t\t\t\t\t\t\tdiv.hint > 'Images that are in styles, that are not in working directory (are referenced), will be copied into working directory'\n\t\t\t\t\t\t\tdiv > ul {\n\t\t\t\t\t\t\t\tli > 'include.js'\n\t\t\t\t\t\t\t\tli > 'include.css'\n\t\t\t\t\t\t\t\tli > 'include.load'\n\t\t\t\t\t\t\t\tli > 'include.lazy'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tli { 'Minify'\n\t\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t a href='https:\/\/npmjs.org\/package\/uglify-js' target='_blank' > 'UglifyJS'\n\t\t\t\t\t\t\t ' and '\n\t\t\t\t\t\t\t a href='https:\/\/npmjs.org\/package\/clean-css' target='_blank' > 'clean-css'\n\t\t\t\t\t\t\t ' are used'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tdiv.hint > 'For UglifyJS you can specify compressor settings (So you can set defines to cut off DEBUG\/TEST code from Release)\n\t\t\t\t\t\t\t\tSee UglifyJS documentation.'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tli { 'JSHINT' div.hint { 'See ' a href='http:\/\/jshint.com\/docs\/' target='_blank' > 'JSHINT'} }\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'Integrated Web Server'\n\n\t\t\t\t\t\t\tdiv.hint > b > 'with auto-refresh feature'\n\t\t\t\t\t\t\tdiv.hint > 'HOT Reload of *.css, *.js and *.mask files, for other stuff page reload triggers'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'Shell Commands'\n\t\t\t\t\t\t\tdiv.hint > 'As Builder is action-based, shell commands could be used as pre-build or post-build.'\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'Custom Scripts as Actions'\n\t\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t\tprism > 'include.exports = { process: function(config, idfr) { \/* ... *\/ idfr.resolve(); } }'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tdiv.hint > 'Could be used as shell scripts. Note that you can use includejs api classes'\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'CoffeeScript and Less support'\n\t\t\t\t\t\t\tdiv.hint > '*.less will be compiled and joined with regular css files, as also CoffeeScript will be joined into one main js file'\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t'Handle Resource Referencing and Importing'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tdiv.commands {\n\t\t\t\tul {\n\t\t\t\t\tli {\n\t\t\t\t\t\tcode > ' > includejs [action] [arg] [...] -KEY VALUE [...]'\n\t\t\t\t\t\tdiv {\n\t\t\t\t\t\t\tdiv > 'All this arguments will be parsed to a config object'\n\t\t\t\t\t\t\tdiv.hint > '@see supported actions'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tcode > ' > includejs [*.html] -minify -KEY VALUE'\n\n\t\t\t\t\t\tdiv > '\n\t\t\t\t\t\tIf first argument is html file, then this path will be set in config for \"file\" property, and \"build\" for action.\n\t\t\t\t\t\t You can also sepcify some additional config values for this build - @see \"build\" action.\n\t\t\t\t\t\t'\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tcode > ' > includejs [*.config | *.js]'\n\t\t\t\t\t\tp {\n\t\t\t\t\t\t\t'Load config and process'\n\t\t\t\t\t\t\tdiv > '*.config \u2014 JSON'\n\t\t\t\t\t\t\tdiv {\n\t\t\t\t\t\t\t \t'*.js \u2014 This javascript must set \"config\" to globals: ' tt > 'global.config = {OBJECT}'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\th3 > 'Config'\n\t\t\t\tdiv.hint {\n\t\t\t\t\t'Config contains one or more actions. (One action is an Object, more actions is Array of Objects) '\n\t\t\t\t}\n\t\t\t\tdiv {\n\t\t\t\t\t'Available actions and their settings:'\n\t\t\t\t}\n\t\t\t\tul{\n\n\t\t\t\t\tli {\n\t\t\t\t\t\tul {\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'build' '\"' }\n\t\t\t\t\t\t\tli > '\"file\" \u2014 {String} - HTML input file'\n\t\t\t\t\t\t\tli > '\"vars\" \u2014 {Object} \u2014 Variables used when parsing includes'\n\n\n\t\t\t\t\t\t\tli > '\"minify\" \u2014 {Boolean} \u2014 run MinifyJS and clean-css'\n\t\t\t\t\t\t\tli > '\"uglify\" - {Object:optional} - UglifyJS compressor settings. @default {global_defs: {DEBUG: false}}'\n\t\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t\t'\"jshint\" : {'\n\t\t\t\t\t\t\t\tul {\n\t\t\t\t\t\t\t\t\tli > '\"options\" - {Object} - JSHINT options'\n\t\t\t\t\t\t\t\t\tli > '\"globals\" - {Object} - global variables. @default {\"window\": false, \"document\": false}'\n\t\t\t\t\t\t\t\t\tli > '\"ignore\" - {Object} - file names to ignore'\n\t\t\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tli > '\"outputMain\" \u2014 output name of a built html \u2014 @default \"{name}.build.html\"'\n\t\t\t\t\t\t\tli > '\"outputSources\" \u2014 directory of combined\/copied resources \u2014 @default \"{name}.build\/\"'\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tp {\n\t\t\t\t\t\t\t'Build includejs project.'\n\t\t\t\t\t\t\tdiv.hint > 'It will parse specified file and its resources, and will recursive collect all includes'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'project-import' '\"' }\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp {\n\t\t\t\t\t\t 'Copy resources, that are used by current project, from referenced directories in '\n\t\t\t\t\t\t\ttt > '.reference\/*' ' to ' tt >'.import' ' directory'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'project-reference' '\"' }\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp {\n\t\t\t\t\t\t 'Create outer referencing in ' tt > '.reference\/*' 'acording to routing defined in '\n\t\t\t\t\t\t tt > '%npm-global-directory%\/includejs\/globals.txt'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'shell' '\"' }\n\t\t\t\t\t\t\tli > '\"command\": \/** Array or String :: string commands*\/ ['\n\t\t\t\t\t\t\tli > '\"cmd \/C copy \/B index.html c:\/app\",'\n\t\t\t\t\t\t\tli > '\"cmd \/C copy \/B index.build\/ c:\/app\/index.build\" ]'\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp > 'Execuate shell commands'\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul {\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'custom' '\"' }\n\t\t\t\t\t\t\tli > '\"script\": \"scriptPath.js\"'\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp > 'Execuate custom scripts'\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\tdiv > 'Script shoud export object with .process(config, idfr) function.'\n\t\t\t\t\t\t\tdiv > 'After script is ready call idfr.resolve() for processing next actions'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t'If you want to call just that action only, you can do it from command line:'\n\t\t\t\t\t\t\tdiv > code > ' > includejs custom scriptPath.js'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'server' '\"' }\n\t\t\t\t\t\t\tli > '\"port\": NUMBER \/* optional @default 5777 *\/'\n\t\t\t\t\t\t\tli > '\"open\": Filename to open in browser \/* optional *\/'\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp { 'Create server in ' tt > '%current-directory%' }\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t'To not create config file only for this action, you can use raw cli command with action argument:'\n\t\t\t\t\t\t\tdiv > code > ' > includejs server'\n\t\t\t\t\t\t\t'To open browser and additionally to define port:'\n\t\t\t\t\t\t\tdiv > code > ' > includejs server index.dev.html -port 7777'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'reference' '\"' }\n\t\t\t\t\t\t\tli > '\"path\": directory path || name of a project from globals.txt'\n\t\t\t\t\t\t\tli > '\"name\": reference name \/* optional @default directory name*\/'\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp > 'Creates symbolic link to specified path in %current_directory%\/.reference\/%name%'\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\tdiv > 'Command Line calls: '\n\t\t\t\t\t\t\tdiv > code > ' > includejs reference c:\/development\/mylib'\n\t\t\t\t\t\t\tdiv > 'You can add this path to globals.txt, so afterwards you can call this as such:'\n\t\t\t\t\t\t\tdiv > code > ' > includejs reference mylib'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'template' '\"' }\n\t\t\t\t\t\t\tli > '\"name\": name'\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tp > 'Create Template Project in %current_dir%'\n\t\t\t\t\t\tp > 'Available: \"starter\" , \"todomvc\" (@sample application to fiddle around with maskjs,includejs etc.)'\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t'You can create any other templates with just coping needed files to '\n\t\t\t\t\t\t\ttt > '%npm-global-directory%\/node_modules\/includejs\/template\/%YourTemplateName%'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t'Raw cli command:'\n\t\t\t\t\t\t\tdiv > code > ' > includejs template starter'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'git-clone' '\"' }\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp > 'Clones LibJS Libraries into current directory'\n\t\t\t\t\t\tdiv {\n\t\t\t\t\t\t\t'It will also save this path intern, for future routing - so calling this action,\n\t\t\t\t\t\t\t\tincludejs should have\n\t\t\t\t\t\t\t\twrite permissions to ' tt > '%npm-global-directory%\/includejs' ' directory'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t'Command Line: '\n\t\t\t\t\t\t\tcode > ' > includejs git-clone'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tli {\n\t\t\t\t\t\tul{\n\t\t\t\t\t\t\tli > '{'\n\t\t\t\t\t\t\tli { '\"action\": \"' b > 'globals' '\"' }\n\t\t\t\t\t\t\tli > '}'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcode > ' > includejs globals'\n\n\t\t\t\t\t\tp > 'Open globals.txt of includejs for editing of your routes, etc. Example of globals.txt:'\n\n\t\t\t\t\t\tprism src='\/api.help\/globals.js';\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tdiv.resources {\n\t\t\t\th6 > 'Small note about external resources'\n\t\t\t\tp > 'Every application has some outer dependencies. Lets say you created empty project and want to use some classes, styles and images\n\t\t\t\tfrom you own library \"MyCoolStuff\". There are several ways you can do it.'\n\t\t\t\tul {\n\t\t\t\t\tli {\n\t\t\t\t\t\ti > 'Bad \u2014 ''Copy them into working project. '\n\t\t\t\t\t\tdiv;\n\t\t\t\t\t\tu > 'Contra'' \u2014 '\n\t\t\t\t\t\tul {\n\t\t\t\t\t\t\tli > 'you dont know always from start on what classes or styles you need'\n\t\t\t\t\t\t\tli > 'you have to work a lot with copy\/paste - and this was always a mess.'\n\t\t\t\t\t\t\tli > 'they become part of the project. This is good for Release, but not for Development'\n\t\t\t\t\t\t\tli > 'harms code organization energy'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tli {\n\t\t\t\t\t\ti > 'Best \u2014 ''Use symbolic links'\n\t\t\t\t\t\tdiv > 'Example:'\n\t\t\t\t\t\tul {\n\t\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t\t'Install IncludeJS.Builder and LibJS libraries: ' a href='#\/about\/install' > '@how-to'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tli {\n\t\t\t\t\t\t\t\t'Create template project'\n\t\t\t\t\t\t\t\tdiv > code > '> mkdir testProject && cd testProject && includejs template starter'\n\t\t\t\t\t\t\t\tdiv {\n\t\t\t\t\t\t\t\t\t'And now, under \"testProject\/.reference\/libjs\" you find a symbolic link to libjs project\n\t\t\t\t\t\t\t\t\tand all requests to libjs libraries, such as '\n\t\t\t\t\t\t\t\t\ttt > 'include.js({ lib: \"mask\" })' 'will path through that symbolic link'\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tp {\n\t\t\t\t\t\t\t'After your application is ready for release, you can build it - all resources will be combined, and no more referencing will occure'\n\n\t\t\t\t\t\t\tdiv.hint {\n\t\t\t\t\t\t\t 'Any time you can import all referenced resources to projects directory. '\n\t\t\t\t\t\t\t i > 'You may need this, for example, for sending your dev-project to smbd. else.'\n\n\t\t\t\t\t\t\t p > code > ' > includejs project-import'\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tp.hint > 'This will import only resources you use in your project (scripts, images, views, etc.), and not the whole directories.'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\t\t}\n\t}\n\n}\n","returncode":0,"stderr":"","license":"mit","lang":"Mask"} {"commit":"1f1e6f0decb7871af224bfd6cf53068f3ef2c9d9","subject":"updating example .mask file with less demanding lmdif, such that seed 13 does not crash","message":"updating example .mask file with less demanding lmdif, such that seed 13 does not crash\n","repos":"SixTrack\/SixDesk,SixTrack\/SixDesk,SixTrack\/SixDesk,SixTrack\/SixDesk","old_file":"sixjobs\/mask\/hl10BaseB1.mask","new_file":"sixjobs\/mask\/hl10BaseB1.mask","new_contents":"! S. Fartoukh March 2009\n! Ref sample job for tracking with multipole field imperfection in nominal \n! LHC magnets using V6.503 in collision\n! M. Giovannozzi November 2010\n\n!---------------------------------------------------------------;\n!\t\t\tFLAGS\n!---------------------------------------------------------------;\n\nmylhcbeam=1 ;! LHC beam 1 (clockwise)\n!mylhcbeam=2 ;! LHC beam 2 (clockwise)\n!mylhcbeam=4 ;! LHC beam 2 (counterclockwise)\n\nthis_is_a_mask=1;\ncorrect_for_MCBX=1;\nnominal_MCBXF_signs=0;\nON_MBH=0;\nthick_lenses=0;\ncreate_errorfiles_and_quit=0;\n\n!only one of these three:\nchooseMQXF=0;\nchooseMQXFAB=0;\nchooseMQXFbodyends=1;\n\n\n! strengths for MCBX at collision\nA_col_a3 = 20.1200;\nA_col_b3 = -16.6500;\nB_col_a3 = -10.3300;\nB_col_b3 = 17.3700;\n\nA_col_a5 = -3.0400;\nA_col_b5 = -0.3500;\nB_col_a5 = -3.6000;\nB_col_b5 = 2.4900;\n\nA_col_a7 = -3.9800;\nA_col_b7 = 0.9800;\nB_col_a7 = -3.2600;\nB_col_b7 = 0.6200;\n\nA_col_a9 = -0.6200;\nA_col_b9 = 0.0700;\nB_col_a9 = -0.5800;\nB_col_b9 = -0.7500;\n\nA_col_a11 = 0.0200;\nA_col_b11 = 4.3000;\nB_col_a11 = 0.1200;\nB_col_b11 = 3.6000;\n\n! 3th order strengths for MCBX at injection\nA_inj_a3 = A_col_a3;\nA_inj_b3 = A_col_b3;\nB_inj_a3 = B_col_a3;\nB_inj_b3 = B_col_b3;\nA_inj_a5 = A_col_a5;\nA_inj_b5 = A_col_b5;\nB_inj_a5 = B_col_a5;\nB_inj_b5 = B_col_b5;\nA_inj_a7 = A_col_a7;\nA_inj_b7 = A_col_b7;\nB_inj_a7 = B_col_a7;\nB_inj_b7 = B_col_b7;\nA_inj_a9 = A_col_a9;\nA_inj_b9 = A_col_b9;\nB_inj_a9 = B_col_a9;\nB_inj_b9 = B_col_b9;\nA_inj_a11 = A_col_a11;\nA_inj_b11 = A_col_b11;\nB_inj_a11 = B_col_a11;\nB_inj_b11 = B_col_b11;\n\n\n\n\n\n!---|----1----|----2----|----3----|----4----|----5----|----6----|----7----|---8;\nOption, warn,info;\nSystem,\"rm -rf temp\";\nSystem,\"mkdir temp\";\nSystem,\"ln -fns \/afs\/cern.ch\/eng\/lhc\/optics\/V6.503 db5\";\nSystem,\"ln -fns \/afs\/cern.ch\/eng\/lhc\/optics\/HLLHCV1.0 slhc\";\nsystem,\"ln -fns \/afs\/cern.ch\/eng\/lhc\/optics\/errors\/0705 wise\";\nsystem,\"ln -fns \/afs\/cern.ch\/eng\/lhc\/optics\/V6.503\/WISE\/After_sector_3-4_repair fidel\";\nsystem,\"ln -fns \/afs\/cern.ch\/user\/f\/fvanderv\/public\/MCBX fre\";\noption,-echo,-info;\n\n\n\n!---------------------------------------------------------------;\n! CALL IN SELECTION, MACRO's, SEQUENCE, BEAM, NRJ and OPTICS FILES;\n!---------------------------------------------------------------;\ncall,file=\"slhc\/toolkit\/macro.madx\"; !Call some macro facilities\n\nif (ON_MBH==1 || thick_lenses==1){\n\t\t!!********************************************************************\n\t!!Manual Thin Sequence building\n\t!!********************************************************************\n\tOption, -echo,-warn,-info;\n\tif (mylhcbeam==4){\n\t call,file=\"db5\/beam_four.seq\"; bvaux=1;\n\t} else {\n\t call,file=\"db5\/V6.5.seq\"; bvaux=-1;\n\t};\n\tOption, -echo,warn,-info;\n\t\n\t!!!Install MBH\n\tcall,file=\"slhc\/hllhc_sequence.madx\";\n\n\tif (ON_MBH==1){\n\t\t!!Install MBH\n\t\tmbh_rm_mcs=0; mbh_rm_mcdo=0; !=1 to remove spools\n\t\tmbh_ir2q8=0;mbh_ir2q10=1;\n\t\tmbh_ir7q8=1;mbh_ir7q10=1;\n\t\tmbh_ir1q8=0;mbh_ir1q9=1;mbh_ir1q10=0;\n\t\tmbh_ir5q8=0;mbh_ir5q9=1;mbh_ir5q10=0;\n\t\tcall,file=\"slhc\/toolkit\/install_mbh.madx\";\n\t};\n\n\tif (thick_lenses==0){\n\t\t! Slice nominal sequence\n\t\texec,myslice;\n\t};\n} else {\n\t!********************************************************************\n\t!Saved Thin Sequence\n\t!missing variables like lhclength and so on\n\t!********************************************************************\n\tOption, -echo,-warn,-info;\n\tif (mylhcbeam==4){\n\t call,file=\"slhc\/hllhc_thinb4.seq\"; bvaux=1;\n\t} else {\n\t call,file=\"slhc\/hllhc_thin.seq\"; bvaux=-1;\n\t};\n\tOption, -echo,warn,-info;\n};\n\n\ncall,file=\"slhc\/errors2\/install_mqxf_fringenl.madx\"; \t! adding fringe place holder\ncall,file=\"slhc\/errors2\/install_MCBXAB_errors.madx\"; ! adding multipole correctors in IR1\/5 (for errors)\n\n!Cycling w.r.t. to IP3 (mandatory to find closed orbit in collision in the presence of errors)\nif (mylhcbeam<3){\n\tseqedit,sequence=lhcb1;flatten;cycle,start=IP3;flatten;endedit;\n};\nseqedit,sequence=lhcb2;flatten;cycle,start=IP3;flatten;endedit;\n\n!********************************************\n!NRJ= 450.0 ; ! injection\nNRJ= 7000.0 ; ! collision\n\n\n! A Laundau octupole current 20A inj, -570A col\nif (NRJ<4999.9999){\n\tI_MO=-20;\n} else {\n\tI_MO=-570;\n};\n\n!General switch to select collision (0\/1)\nON_COLLISION:=0;\n!General switch to install bb lens (0\/1)\nON_BB_SWITCH:=0;\n\nb_t_dist :=25.;!bunch separation [ns]\n!b_t_dist :=50.;!bunch separation [ns]\nif (b_t_dist < 26 ) {emittance_norm := 2.5e-6;Nb_0:=2.2E11;};\nif (b_t_dist > 49 ) {emittance_norm := 3.0e-6;Nb_0:=3.5E11;};\n\nsigt_col=0.075; ! bunch length [m] in collision\n\ngamma_rel := NRJ\/pmass;\nepsx:=emittance_norm \/gamma_rel;\nepsy:=emittance_norm \/gamma_rel;\n\n!********************************************\n\ntsplit= 2.0; !new tune split\nqx00 = 62.0; !integer h tune\nqy00 = 60.0; !integer v tune\n\n\nif (NRJ<4999.9999){\n\t!Inj. optics in thin lens\n\tcall,file=\"slhc\/opt_inj_thin.madx\"; ! beta* [m]=6\/10\/6\/10 in IR1\/2\/5\/8\n\tqx0 = 62.28; qy0 = 60.31; qprime = 3.0;\n\tif (mylhcbeam<3){\n\t\tBeam,particle=proton,sequence=lhcb1,energy=NRJ,sigt=0.130,bv=1,NPART=Nb_0,sige=4.5e-4,ex=epsx,ey=epsy;\n\t};\n\tBeam,particle=proton,sequence=lhcb2,energy=NRJ,sigt=0.130,bv=bvaux,NPART=Nb_0,sige=4.5e-4,ex=epsx,ey=epsy;\n};\n\nif (NRJ>5000.0000){\n\t!Coll. optics in thin lens for IR1&5 (various possible beta*_x\/y in IR1\/5)\n\tcall,file=\"slhc\/opt_round_thin.madx\"; ! beta*=15cm in IR1\/5, beta*=10 m in IR2, 3m in IR8.\n\t! call,file=\"slhc\/opt_sround_thin.madx\"; ! beta*=10cm in IR1\/5, beta*=10 m in IR2, 3m in IR8.\n\t!call,file=\"slhc\/opt_flat_thin.madx\"; ! beta*=7.5\/30cm in IR1, beta*=30\/7.5cm in IR5, beta*=10 m in IR2, 3m in IR8.\n\t!call,file=\"slhc\/opt_sflat_thin.madx\"; ! beta*=5.0\/20cm in IR1, beta*=20\/5.0cm in IR5, beta*=10 m in IR2, 3m in IR8.\n\t!call,file=\"slhc\/opt_flathv_thin.madx\"; ! beta*=30\/7.5cm in IR1, beta*=7.5\/30cm in IR5, beta*=10 m in IR2, 3m in IR8.\n\t!call,file=\"slhc\/opt_sflathv_thin.madx\";! beta*=20\/5.0cm in IR1, beta*=5.0\/20cm in IR5, beta*=10 m in IR2, 3m in IR8.\n\t!call,file=\"slhc\/opt_180_180_180_180_thin.madx\";\n\t!call,file=\"slhc\/opt_220_220_220_220_thin.madx\";\n\t!call,file=\"slhc\/opt_260_260_260_260_thin.madx\";\n\t!call,file=\"slhc\/opt_300_300_300_300_thin.madx\";\n\t!call,file=\"slhc\/opt_340_340_340_340_thin.madx\";\n\t!call,file=\"slhc\/opt_380_380_380_380_thin.madx\";\n\t!call,file=\"slhc\/opt_420_420_420_420_thin.madx\";\n\t!call,file=\"slhc\/opt_presqueeze_thin.madx\";\n\t!call,file=\"slhc\/opt_presqueeze1000_thin.madx\";\n\tqx0 = 62.31; qy0 = 60.32; qprime = 3.0;\n\tON_QPP :=0; ! Correction of residual Q'' by MO's\n\tON_DISP :=1; ! Correction of spurious dispersion\n\tif (mylhcbeam<3){\n\t\tBeam,particle=proton,sequence=lhcb1,energy=NRJ,sigt=sigt_col,bv=1,NPART=Nb_0,sige=1.1e-4,ex=epsx,ey=epsy;\n\t};\n\tBeam,particle=proton,sequence=lhcb2,energy=NRJ,sigt=sigt_col,bv=bvaux,NPART=Nb_0,sige=1.1e-4,ex=epsx,ey=epsy;\n};\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++;\n! Rematch IP1 IP5 phase\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++;\n! nominal round: mux_ip15 = 31.21038468 ; muy_ip15 = 30.37288037 ;\n! nominal injection: mux_ip15 = 31.19538482 ; muy_ip15 = 30.36788031 ;\n\n!mux_ip15 = 31.21038468;\n!muy_ip15 = 31.19538482;\n\n!call,file=\"slhc\/toolkit\/make_ip15phase.madx\";\n!call,file=slhc\/toolkit\/make_ip15phase_tm.madx; ! use phase-trombone instead\n!call,file=slhc\/toolkit\/delete_ip15phase_tm.madx; ! remove phase trombone\n\n! test new optics\nif (mylhcbeam==1){\n\texec,check_ip(b1);\n} else {\n\texec,check_ip(b2);\n}\nmux_ip15_ref=table(twiss,IP1,mux)-table(twiss,IP5,mux);\nmuy_ip15_ref=table(twiss,IP1,muy)-table(twiss,IP5,muy);\nvalue,mux_ip15_ref,muy_ip15_ref;\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++;\n!Set crossing angle and separations knobs\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++;\nphi_IR1 = 90.000; phi_IR5 = 0.000; ! For round and flat optics\n!phi_IR1 = 0.000; phi_IR5 = 90.000; ! For flathv optics\nxing15=295e-6; sep15=2e-3;\nxing8=-250e-6; sep8=-2e-3; on_lhcb=+1;\nxing2= 170e-6; sep2=2e-3; on_alice=1;\n\non_x1=xing15\/(pxIP1b1+pyIP1b1);\non_sep1=sep15\/(xIP1b1+yIP1b1);\non_x5=xing15\/(pxIP5b1+pyIP5b1);\non_sep5=sep15\/(xIP5b1+yIP5b1);\non_x2=xing2\/(pyIP2b1-69.9994e-6); !removing alice=1 from pyIP2b1\non_sep2=sep2\/xIP2b1;\non_x8=xing8\/(pxIP8b1+134.9879e-6); !!removing on_lhcb from pxIP8b1\non_sep8=sep8\/yIP8b1;\n\nvalue,on_x1,on_sep1,on_x5,on_sep5,on_x2,on_sep2,on_x8,on_sep8;\n\non_disp=1;\n\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++;\n! TEST the optics\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++;\n!\/*\n\t! Saving crossing scheme knobs\n\ton_x1aux=on_x1;on_sep1aux=on_sep1;\n\ton_x2aux=on_x2;on_sep2aux=on_sep2;\n\ton_x5aux=on_x5;on_sep5aux=on_sep5;\n\ton_x8aux=on_x8;on_sep8aux=on_sep8; on_a8aux=on_a8;\n\ton_aliceaux=on_alice; on_lhcbaux=on_lhcb;\n\ton_dispaux=on_disp;\n\n\ton_x1=0;on_x5=0;on_sep1=0;on_sep5=0;\n\ton_x2=0;on_x8=0;on_sep2=0;on_sep8=0; on_a8=0;\n\ton_lhcb=0;on_alice=0;\n\ton_disp=0;\n\tsystem,\"rm -f twiss.b1\";system,\"rm -f twiss.b2\";\n\tif (mylhcbeam<3){\n\t\tUse, sequence=lhcb1;\n\t\tselect,flag=twiss,clear;\n\t\tselect, flag=twiss, pattern=\"IP1\", column=name,s,betx,bety,alfx,alfy,dx,dpx,mux,muy;\n\t\tselect, flag=twiss, pattern=\"IP2\", column=name,s,betx,bety,alfx,alfy,dx,dpx,mux,muy;\n\t\tselect, flag=twiss, pattern=\"IP5\", column=name,s,betx,bety,alfx,alfy,dx,dpx,mux,muy;\n\t\tselect, flag=twiss, pattern=\"IP8\", column=name,s,betx,bety,alfx,alfy,dx,dpx,mux,muy;\n\t\ttwiss,sequence=lhcb1,file=twiss.b1;system,\"cat twiss.b1\";\n\t};\n\n\tUse, sequence=lhcb2;\n\tselect,flag=twiss,clear;\n\tselect, flag=twiss, pattern=\"IP1\", column=name,s,betx,bety,alfx,alfy,dx,dpx,mux,muy;\n\tselect, flag=twiss, pattern=\"IP2\", column=name,s,betx,bety,alfx,alfy,dx,dpx,mux,muy;\n\tselect, flag=twiss, pattern=\"IP5\", column=name,s,betx,bety,alfx,alfy,dx,dpx,mux,muy;\n\tselect, flag=twiss, pattern=\"IP8\", column=name,s,betx,bety,alfx,alfy,dx,dpx,mux,muy;\n\ttwiss, sequence=lhcb2,file=twiss.b2;system,\"cat twiss.b2\";\n\n\tsystem,\"rm -f twiss.b1\";system,\"rm -f twiss.b2\";\n\t!Switch on Xscheme\n\ton_x1=on_x1aux;on_sep1=on_sep1aux;\n\ton_x2=on_x2aux;on_sep2=on_sep2aux;\n\ton_x5=on_x5aux;on_sep5=on_sep5aux;\n\ton_x8=on_x8aux;on_sep8=on_sep8aux; on_a8=an_a8aux;\n\ton_alice=on_aliceaux; on_lhcb=on_lhcbaux;\n\ton_disp=on_dispaux;\n\n\tif (mylhcbeam<3){\n\t\tUse, sequence=lhcb1;\n\t\tselect,flag=twiss,clear;\n\t\tselect, flag=twiss, pattern=\"IP1\", column=name,s,x,y,px,py;\n\t\tselect, flag=twiss, pattern=\"IP2\", column=name,s,x,y,px,py;\n\t\tselect, flag=twiss, pattern=\"IP5\", column=name,s,x,y,px,py;\n\t\tselect, flag=twiss, pattern=\"IP8\", column=name,s,x,y,px,py;\n\t\ttwiss, sequence=lhcb1, file=twiss.b1;system,\"cat twiss.b1\";\n\t};\n\n\tUse, sequence=lhcb2;\n\tselect,flag=twiss,clear;\n\tselect, flag=twiss, pattern=\"IP1\", column=name,s,x,y,px,py;\n\tselect, flag=twiss, pattern=\"IP2\", column=name,s,x,y,px,py;\n\tselect, flag=twiss, pattern=\"IP5\", column=name,s,x,y,px,py;\n\tselect, flag=twiss, pattern=\"IP8\", column=name,s,x,y,px,py;\n\ttwiss, sequence=lhcb2, file=twiss.b2;system,\"cat twiss.b2\";\n!*\/\nsystem,\"rm -f twiss.b1\";system,\"rm -f twiss.b2\";\n\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++;\n! Xscheme definition & Beam-beam encounters installation\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++;\ncall,file=\"slhc\/beambeam\/macro_bb.madx\"; ! macros for beam-beam\n\nb_t_dist =25; !bunch separation [ns]\n\nfraction_crab:=0; !Switch on\/off the crab of the strong beam (1 means 100%, -2 means -200%,..)\n\nn_insideD1 = 5; !default value for the number of additionnal parasitic encounters inside D1\n\nnho_IR1= 5; ! number of slices for head-on in IR1 (between 0 and 201) \nnho_IR2= 5; ! number of slices for head-on in IR2 (between 0 and 201)\nnho_IR5= 5; ! number of slices for head-on in IR5 (between 0 and 201)\nnho_IR8= 5; ! number of slices for head-on in IR8 (between 0 and 201)\n\nexec DEFINE_BB_PARAM; !Define main beam-beam parameters\n\nif (ON_COLLISION==1){\n\t!Switch on Xscheme in precollision\n\ton_x1aux=on_x1;on_sep1aux=1;\n\ton_x2aux=on_x2;on_sep2aux=1;\n\ton_x5aux=on_x5;on_sep5aux=1;\n\ton_x8aux=on_x8;on_sep8aux=1; on_a8aux=on_a8;\n\ton_aliceaux=on_alice; on_lhcbaux=on_lhcb;\n\ton_disp:=0;\n\thalo1=0;halo2=5;halo5=0;halo8=0; !halo collision at 5 sigma's in Alice\n\t!Redefine the on_sep's accordingly\n\texec CALCULATE_XSCHEME($halo1,$halo2,$halo5,$halo8);\n\ton_sep1aux=on_sep1;\n\ton_sep2aux=on_sep2;\n\ton_sep5aux=on_sep5;\n\ton_sep8aux=on_sep8;\n};\n\n! Saving crossing scheme knobs\non_x1aux=on_x1;on_sep1aux=on_sep1;\non_x2aux=on_x2;on_sep2aux=on_sep2;\non_x5aux=on_x5;on_sep5aux=on_sep5;\non_x8aux=on_x8;on_sep8aux=on_sep8; on_a8aux=on_a8;\non_aliceaux=on_alice; on_lhcbaux=on_lhcb;\n!on_dispaux=on_disp;\non_disp=0; !see old mask don't know why\n\n!Record the nominal IP position and crossing angle\nif(mylhcbeam==1) {use, sequence=lhcb1;};\nif(mylhcbeam>1) {use, sequence=lhcb2;};\ntwiss;\nxnom1=table(twiss,IP1,x);pxnom1=table(twiss,IP1,px);ynom1=table(twiss,IP1,y);pynom1=table(twiss,IP1,py);\nxnom2=table(twiss,IP2,x);pxnom2=table(twiss,IP2,px);ynom2=table(twiss,IP2,y);pynom2=table(twiss,IP2,py);\nxnom5=table(twiss,IP5,x);pxnom5=table(twiss,IP5,px);ynom5=table(twiss,IP5,y);pynom5=table(twiss,IP5,py);\nxnom8=table(twiss,IP8,x);pxnom8=table(twiss,IP8,px);ynom8=table(twiss,IP8,y);pynom8=table(twiss,IP8,py);\nvalue,xnom1,xnom2,xnom5,xnom8;\nvalue,ynom1,ynom2,ynom5,ynom8;\nvalue,pxnom1,pxnom2,pxnom5,pxnom8;\nvalue,pynom1,pynom2,pynom5,pynom8;\n\nif (ON_BB_SWITCH==1){\n\t!Install b-b marker\n\texec INSTALL_BB_MARK(b1);\n\texec INSTALL_BB_MARK(b2);\n\n\t!Define bb lenses for both beams in all IR's and calculate # of encounters before D1\n\texec CALCULATE_BB_LENS;\n\n\t!Install bb lenses\n\ton_ho1 =1; on_lr1l = 1; on_lr1r = 1; npara_1 = npara0_1 + n_insideD1;\n\ton_ho5 =1; on_lr5l = 1; on_lr5r = 1; npara_5 = npara0_5 + n_insideD1;\n\ton_ho2 =1; on_lr2l = 1; on_lr2r = 1; npara_2 = npara0_2 + n_insideD1;\n\ton_ho8 =1; on_lr8l = 1; on_lr8r = 1; npara_8 = npara0_8 + n_insideD1;\n\tif(mylhcbeam==1) {exec INSTALL_BB_LENS(b1);};\n\tif(mylhcbeam>1) {exec INSTALL_BB_LENS(b2);};\n\n\tON_BB_CHARGE := 0; !Switch off the charge the bb lenses\n\n\t\/*\n\t\t!Plot b-b separation\n\t\texec PLOT_BB_SEP(1,$npara_1);\n\t\texec PLOT_BB_SEP(2,$npara_2);\n\t\texec PLOT_BB_SEP(5,$npara_5);\n\t\texec PLOT_BB_SEP(8,$npara_8);\n\t*\/\n\n\t!\/*\n\t\t!if (mylhcbeam<3){\n\t\t!\tseqedit,sequence=lhcb1;flatten;cycle,start=IP1;endedit;\n\t\t!};\n\t\t!seqedit,sequence=lhcb2;flatten;cycle,start=IP1;endedit;\n\n\t\tif (mylhcbeam<3){\n\t\t\tuse,sequence=lhcb1;\n\t\t\tselect,flag=twiss,clear;\n\t\t\tselect,flag=twiss,class=marker,pattern=PAR.*L1,range=mbxa.4l1..4\/IP1.L1,column=s,name,betx,bety,alfx,alfy,mux,muy,x,y,px,py;\n\t\t\tselect,flag=twiss,class=marker,pattern=PAR.*L5,range=mbxa.4l5..4\/IP5,column=s,name,betx,bety,alfx,alfy,mux,muy,x,y,px,py;\n\t\t\tselect,flag=twiss,class=marker,pattern=PAR.*R1,range=IP1\/mbxa.4r1..1,column=s,name,betx,bety,alfx,alfy,mux,muy,x,y,px,py;\n\t\t\tselect,flag=twiss,class=marker,pattern=PAR.*R5,range=IP5\/mbxa.4r5..1,column=s,name,betx,bety,alfx,alfy,mux,muy,x,y,px,py;\n\t\t\tselect,flag=twiss,class=marker,pattern=IP1,column=s,name,betx,bety,alfx,alfy,mux,muy,x,y,px,py;\n\t\t\tselect,flag=twiss,class=marker,pattern=IP5,column=s,name,betx,bety,alfx,alfy,mux,muy,x,y,px,py;\n\t\t\ttwiss,file=twiss_bb.b1;system,\"cat twiss_bb.b1\";\n\t\t};\n\n\t\tuse,sequence=lhcb2;\n\t\tselect,flag=twiss,clear;\n\t\tselect,flag=twiss,class=marker,pattern=PAR.*L1,range=mbxa.4l1..4\/IP1.L1,column=s,name,betx,bety,alfx,alfy,mux,muy,x,y,px,py;\n\t\tselect,flag=twiss,class=marker,pattern=PAR.*L5,range=mbxa.4l5..4\/IP5,column=s,name,betx,bety,alfx,alfy,mux,muy,x,y,px,py;\n\t\tselect,flag=twiss,class=marker,pattern=PAR.*R1,range=IP1\/mbxa.4r1..1,column=s,name,betx,bety,alfx,alfy,mux,muy,x,y,px,py;\n\t\tselect,flag=twiss,class=marker,pattern=PAR.*R5,range=IP5\/mbxa.4r5..1,column=s,name,betx,bety,alfx,alfy,mux,muy,x,y,px,py;\n\t\tselect,flag=twiss,class=marker,pattern=IP1,column=s,name,betx,bety,alfx,alfy,mux,muy,x,y,px,py;\n\t\tselect,flag=twiss,class=marker,pattern=IP5,column=s,name,betx,bety,alfx,alfy,mux,muy,x,y,px,py;\n\t\ttwiss,file=twiss_bb.b2;system,\"cat twiss_bb.b2\";\n\n\t\tif(mylhcbeam==1) {use,sequence=lhcb1;};\n\t\tif(mylhcbeam>1) {use,sequence=lhcb2;};\n\n\t\tselect,flag=twiss,clear;\n\t\tselect,flag=twiss,pattern=HO,class=beambeam,column=s,name,betx,bety,alfx,alfy,mux,muy,x,y,px,py;\n\t\ttwiss,file=twiss_bb;system,\"cat twiss_bb\";\n\n\t\t!if (mylhcbeam<3){\n\t\t!\tseqedit,sequence=lhcb1;flatten;cycle,start=IP3;endedit;\n\t\t!};\n\t\t!seqedit,sequence=lhcb2;flatten;cycle,start=IP3;endedit;\n\t!*\/\n\n\t!Remove bb markers\n\texec REMOVE_BB_MARKER;\n\n\t\/*\n\t\t!Make and plot footprint (at 6 sigmas)\n\t\tON_BB_CHARGE := 1;\n\n\t\t!Switch on Xscheme\n\t\ton_x1=on_x1aux;on_sep1=on_sep1aux;\n\t\ton_x2=on_x2aux;on_sep2=on_sep2aux;\n\t\ton_x5=on_x5aux;on_sep5=on_sep5aux;\n\t\ton_x8=on_x8aux;on_sep8=on_sep8aux; on_a8=an_a8aux;\n\t\ton_alice=on_aliceaux; on_lhcb=on_lhcbaux;\n\t\ton_disp=on_dispaux;\n\n\t\tnsigmax=6;\n\n\t\tif(qx0-qx00<0.3){\n\t\t\tif(mylhcbeam==1) {exec MAKEFOOTPRINT(b1);exec PLOTFOOTPRINT(b1,0.2795,0.2805,0.3095,0.3105);};\n\t\t\tif(mylhcbeam>1) {exec MAKEFOOTPRINT(b2);exec PLOTFOOTPRINT(b2,0.2795,0.2805,0.3095,0.3105);};\n\t\t};\n\t\tif(qx0-qx00>0.3){\n\t\t\tif(mylhcbeam==1) {exec MAKEFOOTPRINT(b1);exec PLOTFOOTPRINT(b1,0.300,0.315,0.310,0.325);};\n\t\t\tif(mylhcbeam>1) {exec MAKEFOOTPRINT(b2);exec PLOTFOOTPRINT(b2,0.300,0.315,0.310,0.325);};\n\t\t};\n\t\tON_BB_CHARGE := 0;\n\t\ton_x1=0;on_sep1=0;\n\t\ton_x2=0;on_sep2=0;\n\t\ton_x5=0;on_sep5=0;\n\t\ton_x8=0;on_sep8=0; on_a8=0;\n\t\ton_alice=0; on_lhcb=0;\n\t\ton_disp=0;\n\t*\/\n\n\t!Remove bb lens for both beams\n\t!exec REMOVE_BB_LENS;\n};\n\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++;\n! Prepare nominal twiss tables\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++;\nif (mylhcbeam==1){\n\tuse,sequence=lhcb1;\n} else {\n\tuse,sequence=lhcb2;\n};\n\n\/*\n\ttwiss;\n\tx.ip1=table(twiss,IP1,x);px.ip1=table(twiss,IP1,px);\n\ty.ip1=table(twiss,IP1,y);px.ip1=table(twiss,IP1,py); \/\/irrelevant when recycling the sequences\n*\/\n\ntwiss, table=nominal; \/\/ used by orbit correction\nbeta.ip1=table(twiss,IP1,betx);value,beta.ip1;\n\n! print nominal optics parameter at the MB, MQS and MSS for\n! b2, b3, b4, b5, a2 and a3 correction\nselect, flag=twiss, clear;\nselect, flag=twiss,pattern=MB\\. ,class=multipole,column=name,k0L,k1L,betx,bety,dx,mux,muy;\nselect, flag=twiss,pattern=MBH\\. ,class=multipole,column=name,k0L,k1L,betx,bety,dx,mux,muy;\nselect, flag=twiss,pattern=MQT\\.14,class=multipole,column=name,k0L,k1L,betx,bety,dx,mux,muy;\nselect, flag=twiss,pattern=MQT\\.15,class=multipole,column=name,k0L,k1L,betx,bety,dx,mux,muy;\nselect, flag=twiss,pattern=MQT\\.16,class=multipole,column=name,k0L,k1L,betx,bety,dx,mux,muy;\nselect, flag=twiss,pattern=MQT\\.17,class=multipole,column=name,k0L,k1L,betx,bety,dx,mux,muy;\nselect, flag=twiss,pattern=MQT\\.18,class=multipole,column=name,k0L,k1L,betx,bety,dx,mux,muy;\nselect, flag=twiss,pattern=MQT\\.19,class=multipole,column=name,k0L,k1L,betx,bety,dx,mux,muy;\nselect, flag=twiss,pattern=MQT\\.20,class=multipole,column=name,k0L,k1L,betx,bety,dx,mux,muy;\nselect, flag=twiss,pattern=MQT\\.21,class=multipole,column=name,k0L,k1L,betx,bety,dx,mux,muy;\nselect, flag=twiss,class=MQS ,column=name,k0L,k1L,betx,bety,dx,mux,muy;\nselect, flag=twiss,class=MSS ,column=name,k0L,k1L,betx,bety,dx,mux,muy;\nselect, flag=twiss,class=MCO ,column=name,k0L,k1L,betx,bety,dx,mux,muy;\nselect, flag=twiss,class=MCD ,column=name,k0L,k1L,betx,bety,dx,mux,muy;\nselect, flag=twiss,class=MCS ,column=name,k0L,k1L,betx,bety,dx,mux,muy;\ntwiss, file='temp\/optics0_MB.mad';\n\n! print nominal optics parameter at the D1, MQX and triplet corrector\n! for triplet correction\nselect, flag=twiss, clear;\nselect, flag=twiss, pattern=MQX , class=multipole, column=name,betx,bety,x,y;\nselect, flag=twiss, pattern=MBX , class=multipole, column=name,betx,bety,x,y;\nselect, flag=twiss, pattern=MBRC , class=multipole, column=name,betx,bety,x,y;\nselect, flag=twiss, pattern=MBRD , class=multipole, column=name,betx,bety,x,y;\nselect, flag=twiss, pattern=MQSX , column=name,betx,bety,x,y;\nselect, flag=twiss, pattern=MCQSX , column=name,betx,bety,x,y;\nselect, flag=twiss, pattern=MCSX , column=name,betx,bety,x,y;\nselect, flag=twiss, pattern=MCTX , column=name,betx,bety,x,y;\nselect, flag=twiss, pattern=MCOSX , column=name,betx,bety,x,y;\nselect, flag=twiss, pattern=MCOX , column=name,betx,bety,x,y;\nselect, flag=twiss, pattern=MCSSX , column=name,betx,bety,x,y;\nselect, flag=twiss, pattern=MCDX , column=name,betx,bety,x,y;\nselect, flag=twiss, pattern=MCDSX , column=name,betx,bety,x,y;\nselect, flag=twiss, pattern=MCTSX , column=name,betx,bety,x,y;\nif (correct_for_MCBX==1){\n\tselect, flag=twiss, pattern=MCBXF, class=multipole, column=name,betx,bety,x,y;\n};\ntwiss, file='temp\/optics0_inser.mad';\n\n! disable crossing bumps\non_x1=0;on_sep1=0;\non_x2=0;on_sep2=0;\non_x5=0;on_sep5=0;\non_x8=0;on_sep8=0; on_a8=0;\non_alice=0;on_lhcb=0;\non_disp=0;\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n! Align separation magnets\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n\/*\n if(mylhcbeam==1){\n\t\tcall, file = \"db5\/measured_errors\/align_D1_slices.b1.madx\";\n\t\tcall, file = \"db5\/measured_errors\/align_D2_slices.b1.madx\";\n\t\tcall, file = \"db5\/measured_errors\/align_D3_slices.b1.madx\";\n\t\tcall, file = \"db5\/measured_errors\/align_D4_slices.b1.madx\";\n\t};\n\tif(mylhcbeam>1){\n\t\tcall, file = \"db5\/measured_errors\/align_D1_slices.b2.madx\";\n\t\tcall, file = \"db5\/measured_errors\/align_D2_slices.b2.madx\";\n\t\tcall, file = \"db5\/measured_errors\/align_D3_slices.b2.madx\";\n\t\tcall, file = \"db5\/measured_errors\/align_D4_slices.b2.madx\";\n\t};\n*\/\ncall,file=\"slhc\/toolkit\/align_sepdip.madx\";\n!exec,align_mbxw; ! V6.503 D1\n!exec,align_mbrc15;! V6.503 D2 in IR15\nexec,align_mbx15; ! HL-LHC D1\nexec,align_mbrd15;! HL-LHC D2 in IR15\n\nexec,align_mbx28; ! V6.503 D1 in IR28\nexec,align_mbrc28;! V6.503 D2 in IR28\nexec,align_mbrs; ! V6.503 D3 in IR4\nexec,align_mbrb; ! V6.503 D4 in IR4\n\nif (ON_MBH==1) {\n\tcall,file=\"slhc\/toolkit\/align_mbh.madx\"; ! align 11T dipoles\n};\n\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n! Call error subroutines (nominal machine and new IT\/D1)\n! and error tables\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n\n! Error routine and measured error table for nominal LHC\n\ncall,file=\"db5\/measured_errors\/Msubroutines_new.madx\";\ncall,file=\"db5\/measured_errors\/Msubroutines_MS_MSS_MO_new.madx\";\ncall,file=\"db5\/toolkit\/Orbit_Routines.madx\";\ncall,file=\"slhc\/errors2\/SelectLHCMonCor.madx\";\nreadtable, file=\"db5\/measured_errors\/rotations_Q2_integral.tab\";\n\n! Error routine and error table for new IT\/D1\/D2\/Q4\/Q5\n\ncall,file=\"slhc\/errors2\/macro_error.madx\";\t\t\t! macros for error generation in the new IT\/D1's\n\nif (chooseMQXF==1){\n\tcall,file=\"slhc\/errors2\/IT_errortable_v66_5\";\n} else {\n\tif (chooseMQXFAB==1) {\n\t\tcall,file=\"slhc\/errors2\/ITa_errortable_v65\";\n\t\tcall,file=\"slhc\/errors2\/ITb_errortable_v65\";\n\t} else {\n\t\tif (chooseMQXFbodyends==1) {\n\t\t\tcall,file=\"slhc\/errors2\/ITnc_errortable_v5\"; ! target error table for the new IT\n\t\t\tcall,file=\"slhc\/errors2\/ITcs_errortable_v5\"; ! target error table for the new IT\n\t\t\tcall,file=\"slhc\/errors2\/ITbody_errortable_v5\"; ! target error table for the new IT\n\t\t};\n\t};\n};\n\ncall,file=\"slhc\/errors2\/D1_errortable_v1_spec\";! target error table for the new D1\ncall,file=\"slhc\/errors2\/D2_errortable_v5_spec\";! target error table for the new D2\ncall,file=\"slhc\/errors2\/Q4_errortable_v2_spec\";! target error table for the new Q4 in IR1 and IR5\ncall,file=\"slhc\/errors2\/Q5_errortable_v0_spec\";! target error table for the new Q5 in IR1 and IR5 and IR6\n\n!value,Rr_MQXCD,Rr_MBXAB,Rr_MBRD,Rr_MQYY,Rr_MQYL;\n!a2R_MQXCD_inj:=20.00;a2R_MQXCD_col:=20.00;! up to 3 mrad roll of the new MQX's (1 mrad r.m.s)\n\n!b5M_MQXCD_col := 0.0000 ; b5U_MQXCD_col := 0.4200 ; b5R_MQXCD_col := 0.4200 ; !..Errors as in IT_errortable_v3\n!a5M_MQXCD_col := 0.0000 ; a5U_MQXCD_col := 0.4300 ; a5R_MQXCD_col := 0.4300 ; !..Errors as in IT_errortable_v3\n!a6M_MQXCD_col := 0.0000 ; a6U_MQXCD_col := 0.3100 ; a6R_MQXCD_col := 0.3100 ; !..Errors as in IT_errortable_v3\n\n!call,file=\"fre\/MCBX_errortable_v1\";\t\t\t! target error table for the new MCBX in IR1 and IR5\ncall,file=\"slhc\/errors2\/MCBXFAB_errortable_v1\";\t\t\t! target error table for the new MCBX in IR1 and IR5\nif (ON_MBH==1){\n\tcall,file=\"slhc\/errors2\/MBH_errortable_v1\";\n};\n\n\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n!\t\t\t\tCorrect signs of MCBXF reference field values\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n\nif (nominal_MCBXF_signs==1){\non_x1save=on_x1;on_sep1save=on_sep1;\non_x5save=on_x5;on_sep5save=on_sep5;\non_x1=on_x1aux;on_sep1=on_sep1aux;\non_x5=on_x5aux;on_sep5=on_sep5aux;\n\nsign_MCBXFAH.3L1 = ACBXH3.L1\/(abs(ACBXH3.L1));\nsign_MCBXFAH.3R1 = ACBXH3.R1\/(abs(ACBXH3.R1));\nsign_MCBXFAH.3L5 = ACBXH3.L5\/(abs(ACBXH3.L5));\nsign_MCBXFAH.3L5 = ACBXH3.L5\/(abs(ACBXH3.L5));\nsign_MCBXFAV.3L1 = ACBXV3.L1\/(abs(ACBXV3.L1));\nsign_MCBXFAV.3R1 = ACBXV3.R1\/(abs(ACBXV3.R1));\nsign_MCBXFAV.3L5 = ACBXV3.L5\/(abs(ACBXV3.L5));\nsign_MCBXFAV.3L5 = ACBXV3.L5\/(abs(ACBXV3.L5));\n\nsign_MCBXFBH.a2L1 = ACBXH1.L1\/(abs(ACBXH1.L1));\nsign_MCBXFBH.a2R1 = ACBXH1.R1\/(abs(ACBXH1.R1));\nsign_MCBXFBH.a2L5 = ACBXH1.L5\/(abs(ACBXH1.L5));\nsign_MCBXFBH.a2L5 = ACBXH1.L5\/(abs(ACBXH1.L5));\nsign_MCBXFBV.a2L1 = ACBXV1.L1\/(abs(ACBXV1.L1));\nsign_MCBXFBV.a2R1 = ACBXV1.R1\/(abs(ACBXV1.R1));\nsign_MCBXFBV.a2L5 = ACBXV1.L5\/(abs(ACBXV1.L5));\nsign_MCBXFBV.a2L5 = ACBXV1.L5\/(abs(ACBXV1.L5));\n\nsign_MCBXFBH.b2L1 = ACBXH1.L1\/(abs(ACBXH1.L1));\nsign_MCBXFBH.b2R1 = ACBXH1.R1\/(abs(ACBXH1.R1));\nsign_MCBXFBH.b2L5 = ACBXH1.L5\/(abs(ACBXH1.L5));\nsign_MCBXFBH.b2L5 = ACBXH1.L5\/(abs(ACBXH1.L5));\nsign_MCBXFBV.b2L1 = ACBXV1.L1\/(abs(ACBXV1.L1));\nsign_MCBXFBV.b2R1 = ACBXV1.R1\/(abs(ACBXV1.R1));\nsign_MCBXFBV.b2L5 = ACBXV1.L5\/(abs(ACBXV1.L5));\nsign_MCBXFBV.b2L5 = ACBXV1.L5\/(abs(ACBXV1.L5));\nvalue,on_x1,on_sep1,on_x5,on_sep5;\nvalue,sign_MCBXFAH.3L1,sign_MCBXFAH.3R1,sign_MCBXFAH.3L5,sign_MCBXFAH.3L5,sign_MCBXFAV.3L1,sign_MCBXFAV.3R1,sign_MCBXFAV.3L5,sign_MCBXFAV.3L5,sign_MCBXFBH.a2L1,sign_MCBXFBH.a2R1,sign_MCBXFBH.a2L5,sign_MCBXFBH.a2L5,sign_MCBXFBV.a2L1,sign_MCBXFBV.a2R1,sign_MCBXFBV.a2L5,sign_MCBXFBV.a2L5,sign_MCBXFBH.b2L1,sign_MCBXFBH.b2R1,sign_MCBXFBH.b2L5,sign_MCBXFBH.b2L5,sign_MCBXFBV.b2L1,sign_MCBXFBV.b2R1,sign_MCBXFBV.b2L5,sign_MCBXFBV.b2L5;\non_x1=on_x1save;on_sep1=on_sep1save;\non_x5=on_x5save;on_sep5=on_sep5save;\n};\n\n\n\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n! Switch ON\/OFF some multipole\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n\nexec ON_ALL_MULT;\nON_LSF=1;\n\n ON_A1s = 0 ; ON_A1r = 0 ; ON_B1s = 0 ; ON_B1r = 0;\n ON_A2s = 1 ; ON_A2r = 1 ; ON_B2s = 0 ; ON_B2r = 0;\n ON_A3s = 1 ; ON_A3r = 1 ; ON_B3s = 1 ; ON_B3r = 1;\n ON_A4s = 1 ; ON_A4r = 1 ; ON_B4s = 1 ; ON_B4r = 1;\n ON_A5s = 1 ; ON_A5r = 1 ; ON_B5s = 1 ; ON_B5r = 1;\n ON_A6s = 1 ; ON_A6r = 1 ; ON_B6s = 1 ; ON_B6r = 1;\n ON_A7s = 1 ; ON_A7r = 1 ; ON_B7s = 1 ; ON_B7r = 1;\n ON_A8s = 1 ; ON_A8r = 1 ; ON_B8s = 1 ; ON_B8r = 1;\n ON_A9s = 1 ; ON_A9r = 1 ; ON_B9s = 1 ; ON_B9r = 1;\n ON_A10s = 1; ON_A10r = 1; ON_B10s = 1; ON_B10r = 1;\n ON_A11s = 1; ON_A11r = 1; ON_B11s = 1; ON_B11r = 1;\n ON_A12s = ON_LSF; ON_A12r = ON_LSF; ON_B12s = ON_LSF; ON_B12r = ON_LSF;\n ON_A13s = ON_LSF; ON_A13r = ON_LSF; ON_B13s = ON_LSF; ON_B13r = ON_LSF;\n ON_A14s = ON_LSF; ON_A14r = ON_LSF; ON_B14s = ON_LSF; ON_B14r = ON_LSF;\n ON_A15s = ON_LSF; ON_A15r = ON_LSF; ON_B15s = ON_LSF; ON_B15r = ON_LSF;\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n! Define the seed number (for statistical error assignment in the new IT\/D1)\n! and call the corresponding measured error table for nominal LHC magnets\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n\nif (this_is_a_mask==1){\n\tif (NRJ<4999.999) {readtable, file=\"wise\/injection_errors-emfqcs-%SEEDRAN.tfs\" ;};\n\tif (NRJ>5000.000) {readtable, file=\"wise\/collision_errors-emfqcs-%SEEDRAN.tfs\" ;};\n\t} else {\n\tif (NRJ<4999.999) {readtable, file=\"wise\/injection_errors-emfqcs-1.tfs\" ;};\n\tif (NRJ>5000.000) {readtable, file=\"wise\/collision_errors-emfqcs-1.tfs\" ;};\n};\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n! apply field errors to MB magnets\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\ncall,file=\"db5\/measured_errors\/Efcomp_MB.madx\";\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n! correct orbit distortion resulting from MB magnets\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\nif((ON_A1S)^2+(ON_A1r)^2+(ON_B1S)^2+(ON_B1r)^2 >0){\n exec, initial_micado(4);\n exec, initial_micado(4);\n};\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n! apply field errors to all other magnets\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n! Nominal LHC magnets\n! Separation Dipoles\ncall, file=\"db5\/measured_errors\/Efcomp_MBRB.madx\";\ncall, file=\"db5\/measured_errors\/Efcomp_MBRC.madx\";\ncall, file=\"db5\/measured_errors\/Efcomp_MBRS.madx\";\ncall, file=\"db5\/measured_errors\/Efcomp_MBX.madx\" ;\ncall, file=\"db5\/measured_errors\/Efcomp_MBW.madx\" ;\n\n! Quadrupoles\nON_B2Saux=on_B2S;on_B2S=0*ON_B2Saux;call,file=\"db5\/measured_errors\/Efcomp_MQW.madx\" ; on_B2S=ON_B2Saux;\nON_B2Saux=on_B2S;on_B2S=0*ON_B2Saux;call,file=\"db5\/measured_errors\/Efcomp_MQTL.madx\"; on_B2S=ON_B2Saux;\nON_B2Saux=on_B2S;on_B2S=0*ON_B2Saux;call,file=\"db5\/measured_errors\/Efcomp_MQMC.madx\"; on_B2S=ON_B2Saux;\nON_B2Saux=on_B2S;on_B2S=0*ON_B2Saux;call,file=\"db5\/measured_errors\/Efcomp_MQX.madx\" ; on_B2S=ON_B2Saux;\nON_B2Saux=on_B2S;on_B2S=0*ON_B2Saux;call,file=\"db5\/measured_errors\/Efcomp_MQY.madx\" ; on_B2S=ON_B2Saux;\nON_B2Saux=on_B2S;on_B2S=0*ON_B2Saux;call,file=\"db5\/measured_errors\/Efcomp_MQM.madx\" ; on_B2S=ON_B2Saux;\nON_B2Saux=on_B2S;on_B2S=0*ON_B2Saux;call,file=\"db5\/measured_errors\/Efcomp_MQML.madx\"; on_B2S=ON_B2Saux;\nON_B2Saux=on_B2S;on_B2S=0*ON_B2Saux;call,file=\"db5\/measured_errors\/Efcomp_MQ.madx\" ; on_B2S=ON_B2Saux;\n\ncall,file=\"db5\/measured_errors\/Set_alignment_errors.madx\";\n\n! New IT\/D1\/D2\/Q4\/Q5\nif (this_is_a_mask==1){\n\tmyseed=%SEEDRAN;\n} else {\n\tmyseed=1;\n};\n\/*\neoption,seed=myseed+101;\nif (chooseMQXF==1) {\n\tcall, file=\"slhc\/errors2\/Efcomp_MQXF.madx\";\t\n} else {\n\tif (chooseMQXFAB==1) {\n\t\tcall, file=\"slhc\/errors2\/Efcomp_MQXFA.madx\";\n\t\tcall, file=\"slhc\/errors2\/Efcomp_MQXFB.madx\";\n\t} else {\n\t\tif (chooseMQXFbodyends==1) {\n\t\t\tcall, file=\"slhc\/errors2\/Efcomp_MQXFbody.madx\";\n\t\t\tcall, file=\"slhc\/errors2\/Efcomp_MQXFends.madx\";\n\t\t};\n\t};\n};\n*\/\n!eoption,seed=myseed+102;call, file=\"slhc\/errors2\/Efcomp_MBXAB.madx\"; ! new D1 in IR1\/5\n!eoption,seed=myseed+103;call, file=\"slhc\/errors2\/Efcomp_MBRD.madx\";\n!eoption,seed=myseed+104;call, file=\"slhc\/errors2\/Efcomp_MQYY.madx\";\n!eoption,seed=myseed+105;call, file=\"slhc\/errors2\/Efcomp_MQYL.madx\";\n!eoption,seed=myseed+106;call, file=\"slhc\/errors2\/Efcomp_MCBXFAB.madx\"; ! new triplet correctors in IR1\/5\nON_B2s = 0; ON_B2r = 0;\nif (ON_MBH==1){\n\teoption,seed=myseed+107;call, file=\"slhc\/errors2\/Efcomp_MBH.madx\";\n};\n\nif (create_errorfiles_and_quit==1){\n\t!exec show_error_newHLmagnet;\n\tselect,flag=error,clear;\n\tselect,flag=error,pattern=\".\";\n\tesave,file=\"error_all.tfs\";\n};\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n! MO settings\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n\nbrho:=NRJ*1e9\/clight;\nif (mylhcbeam==1){\n\tKOF.A12B1:=Kmax_MO*I_MO\/Imax_MO\/brho; KOF.A23B1:=Kmax_MO*I_MO\/Imax_MO\/brho;\n\tKOF.A34B1:=Kmax_MO*I_MO\/Imax_MO\/brho; KOF.A45B1:=Kmax_MO*I_MO\/Imax_MO\/brho;\n\tKOF.A56B1:=Kmax_MO*I_MO\/Imax_MO\/brho; KOF.A67B1:=Kmax_MO*I_MO\/Imax_MO\/brho;\n\tKOF.A78B1:=Kmax_MO*I_MO\/Imax_MO\/brho; KOF.A81B1:=Kmax_MO*I_MO\/Imax_MO\/brho;\n\tKOD.A12B1:=Kmax_MO*I_MO\/Imax_MO\/brho; KOD.A23B1:=Kmax_MO*I_MO\/Imax_MO\/brho;\n\tKOD.A34B1:=Kmax_MO*I_MO\/Imax_MO\/brho; KOD.A45B1:=Kmax_MO*I_MO\/Imax_MO\/brho;\n\tKOD.A56B1:=Kmax_MO*I_MO\/Imax_MO\/brho; KOD.A67B1:=Kmax_MO*I_MO\/Imax_MO\/brho;\n\tKOD.A78B1:=Kmax_MO*I_MO\/Imax_MO\/brho; KOD.A81B1:=Kmax_MO*I_MO\/Imax_MO\/brho;\n};\n\nif (mylhcbeam>1){\n\tKOF.A12B2:=Kmax_MO*I_MO\/Imax_MO\/brho; KOF.A23B2:=Kmax_MO*I_MO\/Imax_MO\/brho;\n\tKOF.A34B2:=Kmax_MO*I_MO\/Imax_MO\/brho; KOF.A45B2:=Kmax_MO*I_MO\/Imax_MO\/brho;\n\tKOF.A56B2:=Kmax_MO*I_MO\/Imax_MO\/brho; KOF.A67B2:=Kmax_MO*I_MO\/Imax_MO\/brho;\n\tKOF.A78B2:=Kmax_MO*I_MO\/Imax_MO\/brho; KOF.A81B2:=Kmax_MO*I_MO\/Imax_MO\/brho;\n\tKOD.A12B2:=Kmax_MO*I_MO\/Imax_MO\/brho; KOD.A23B2:=Kmax_MO*I_MO\/Imax_MO\/brho;\n\tKOD.A34B2:=Kmax_MO*I_MO\/Imax_MO\/brho; KOD.A45B2:=Kmax_MO*I_MO\/Imax_MO\/brho;\n\tKOD.A56B2:=Kmax_MO*I_MO\/Imax_MO\/brho; KOD.A67B2:=Kmax_MO*I_MO\/Imax_MO\/brho;\n\tKOD.A78B2:=Kmax_MO*I_MO\/Imax_MO\/brho; KOD.A81B2:=Kmax_MO*I_MO\/Imax_MO\/brho;\n};\n\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n! correction of field errors in MB (compatible with V6.503 & SLHC)\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\nselect, flag=error, clear;\nselect, flag=error, pattern=MB\\.,class=multipole;\nif (ON_MBH==1){\n\tselect, flag=error, pattern=MBH\\.,class=multipole;\n};\nesave, file=\"temp\/MB.errors\";\n!system, \"slhc\/errors2\/corr_MB_v3\";\nsystem, \"slhc\/errors2\/corr_MB_ats_v3\";\ncall, file=\"temp\/MB_corr_setting.mad\";\n!exec reset_MB_corr;\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n! correction of triplet and D1 (only in collision, not compatible V6.503)\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\nif (NRJ>5000.0000){\n\toption, echo, warn, -info;\n\tselect, flag=error, clear;\n\tselect, flag=error, pattern=MQX, class=multipole;\n\tselect, flag=error, pattern=MBX, class=multipole;\n\tselect, flag=error, pattern=MBRC, class=multipole;\n\tselect, flag=error, pattern=MBRD, class=multipole;\n\tif (correct_for_MCBX==1){\n\t\tselect, flag=error, pattern=MCBXF, class=multipole;\n\t};\n\tesave, file=\"temp\/tripD1D2.errors\";\n\tsystem, \"slhc\/errors2\/corr_tripD1_v4\";\n\n\tcall,file=\"temp\/MCX_setting.mad\";\n\t!kcsx3.l1:=0 ;kcsx3.r1:=0 ;kcsx3.l5:=0 ;kcsx3.r5:=0 ; !switch off b3 correction in IR1 and IR5\n\t!kcox3.l1:=0 ;kcox3.r1:=0 ;kcox3.l5:=0 ;kcox3.r5:=0 ; !switch off b4 correction in IR1 and IR5\n\t!kcdx3.l1:=0 ;kcdx3.r1:=0 ;kcdx3.l5:=0 ;kcdx3.r5:=0 ; !switch off b5 correction in IR1 and IR5\n\t!kctx3.l1:=0 ;kctx3.r1:=0 ;kctx3.l5:=0 ;kctx3.r5:=0 ; !switch off b6 correction in IR1 and IR5\n\t!kqsx3.l1:=0 ;kqsx3.r1:=0 ;kqsx3.l5:=0 ;kqsx3.r5:=0 ; !switch off a2 correction in IR1 and IR5\n\t!kcssx3.l1:=0;kcssx3.r1:=0;kcssx3.l5:=0;kcssx3.r5:=0; !switch off a3 correction in IR1 and IR5\n\t!kcosx3.l1:=0;kcosx3.r1:=0;kcosx3.l5:=0;kcosx3.r5:=0; !switch off a4 correction in IR1 and IR5\n\t!kcdsx3.l1:=0;kcdsx3.r1:=0;kcdsx3.l5:=0;kcdsx3.r5:=0; !switch off a5 correction in IR1 and IR5\n\t!kctsx3.l1:=0;kctsx3.r1:=0;kctsx3.l5:=0;kctsx3.r5:=0; !switch off a6 correction in IR1 and IR5\n\n\tkcsx3.l2 :=0;kcsx3.r2 :=0;kcsx3.l8 :=0;kcsx3.r8 :=0; !switch off b3 correction in IR2 and IR8\n\tkcox3.l2 :=0;kcox3.r2 :=0;kcox3.l8 :=0;kcox3.r8 :=0; !switch off b4 correction in IR2 and IR8\n\tkctx3.l2 :=0;kctx3.r2 :=0;kctx3.l8 :=0;kctx3.r8 :=0; !switch off b6 correction in IR2 and IR8\n\tkqsx3.l2 :=0;kqsx3.r2 :=0;kqsx3.l8 :=0;kqsx3.r8 :=0; !switch off a2 correction in IR2 and IR8\n\tkcssx3.l2:=0;kcssx3.r2:=0;kcssx3.l8:=0;kcssx3.r8:=0; !switch off a3 correction in IR2 and IR8\n\tkcosx3.l2:=0;kcosx3.r2:=0;kcosx3.l8:=0;kcosx3.r8:=0; !switch off a4 correction in IR2 and IR8\n\n\t!exec reset_MQX_corr; !switch off all IT multipole correction in all IR's\n};\n\nif (create_errorfiles_and_quit==1){\n\tSELECT,FLAG=twiss,CLEAR;\n\tSELECT,FLAG=twiss,COLUMN=name,s,k0l,k0sl,k1l,k1sl,k2l,k2sl,k3l,k3sl,k4l,k4sl,k5l,k5sl,k6l,k6sl,k7l,k7sl,k8l,k8sl,k9l,k9sl,k10l,k10sl,k11l,k11sl,k12l,k12sl,k13l,k13sl,k14l,k14sl,k15l,k15sl,k16l,k16sl,k17l,k17sl,k18l,k18sl,k19l,k19sl,k20l,k20sl,angle,hkick,vkick;\n\tTWISS,SEQUENCE=lhcb2,save,centre,FILE=.\/multipoles.tfs;\n\tstop;\n};\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n! correct orbit distortion resulting from other magnets\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\nif((ON_A1S)^2+(ON_A1r)^2+(ON_B1S)^2+(ON_B1r)^2 >0){\n\texec, initial_micado(4);\n\texec, initial_micado(4);\n\texec, initial_micado(4);\n\texec, initial_micado(4);\n};\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n! final orbit correction before applying crossing scheme\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\nif((ON_A1S)^2+(ON_A1r)^2+(ON_B1S)^2+(ON_B1r)^2 >0){\n\texec, final_micado(0.004);\n};\n\n! end of orbit correction, now switch ON crossing scheme\n! restoring crossing angle\non_x1=on_x1aux;on_sep1=on_sep1aux;\non_x2=on_x2aux;on_sep2=on_sep2aux;\non_x5=on_x5aux;on_sep5=on_sep5aux;\non_x8=on_x8aux;on_sep8=on_sep8aux; on_a8=on_a8aux;\non_alice=on_aliceaux; on_lhcb=on_lhcbaux;\non_disp=on_dispaux;\n\n! coguess,x=x.ip1,px=px.ip1,y=y.ip1,py=py.ip1;\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n! Fine tuning of coupling after CO correction and with Xscheme\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n\ncall,file=\"slhc\/errors2\/FineCouplingCorrection.madx\";\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n! matching of orbit, tune and chromaticity\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\nif(ON_COLLISION==0) {ON_BB_CHARGE:=1;}; ! W\/o head-on Q and Q' are matched with bb\n\n!Rematch the Xscheme towards specified separation and Xange in IP1\/2\/5\/8\ncall,file=\"slhc\/toolkit\/rematchCOIP.madx\";\n\n!Rematch the CO in the arc for dispersion correction\nif(ON_DISP<>0) {call,file=\"slhc\/toolkit\/rematchCOarc.madx\";};\n\nif(mylhcbeam==1){\n\tkqtf=kqtf.b1;kqtd=kqtd.b1;kqtf.b1:=kqtf;kqtd.b1:=kqtd;\n\tksf=ksf.b1;ksd=ksd.b1;ksf.b1:=ksf;ksd.b1:=ksd;\n};\nif(mylhcbeam>1){\n\tkqtf=kqtf.b2;kqtd=kqtd.b2;kqtf.b2:=kqtf;kqtd.b2:=kqtd;\n\tksf=ksf.b2;ksd=ksd.b2;ksf.b2:=ksf;ksd.b2:=ksd;\n};\n\nmatch;\nglobal, q1=qx0, q2=qy0;\nvary, name=kqtf, step=1.0E-7 ;\nvary, name=kqtd, step=1.0E-7 ;\nlmdif, calls=100, tolerance=1.0E-12;\nendmatch;\n\nmatch,chrom;\nglobal, dq1=qprime, dq2=qprime;\nvary, name=ksf;\nvary, name=ksd;\nlmdif, calls=100, tolerance=1.0E-12;\nendmatch;\n\nmatch,chrom;\nglobal, dq1=qprime, dq2=qprime;\nglobal, q1=qx0, q2=qy0;\nvary, name=ksf;\nvary, name=ksd;\nvary, name=kqtf, step=1.0E-7 ;\nvary, name=kqtd, step=1.0E-7 ;\nlmdif, calls=500, tolerance=1.0E-12;\nendmatch;\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n! Check corrector strength\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n\ncall, file=\"slhc\/errors2\/corr_value.madx\";\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n! final twiss before sending to sixtrack\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n\nON_BB_CHARGE:=1;\n\n\/*\ntwiss;\n value, table(summ,q1);\n value, table(summ,q2);\n value, table(summ,dq1);\n value, table(summ,dq2);\n sixtrack, radius=0.017;\n*\/\n\nif (NRJ<4999.9999) {VRF400:=8. ;LAGRF400.B1=0.5;LAGRF400.B2=0.;};\nif (NRJ>5000.0000) {VRF400:=16.;LAGRF400.B1=0.5;LAGRF400.B2=0.;};\n\ntwiss;\n!emit;\nxnom1=table(twiss,IP1,x);pxnom1=table(twiss,IP1,px);ynom1=table(twiss,IP1,y);pynom1=table(twiss,IP1,py);\nxnom2=table(twiss,IP2,x);pxnom2=table(twiss,IP2,px);ynom2=table(twiss,IP2,y);pynom2=table(twiss,IP2,py);\nxnom5=table(twiss,IP5,x);pxnom5=table(twiss,IP5,px);ynom5=table(twiss,IP5,y);pynom5=table(twiss,IP5,py);\nxnom8=table(twiss,IP8,x);pxnom8=table(twiss,IP8,px);ynom8=table(twiss,IP8,y);pynom8=table(twiss,IP8,py);\n\nvalue,xnom1,xnom2,xnom5,xnom8;\nvalue,ynom1,ynom2,ynom5,ynom8;\nvalue,pxnom1,pxnom2,pxnom5,pxnom8;\nvalue,pynom1,pynom2,pynom5,pynom8;\nvalue, table(summ,q1);\nvalue, table(summ,q2);\nvalue, table(summ,dq1);\nvalue, table(summ,dq2);\n!sixtrack,cavall, mult_auto_off,radius=0.017;\nsixtrack,cavall, radius=0.017;\n\nselect, flag=twiss, clear;\nif (this_is_a_mask==1){\n\ttwiss,file=\"last_twiss.%SEEDRAN\";\n\tSystem,\"gzip last_twiss.%SEEDRAN\";\n} else {\n\ttwiss,file=\"last_twiss.1\";\n\tSystem,\"gzip last_twiss.1\";\n};\n\nstop;\n","old_contents":"! S. Fartoukh March 2009\n! Ref sample job for tracking with multipole field imperfection in nominal \n! LHC magnets using V6.503 in collision\n! M. Giovannozzi November 2010\n\n!---------------------------------------------------------------;\n!\t\t\tFLAGS\n!---------------------------------------------------------------;\n\nmylhcbeam=1 ;! LHC beam 1 (clockwise)\n!mylhcbeam=2 ;! LHC beam 2 (clockwise)\n!mylhcbeam=4 ;! LHC beam 2 (counterclockwise)\n\nthis_is_a_mask=1;\ncorrect_for_MCBX=1;\nnominal_MCBXF_signs=0;\nON_MBH=0;\nthick_lenses=0;\ncreate_errorfiles_and_quit=0;\n\n!only one of these three:\nchooseMQXF=0;\nchooseMQXFAB=0;\nchooseMQXFbodyends=1;\n\n\n! strengths for MCBX at collision\nA_col_a3 = 20.1200;\nA_col_b3 = -16.6500;\nB_col_a3 = -10.3300;\nB_col_b3 = 17.3700;\n\nA_col_a5 = -3.0400;\nA_col_b5 = -0.3500;\nB_col_a5 = -3.6000;\nB_col_b5 = 2.4900;\n\nA_col_a7 = -3.9800;\nA_col_b7 = 0.9800;\nB_col_a7 = -3.2600;\nB_col_b7 = 0.6200;\n\nA_col_a9 = -0.6200;\nA_col_b9 = 0.0700;\nB_col_a9 = -0.5800;\nB_col_b9 = -0.7500;\n\nA_col_a11 = 0.0200;\nA_col_b11 = 4.3000;\nB_col_a11 = 0.1200;\nB_col_b11 = 3.6000;\n\n! 3th order strengths for MCBX at injection\nA_inj_a3 = A_col_a3;\nA_inj_b3 = A_col_b3;\nB_inj_a3 = B_col_a3;\nB_inj_b3 = B_col_b3;\nA_inj_a5 = A_col_a5;\nA_inj_b5 = A_col_b5;\nB_inj_a5 = B_col_a5;\nB_inj_b5 = B_col_b5;\nA_inj_a7 = A_col_a7;\nA_inj_b7 = A_col_b7;\nB_inj_a7 = B_col_a7;\nB_inj_b7 = B_col_b7;\nA_inj_a9 = A_col_a9;\nA_inj_b9 = A_col_b9;\nB_inj_a9 = B_col_a9;\nB_inj_b9 = B_col_b9;\nA_inj_a11 = A_col_a11;\nA_inj_b11 = A_col_b11;\nB_inj_a11 = B_col_a11;\nB_inj_b11 = B_col_b11;\n\n\n\n\n\n!---|----1----|----2----|----3----|----4----|----5----|----6----|----7----|---8;\nOption, warn,info;\nSystem,\"rm -rf temp\";\nSystem,\"mkdir temp\";\nSystem,\"ln -fns \/afs\/cern.ch\/eng\/lhc\/optics\/V6.503 db5\";\nSystem,\"ln -fns \/afs\/cern.ch\/eng\/lhc\/optics\/HLLHCV1.0 slhc\";\nsystem,\"ln -fns \/afs\/cern.ch\/eng\/lhc\/optics\/errors\/0705 wise\";\nsystem,\"ln -fns \/afs\/cern.ch\/eng\/lhc\/optics\/V6.503\/WISE\/After_sector_3-4_repair fidel\";\nsystem,\"ln -fns \/afs\/cern.ch\/user\/f\/fvanderv\/public\/MCBX fre\";\noption,-echo,-info;\n\n\n\n!---------------------------------------------------------------;\n! CALL IN SELECTION, MACRO's, SEQUENCE, BEAM, NRJ and OPTICS FILES;\n!---------------------------------------------------------------;\ncall,file=\"slhc\/toolkit\/macro.madx\"; !Call some macro facilities\n\nif (ON_MBH==1 || thick_lenses==1){\n\t\t!!********************************************************************\n\t!!Manual Thin Sequence building\n\t!!********************************************************************\n\tOption, -echo,-warn,-info;\n\tif (mylhcbeam==4){\n\t call,file=\"db5\/beam_four.seq\"; bvaux=1;\n\t} else {\n\t call,file=\"db5\/V6.5.seq\"; bvaux=-1;\n\t};\n\tOption, -echo,warn,-info;\n\t\n\t!!!Install MBH\n\tcall,file=\"slhc\/hllhc_sequence.madx\";\n\n\tif (ON_MBH==1){\n\t\t!!Install MBH\n\t\tmbh_rm_mcs=0; mbh_rm_mcdo=0; !=1 to remove spools\n\t\tmbh_ir2q8=0;mbh_ir2q10=1;\n\t\tmbh_ir7q8=1;mbh_ir7q10=1;\n\t\tmbh_ir1q8=0;mbh_ir1q9=1;mbh_ir1q10=0;\n\t\tmbh_ir5q8=0;mbh_ir5q9=1;mbh_ir5q10=0;\n\t\tcall,file=\"slhc\/toolkit\/install_mbh.madx\";\n\t};\n\n\tif (thick_lenses==0){\n\t\t! Slice nominal sequence\n\t\texec,myslice;\n\t};\n} else {\n\t!********************************************************************\n\t!Saved Thin Sequence\n\t!missing variables like lhclength and so on\n\t!********************************************************************\n\tOption, -echo,-warn,-info;\n\tif (mylhcbeam==4){\n\t call,file=\"slhc\/hllhc_thinb4.seq\"; bvaux=1;\n\t} else {\n\t call,file=\"slhc\/hllhc_thin.seq\"; bvaux=-1;\n\t};\n\tOption, -echo,warn,-info;\n};\n\n\ncall,file=\"slhc\/errors2\/install_mqxf_fringenl.madx\"; \t! adding fringe place holder\ncall,file=\"slhc\/errors2\/install_MCBXAB_errors.madx\"; ! adding multipole correctors in IR1\/5 (for errors)\n\n!Cycling w.r.t. to IP3 (mandatory to find closed orbit in collision in the presence of errors)\nif (mylhcbeam<3){\n\tseqedit,sequence=lhcb1;flatten;cycle,start=IP3;flatten;endedit;\n};\nseqedit,sequence=lhcb2;flatten;cycle,start=IP3;flatten;endedit;\n\n!********************************************\n!NRJ= 450.0 ; ! injection\nNRJ= 7000.0 ; ! collision\n\n\n! A Laundau octupole current 20A inj, -570A col\nif (NRJ<4999.9999){\n\tI_MO=-20;\n} else {\n\tI_MO=-570;\n};\n\n!General switch to select collision (0\/1)\nON_COLLISION:=0;\n!General switch to install bb lens (0\/1)\nON_BB_SWITCH:=0;\n\nb_t_dist :=25.;!bunch separation [ns]\n!b_t_dist :=50.;!bunch separation [ns]\nif (b_t_dist < 26 ) {emittance_norm := 2.5e-6;Nb_0:=2.2E11;};\nif (b_t_dist > 49 ) {emittance_norm := 3.0e-6;Nb_0:=3.5E11;};\n\nsigt_col=0.075; ! bunch length [m] in collision\n\ngamma_rel := NRJ\/pmass;\nepsx:=emittance_norm \/gamma_rel;\nepsy:=emittance_norm \/gamma_rel;\n\n!********************************************\n\ntsplit= 2.0; !new tune split\nqx00 = 62.0; !integer h tune\nqy00 = 60.0; !integer v tune\n\n\nif (NRJ<4999.9999){\n\t!Inj. optics in thin lens\n\tcall,file=\"slhc\/opt_inj_thin.madx\"; ! beta* [m]=6\/10\/6\/10 in IR1\/2\/5\/8\n\tqx0 = 62.28; qy0 = 60.31; qprime = 3.0;\n\tif (mylhcbeam<3){\n\t\tBeam,particle=proton,sequence=lhcb1,energy=NRJ,sigt=0.130,bv=1,NPART=Nb_0,sige=4.5e-4,ex=epsx,ey=epsy;\n\t};\n\tBeam,particle=proton,sequence=lhcb2,energy=NRJ,sigt=0.130,bv=bvaux,NPART=Nb_0,sige=4.5e-4,ex=epsx,ey=epsy;\n};\n\nif (NRJ>5000.0000){\n\t!Coll. optics in thin lens for IR1&5 (various possible beta*_x\/y in IR1\/5)\n\tcall,file=\"slhc\/opt_round_thin.madx\"; ! beta*=15cm in IR1\/5, beta*=10 m in IR2, 3m in IR8.\n\t! call,file=\"slhc\/opt_sround_thin.madx\"; ! beta*=10cm in IR1\/5, beta*=10 m in IR2, 3m in IR8.\n\t!call,file=\"slhc\/opt_flat_thin.madx\"; ! beta*=7.5\/30cm in IR1, beta*=30\/7.5cm in IR5, beta*=10 m in IR2, 3m in IR8.\n\t!call,file=\"slhc\/opt_sflat_thin.madx\"; ! beta*=5.0\/20cm in IR1, beta*=20\/5.0cm in IR5, beta*=10 m in IR2, 3m in IR8.\n\t!call,file=\"slhc\/opt_flathv_thin.madx\"; ! beta*=30\/7.5cm in IR1, beta*=7.5\/30cm in IR5, beta*=10 m in IR2, 3m in IR8.\n\t!call,file=\"slhc\/opt_sflathv_thin.madx\";! beta*=20\/5.0cm in IR1, beta*=5.0\/20cm in IR5, beta*=10 m in IR2, 3m in IR8.\n\t!call,file=\"slhc\/opt_180_180_180_180_thin.madx\";\n\t!call,file=\"slhc\/opt_220_220_220_220_thin.madx\";\n\t!call,file=\"slhc\/opt_260_260_260_260_thin.madx\";\n\t!call,file=\"slhc\/opt_300_300_300_300_thin.madx\";\n\t!call,file=\"slhc\/opt_340_340_340_340_thin.madx\";\n\t!call,file=\"slhc\/opt_380_380_380_380_thin.madx\";\n\t!call,file=\"slhc\/opt_420_420_420_420_thin.madx\";\n\t!call,file=\"slhc\/opt_presqueeze_thin.madx\";\n\t!call,file=\"slhc\/opt_presqueeze1000_thin.madx\";\n\tqx0 = 62.31; qy0 = 60.32; qprime = 3.0;\n\tON_QPP :=0; ! Correction of residual Q'' by MO's\n\tON_DISP :=1; ! Correction of spurious dispersion\n\tif (mylhcbeam<3){\n\t\tBeam,particle=proton,sequence=lhcb1,energy=NRJ,sigt=sigt_col,bv=1,NPART=Nb_0,sige=1.1e-4,ex=epsx,ey=epsy;\n\t};\n\tBeam,particle=proton,sequence=lhcb2,energy=NRJ,sigt=sigt_col,bv=bvaux,NPART=Nb_0,sige=1.1e-4,ex=epsx,ey=epsy;\n};\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++;\n! Rematch IP1 IP5 phase\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++;\n! nominal round: mux_ip15 = 31.21038468 ; muy_ip15 = 30.37288037 ;\n! nominal injection: mux_ip15 = 31.19538482 ; muy_ip15 = 30.36788031 ;\n\n!mux_ip15 = 31.21038468;\n!muy_ip15 = 31.19538482;\n\n!call,file=\"slhc\/toolkit\/make_ip15phase.madx\";\n!call,file=slhc\/toolkit\/make_ip15phase_tm.madx; ! use phase-trombone instead\n!call,file=slhc\/toolkit\/delete_ip15phase_tm.madx; ! remove phase trombone\n\n! test new optics\nif (mylhcbeam==1){\n\texec,check_ip(b1);\n} else {\n\texec,check_ip(b2);\n}\nmux_ip15_ref=table(twiss,IP1,mux)-table(twiss,IP5,mux);\nmuy_ip15_ref=table(twiss,IP1,muy)-table(twiss,IP5,muy);\nvalue,mux_ip15_ref,muy_ip15_ref;\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++;\n!Set crossing angle and separations knobs\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++;\nphi_IR1 = 90.000; phi_IR5 = 0.000; ! For round and flat optics\n!phi_IR1 = 0.000; phi_IR5 = 90.000; ! For flathv optics\nxing15=295e-6; sep15=2e-3;\nxing8=-250e-6; sep8=-2e-3; on_lhcb=+1;\nxing2= 170e-6; sep2=2e-3; on_alice=1;\n\non_x1=xing15\/(pxIP1b1+pyIP1b1);\non_sep1=sep15\/(xIP1b1+yIP1b1);\non_x5=xing15\/(pxIP5b1+pyIP5b1);\non_sep5=sep15\/(xIP5b1+yIP5b1);\non_x2=xing2\/(pyIP2b1-69.9994e-6); !removing alice=1 from pyIP2b1\non_sep2=sep2\/xIP2b1;\non_x8=xing8\/(pxIP8b1+134.9879e-6); !!removing on_lhcb from pxIP8b1\non_sep8=sep8\/yIP8b1;\n\nvalue,on_x1,on_sep1,on_x5,on_sep5,on_x2,on_sep2,on_x8,on_sep8;\n\non_disp=1;\n\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++;\n! TEST the optics\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++;\n!\/*\n\t! Saving crossing scheme knobs\n\ton_x1aux=on_x1;on_sep1aux=on_sep1;\n\ton_x2aux=on_x2;on_sep2aux=on_sep2;\n\ton_x5aux=on_x5;on_sep5aux=on_sep5;\n\ton_x8aux=on_x8;on_sep8aux=on_sep8; on_a8aux=on_a8;\n\ton_aliceaux=on_alice; on_lhcbaux=on_lhcb;\n\ton_dispaux=on_disp;\n\n\ton_x1=0;on_x5=0;on_sep1=0;on_sep5=0;\n\ton_x2=0;on_x8=0;on_sep2=0;on_sep8=0; on_a8=0;\n\ton_lhcb=0;on_alice=0;\n\ton_disp=0;\n\tsystem,\"rm -f twiss.b1\";system,\"rm -f twiss.b2\";\n\tif (mylhcbeam<3){\n\t\tUse, sequence=lhcb1;\n\t\tselect,flag=twiss,clear;\n\t\tselect, flag=twiss, pattern=\"IP1\", column=name,s,betx,bety,alfx,alfy,dx,dpx,mux,muy;\n\t\tselect, flag=twiss, pattern=\"IP2\", column=name,s,betx,bety,alfx,alfy,dx,dpx,mux,muy;\n\t\tselect, flag=twiss, pattern=\"IP5\", column=name,s,betx,bety,alfx,alfy,dx,dpx,mux,muy;\n\t\tselect, flag=twiss, pattern=\"IP8\", column=name,s,betx,bety,alfx,alfy,dx,dpx,mux,muy;\n\t\ttwiss,sequence=lhcb1,file=twiss.b1;system,\"cat twiss.b1\";\n\t};\n\n\tUse, sequence=lhcb2;\n\tselect,flag=twiss,clear;\n\tselect, flag=twiss, pattern=\"IP1\", column=name,s,betx,bety,alfx,alfy,dx,dpx,mux,muy;\n\tselect, flag=twiss, pattern=\"IP2\", column=name,s,betx,bety,alfx,alfy,dx,dpx,mux,muy;\n\tselect, flag=twiss, pattern=\"IP5\", column=name,s,betx,bety,alfx,alfy,dx,dpx,mux,muy;\n\tselect, flag=twiss, pattern=\"IP8\", column=name,s,betx,bety,alfx,alfy,dx,dpx,mux,muy;\n\ttwiss, sequence=lhcb2,file=twiss.b2;system,\"cat twiss.b2\";\n\n\tsystem,\"rm -f twiss.b1\";system,\"rm -f twiss.b2\";\n\t!Switch on Xscheme\n\ton_x1=on_x1aux;on_sep1=on_sep1aux;\n\ton_x2=on_x2aux;on_sep2=on_sep2aux;\n\ton_x5=on_x5aux;on_sep5=on_sep5aux;\n\ton_x8=on_x8aux;on_sep8=on_sep8aux; on_a8=an_a8aux;\n\ton_alice=on_aliceaux; on_lhcb=on_lhcbaux;\n\ton_disp=on_dispaux;\n\n\tif (mylhcbeam<3){\n\t\tUse, sequence=lhcb1;\n\t\tselect,flag=twiss,clear;\n\t\tselect, flag=twiss, pattern=\"IP1\", column=name,s,x,y,px,py;\n\t\tselect, flag=twiss, pattern=\"IP2\", column=name,s,x,y,px,py;\n\t\tselect, flag=twiss, pattern=\"IP5\", column=name,s,x,y,px,py;\n\t\tselect, flag=twiss, pattern=\"IP8\", column=name,s,x,y,px,py;\n\t\ttwiss, sequence=lhcb1, file=twiss.b1;system,\"cat twiss.b1\";\n\t};\n\n\tUse, sequence=lhcb2;\n\tselect,flag=twiss,clear;\n\tselect, flag=twiss, pattern=\"IP1\", column=name,s,x,y,px,py;\n\tselect, flag=twiss, pattern=\"IP2\", column=name,s,x,y,px,py;\n\tselect, flag=twiss, pattern=\"IP5\", column=name,s,x,y,px,py;\n\tselect, flag=twiss, pattern=\"IP8\", column=name,s,x,y,px,py;\n\ttwiss, sequence=lhcb2, file=twiss.b2;system,\"cat twiss.b2\";\n!*\/\nsystem,\"rm -f twiss.b1\";system,\"rm -f twiss.b2\";\n\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++;\n! Xscheme definition & Beam-beam encounters installation\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++;\ncall,file=\"slhc\/beambeam\/macro_bb.madx\"; ! macros for beam-beam\n\nb_t_dist =25; !bunch separation [ns]\n\nfraction_crab:=0; !Switch on\/off the crab of the strong beam (1 means 100%, -2 means -200%,..)\n\nn_insideD1 = 5; !default value for the number of additionnal parasitic encounters inside D1\n\nnho_IR1= 5; ! number of slices for head-on in IR1 (between 0 and 201) \nnho_IR2= 5; ! number of slices for head-on in IR2 (between 0 and 201)\nnho_IR5= 5; ! number of slices for head-on in IR5 (between 0 and 201)\nnho_IR8= 5; ! number of slices for head-on in IR8 (between 0 and 201)\n\nexec DEFINE_BB_PARAM; !Define main beam-beam parameters\n\nif (ON_COLLISION==1){\n\t!Switch on Xscheme in precollision\n\ton_x1aux=on_x1;on_sep1aux=1;\n\ton_x2aux=on_x2;on_sep2aux=1;\n\ton_x5aux=on_x5;on_sep5aux=1;\n\ton_x8aux=on_x8;on_sep8aux=1; on_a8aux=on_a8;\n\ton_aliceaux=on_alice; on_lhcbaux=on_lhcb;\n\ton_disp:=0;\n\thalo1=0;halo2=5;halo5=0;halo8=0; !halo collision at 5 sigma's in Alice\n\t!Redefine the on_sep's accordingly\n\texec CALCULATE_XSCHEME($halo1,$halo2,$halo5,$halo8);\n\ton_sep1aux=on_sep1;\n\ton_sep2aux=on_sep2;\n\ton_sep5aux=on_sep5;\n\ton_sep8aux=on_sep8;\n};\n\n! Saving crossing scheme knobs\non_x1aux=on_x1;on_sep1aux=on_sep1;\non_x2aux=on_x2;on_sep2aux=on_sep2;\non_x5aux=on_x5;on_sep5aux=on_sep5;\non_x8aux=on_x8;on_sep8aux=on_sep8; on_a8aux=on_a8;\non_aliceaux=on_alice; on_lhcbaux=on_lhcb;\n!on_dispaux=on_disp;\non_disp=0; !see old mask don't know why\n\n!Record the nominal IP position and crossing angle\nif(mylhcbeam==1) {use, sequence=lhcb1;};\nif(mylhcbeam>1) {use, sequence=lhcb2;};\ntwiss;\nxnom1=table(twiss,IP1,x);pxnom1=table(twiss,IP1,px);ynom1=table(twiss,IP1,y);pynom1=table(twiss,IP1,py);\nxnom2=table(twiss,IP2,x);pxnom2=table(twiss,IP2,px);ynom2=table(twiss,IP2,y);pynom2=table(twiss,IP2,py);\nxnom5=table(twiss,IP5,x);pxnom5=table(twiss,IP5,px);ynom5=table(twiss,IP5,y);pynom5=table(twiss,IP5,py);\nxnom8=table(twiss,IP8,x);pxnom8=table(twiss,IP8,px);ynom8=table(twiss,IP8,y);pynom8=table(twiss,IP8,py);\nvalue,xnom1,xnom2,xnom5,xnom8;\nvalue,ynom1,ynom2,ynom5,ynom8;\nvalue,pxnom1,pxnom2,pxnom5,pxnom8;\nvalue,pynom1,pynom2,pynom5,pynom8;\n\nif (ON_BB_SWITCH==1){\n\t!Install b-b marker\n\texec INSTALL_BB_MARK(b1);\n\texec INSTALL_BB_MARK(b2);\n\n\t!Define bb lenses for both beams in all IR's and calculate # of encounters before D1\n\texec CALCULATE_BB_LENS;\n\n\t!Install bb lenses\n\ton_ho1 =1; on_lr1l = 1; on_lr1r = 1; npara_1 = npara0_1 + n_insideD1;\n\ton_ho5 =1; on_lr5l = 1; on_lr5r = 1; npara_5 = npara0_5 + n_insideD1;\n\ton_ho2 =1; on_lr2l = 1; on_lr2r = 1; npara_2 = npara0_2 + n_insideD1;\n\ton_ho8 =1; on_lr8l = 1; on_lr8r = 1; npara_8 = npara0_8 + n_insideD1;\n\tif(mylhcbeam==1) {exec INSTALL_BB_LENS(b1);};\n\tif(mylhcbeam>1) {exec INSTALL_BB_LENS(b2);};\n\n\tON_BB_CHARGE := 0; !Switch off the charge the bb lenses\n\n\t\/*\n\t\t!Plot b-b separation\n\t\texec PLOT_BB_SEP(1,$npara_1);\n\t\texec PLOT_BB_SEP(2,$npara_2);\n\t\texec PLOT_BB_SEP(5,$npara_5);\n\t\texec PLOT_BB_SEP(8,$npara_8);\n\t*\/\n\n\t!\/*\n\t\t!if (mylhcbeam<3){\n\t\t!\tseqedit,sequence=lhcb1;flatten;cycle,start=IP1;endedit;\n\t\t!};\n\t\t!seqedit,sequence=lhcb2;flatten;cycle,start=IP1;endedit;\n\n\t\tif (mylhcbeam<3){\n\t\t\tuse,sequence=lhcb1;\n\t\t\tselect,flag=twiss,clear;\n\t\t\tselect,flag=twiss,class=marker,pattern=PAR.*L1,range=mbxa.4l1..4\/IP1.L1,column=s,name,betx,bety,alfx,alfy,mux,muy,x,y,px,py;\n\t\t\tselect,flag=twiss,class=marker,pattern=PAR.*L5,range=mbxa.4l5..4\/IP5,column=s,name,betx,bety,alfx,alfy,mux,muy,x,y,px,py;\n\t\t\tselect,flag=twiss,class=marker,pattern=PAR.*R1,range=IP1\/mbxa.4r1..1,column=s,name,betx,bety,alfx,alfy,mux,muy,x,y,px,py;\n\t\t\tselect,flag=twiss,class=marker,pattern=PAR.*R5,range=IP5\/mbxa.4r5..1,column=s,name,betx,bety,alfx,alfy,mux,muy,x,y,px,py;\n\t\t\tselect,flag=twiss,class=marker,pattern=IP1,column=s,name,betx,bety,alfx,alfy,mux,muy,x,y,px,py;\n\t\t\tselect,flag=twiss,class=marker,pattern=IP5,column=s,name,betx,bety,alfx,alfy,mux,muy,x,y,px,py;\n\t\t\ttwiss,file=twiss_bb.b1;system,\"cat twiss_bb.b1\";\n\t\t};\n\n\t\tuse,sequence=lhcb2;\n\t\tselect,flag=twiss,clear;\n\t\tselect,flag=twiss,class=marker,pattern=PAR.*L1,range=mbxa.4l1..4\/IP1.L1,column=s,name,betx,bety,alfx,alfy,mux,muy,x,y,px,py;\n\t\tselect,flag=twiss,class=marker,pattern=PAR.*L5,range=mbxa.4l5..4\/IP5,column=s,name,betx,bety,alfx,alfy,mux,muy,x,y,px,py;\n\t\tselect,flag=twiss,class=marker,pattern=PAR.*R1,range=IP1\/mbxa.4r1..1,column=s,name,betx,bety,alfx,alfy,mux,muy,x,y,px,py;\n\t\tselect,flag=twiss,class=marker,pattern=PAR.*R5,range=IP5\/mbxa.4r5..1,column=s,name,betx,bety,alfx,alfy,mux,muy,x,y,px,py;\n\t\tselect,flag=twiss,class=marker,pattern=IP1,column=s,name,betx,bety,alfx,alfy,mux,muy,x,y,px,py;\n\t\tselect,flag=twiss,class=marker,pattern=IP5,column=s,name,betx,bety,alfx,alfy,mux,muy,x,y,px,py;\n\t\ttwiss,file=twiss_bb.b2;system,\"cat twiss_bb.b2\";\n\n\t\tif(mylhcbeam==1) {use,sequence=lhcb1;};\n\t\tif(mylhcbeam>1) {use,sequence=lhcb2;};\n\n\t\tselect,flag=twiss,clear;\n\t\tselect,flag=twiss,pattern=HO,class=beambeam,column=s,name,betx,bety,alfx,alfy,mux,muy,x,y,px,py;\n\t\ttwiss,file=twiss_bb;system,\"cat twiss_bb\";\n\n\t\t!if (mylhcbeam<3){\n\t\t!\tseqedit,sequence=lhcb1;flatten;cycle,start=IP3;endedit;\n\t\t!};\n\t\t!seqedit,sequence=lhcb2;flatten;cycle,start=IP3;endedit;\n\t!*\/\n\n\t!Remove bb markers\n\texec REMOVE_BB_MARKER;\n\n\t\/*\n\t\t!Make and plot footprint (at 6 sigmas)\n\t\tON_BB_CHARGE := 1;\n\n\t\t!Switch on Xscheme\n\t\ton_x1=on_x1aux;on_sep1=on_sep1aux;\n\t\ton_x2=on_x2aux;on_sep2=on_sep2aux;\n\t\ton_x5=on_x5aux;on_sep5=on_sep5aux;\n\t\ton_x8=on_x8aux;on_sep8=on_sep8aux; on_a8=an_a8aux;\n\t\ton_alice=on_aliceaux; on_lhcb=on_lhcbaux;\n\t\ton_disp=on_dispaux;\n\n\t\tnsigmax=6;\n\n\t\tif(qx0-qx00<0.3){\n\t\t\tif(mylhcbeam==1) {exec MAKEFOOTPRINT(b1);exec PLOTFOOTPRINT(b1,0.2795,0.2805,0.3095,0.3105);};\n\t\t\tif(mylhcbeam>1) {exec MAKEFOOTPRINT(b2);exec PLOTFOOTPRINT(b2,0.2795,0.2805,0.3095,0.3105);};\n\t\t};\n\t\tif(qx0-qx00>0.3){\n\t\t\tif(mylhcbeam==1) {exec MAKEFOOTPRINT(b1);exec PLOTFOOTPRINT(b1,0.300,0.315,0.310,0.325);};\n\t\t\tif(mylhcbeam>1) {exec MAKEFOOTPRINT(b2);exec PLOTFOOTPRINT(b2,0.300,0.315,0.310,0.325);};\n\t\t};\n\t\tON_BB_CHARGE := 0;\n\t\ton_x1=0;on_sep1=0;\n\t\ton_x2=0;on_sep2=0;\n\t\ton_x5=0;on_sep5=0;\n\t\ton_x8=0;on_sep8=0; on_a8=0;\n\t\ton_alice=0; on_lhcb=0;\n\t\ton_disp=0;\n\t*\/\n\n\t!Remove bb lens for both beams\n\t!exec REMOVE_BB_LENS;\n};\n\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++;\n! Prepare nominal twiss tables\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++;\nif (mylhcbeam==1){\n\tuse,sequence=lhcb1;\n} else {\n\tuse,sequence=lhcb2;\n};\n\n\/*\n\ttwiss;\n\tx.ip1=table(twiss,IP1,x);px.ip1=table(twiss,IP1,px);\n\ty.ip1=table(twiss,IP1,y);px.ip1=table(twiss,IP1,py); \/\/irrelevant when recycling the sequences\n*\/\n\ntwiss, table=nominal; \/\/ used by orbit correction\nbeta.ip1=table(twiss,IP1,betx);value,beta.ip1;\n\n! print nominal optics parameter at the MB, MQS and MSS for\n! b2, b3, b4, b5, a2 and a3 correction\nselect, flag=twiss, clear;\nselect, flag=twiss,pattern=MB\\. ,class=multipole,column=name,k0L,k1L,betx,bety,dx,mux,muy;\nselect, flag=twiss,pattern=MBH\\. ,class=multipole,column=name,k0L,k1L,betx,bety,dx,mux,muy;\nselect, flag=twiss,pattern=MQT\\.14,class=multipole,column=name,k0L,k1L,betx,bety,dx,mux,muy;\nselect, flag=twiss,pattern=MQT\\.15,class=multipole,column=name,k0L,k1L,betx,bety,dx,mux,muy;\nselect, flag=twiss,pattern=MQT\\.16,class=multipole,column=name,k0L,k1L,betx,bety,dx,mux,muy;\nselect, flag=twiss,pattern=MQT\\.17,class=multipole,column=name,k0L,k1L,betx,bety,dx,mux,muy;\nselect, flag=twiss,pattern=MQT\\.18,class=multipole,column=name,k0L,k1L,betx,bety,dx,mux,muy;\nselect, flag=twiss,pattern=MQT\\.19,class=multipole,column=name,k0L,k1L,betx,bety,dx,mux,muy;\nselect, flag=twiss,pattern=MQT\\.20,class=multipole,column=name,k0L,k1L,betx,bety,dx,mux,muy;\nselect, flag=twiss,pattern=MQT\\.21,class=multipole,column=name,k0L,k1L,betx,bety,dx,mux,muy;\nselect, flag=twiss,class=MQS ,column=name,k0L,k1L,betx,bety,dx,mux,muy;\nselect, flag=twiss,class=MSS ,column=name,k0L,k1L,betx,bety,dx,mux,muy;\nselect, flag=twiss,class=MCO ,column=name,k0L,k1L,betx,bety,dx,mux,muy;\nselect, flag=twiss,class=MCD ,column=name,k0L,k1L,betx,bety,dx,mux,muy;\nselect, flag=twiss,class=MCS ,column=name,k0L,k1L,betx,bety,dx,mux,muy;\ntwiss, file='temp\/optics0_MB.mad';\n\n! print nominal optics parameter at the D1, MQX and triplet corrector\n! for triplet correction\nselect, flag=twiss, clear;\nselect, flag=twiss, pattern=MQX , class=multipole, column=name,betx,bety,x,y;\nselect, flag=twiss, pattern=MBX , class=multipole, column=name,betx,bety,x,y;\nselect, flag=twiss, pattern=MBRC , class=multipole, column=name,betx,bety,x,y;\nselect, flag=twiss, pattern=MBRD , class=multipole, column=name,betx,bety,x,y;\nselect, flag=twiss, pattern=MQSX , column=name,betx,bety,x,y;\nselect, flag=twiss, pattern=MCQSX , column=name,betx,bety,x,y;\nselect, flag=twiss, pattern=MCSX , column=name,betx,bety,x,y;\nselect, flag=twiss, pattern=MCTX , column=name,betx,bety,x,y;\nselect, flag=twiss, pattern=MCOSX , column=name,betx,bety,x,y;\nselect, flag=twiss, pattern=MCOX , column=name,betx,bety,x,y;\nselect, flag=twiss, pattern=MCSSX , column=name,betx,bety,x,y;\nselect, flag=twiss, pattern=MCDX , column=name,betx,bety,x,y;\nselect, flag=twiss, pattern=MCDSX , column=name,betx,bety,x,y;\nselect, flag=twiss, pattern=MCTSX , column=name,betx,bety,x,y;\nif (correct_for_MCBX==1){\n\tselect, flag=twiss, pattern=MCBXF, class=multipole, column=name,betx,bety,x,y;\n};\ntwiss, file='temp\/optics0_inser.mad';\n\n! disable crossing bumps\non_x1=0;on_sep1=0;\non_x2=0;on_sep2=0;\non_x5=0;on_sep5=0;\non_x8=0;on_sep8=0; on_a8=0;\non_alice=0;on_lhcb=0;\non_disp=0;\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n! Align separation magnets\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n\/*\n if(mylhcbeam==1){\n\t\tcall, file = \"db5\/measured_errors\/align_D1_slices.b1.madx\";\n\t\tcall, file = \"db5\/measured_errors\/align_D2_slices.b1.madx\";\n\t\tcall, file = \"db5\/measured_errors\/align_D3_slices.b1.madx\";\n\t\tcall, file = \"db5\/measured_errors\/align_D4_slices.b1.madx\";\n\t};\n\tif(mylhcbeam>1){\n\t\tcall, file = \"db5\/measured_errors\/align_D1_slices.b2.madx\";\n\t\tcall, file = \"db5\/measured_errors\/align_D2_slices.b2.madx\";\n\t\tcall, file = \"db5\/measured_errors\/align_D3_slices.b2.madx\";\n\t\tcall, file = \"db5\/measured_errors\/align_D4_slices.b2.madx\";\n\t};\n*\/\ncall,file=\"slhc\/toolkit\/align_sepdip.madx\";\n!exec,align_mbxw; ! V6.503 D1\n!exec,align_mbrc15;! V6.503 D2 in IR15\nexec,align_mbx15; ! HL-LHC D1\nexec,align_mbrd15;! HL-LHC D2 in IR15\n\nexec,align_mbx28; ! V6.503 D1 in IR28\nexec,align_mbrc28;! V6.503 D2 in IR28\nexec,align_mbrs; ! V6.503 D3 in IR4\nexec,align_mbrb; ! V6.503 D4 in IR4\n\nif (ON_MBH==1) {\n\tcall,file=\"slhc\/toolkit\/align_mbh.madx\"; ! align 11T dipoles\n};\n\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n! Call error subroutines (nominal machine and new IT\/D1)\n! and error tables\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n\n! Error routine and measured error table for nominal LHC\n\ncall,file=\"db5\/measured_errors\/Msubroutines_new.madx\";\ncall,file=\"db5\/measured_errors\/Msubroutines_MS_MSS_MO_new.madx\";\ncall,file=\"db5\/toolkit\/Orbit_Routines.madx\";\ncall,file=\"slhc\/errors2\/SelectLHCMonCor.madx\";\nreadtable, file=\"db5\/measured_errors\/rotations_Q2_integral.tab\";\n\n! Error routine and error table for new IT\/D1\/D2\/Q4\/Q5\n\ncall,file=\"slhc\/errors2\/macro_error.madx\";\t\t\t! macros for error generation in the new IT\/D1's\n\nif (chooseMQXF==1){\n\tcall,file=\"slhc\/errors2\/IT_errortable_v66_5\";\n} else {\n\tif (chooseMQXFAB==1) {\n\t\tcall,file=\"slhc\/errors2\/ITa_errortable_v65\";\n\t\tcall,file=\"slhc\/errors2\/ITb_errortable_v65\";\n\t} else {\n\t\tif (chooseMQXFbodyends==1) {\n\t\t\tcall,file=\"slhc\/errors2\/ITnc_errortable_v5\"; ! target error table for the new IT\n\t\t\tcall,file=\"slhc\/errors2\/ITcs_errortable_v5\"; ! target error table for the new IT\n\t\t\tcall,file=\"slhc\/errors2\/ITbody_errortable_v5\"; ! target error table for the new IT\n\t\t};\n\t};\n};\n\ncall,file=\"slhc\/errors2\/D1_errortable_v1_spec\";! target error table for the new D1\ncall,file=\"slhc\/errors2\/D2_errortable_v5_spec\";! target error table for the new D2\ncall,file=\"slhc\/errors2\/Q4_errortable_v2_spec\";! target error table for the new Q4 in IR1 and IR5\ncall,file=\"slhc\/errors2\/Q5_errortable_v0_spec\";! target error table for the new Q5 in IR1 and IR5 and IR6\n\n!value,Rr_MQXCD,Rr_MBXAB,Rr_MBRD,Rr_MQYY,Rr_MQYL;\n!a2R_MQXCD_inj:=20.00;a2R_MQXCD_col:=20.00;! up to 3 mrad roll of the new MQX's (1 mrad r.m.s)\n\n!b5M_MQXCD_col := 0.0000 ; b5U_MQXCD_col := 0.4200 ; b5R_MQXCD_col := 0.4200 ; !..Errors as in IT_errortable_v3\n!a5M_MQXCD_col := 0.0000 ; a5U_MQXCD_col := 0.4300 ; a5R_MQXCD_col := 0.4300 ; !..Errors as in IT_errortable_v3\n!a6M_MQXCD_col := 0.0000 ; a6U_MQXCD_col := 0.3100 ; a6R_MQXCD_col := 0.3100 ; !..Errors as in IT_errortable_v3\n\n!call,file=\"fre\/MCBX_errortable_v1\";\t\t\t! target error table for the new MCBX in IR1 and IR5\ncall,file=\"slhc\/errors2\/MCBXFAB_errortable_v1\";\t\t\t! target error table for the new MCBX in IR1 and IR5\nif (ON_MBH==1){\n\tcall,file=\"slhc\/errors2\/MBH_errortable_v1\";\n};\n\n\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n!\t\t\t\tCorrect signs of MCBXF reference field values\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n\nif (nominal_MCBXF_signs==1){\non_x1save=on_x1;on_sep1save=on_sep1;\non_x5save=on_x5;on_sep5save=on_sep5;\non_x1=on_x1aux;on_sep1=on_sep1aux;\non_x5=on_x5aux;on_sep5=on_sep5aux;\n\nsign_MCBXFAH.3L1 = ACBXH3.L1\/(abs(ACBXH3.L1));\nsign_MCBXFAH.3R1 = ACBXH3.R1\/(abs(ACBXH3.R1));\nsign_MCBXFAH.3L5 = ACBXH3.L5\/(abs(ACBXH3.L5));\nsign_MCBXFAH.3L5 = ACBXH3.L5\/(abs(ACBXH3.L5));\nsign_MCBXFAV.3L1 = ACBXV3.L1\/(abs(ACBXV3.L1));\nsign_MCBXFAV.3R1 = ACBXV3.R1\/(abs(ACBXV3.R1));\nsign_MCBXFAV.3L5 = ACBXV3.L5\/(abs(ACBXV3.L5));\nsign_MCBXFAV.3L5 = ACBXV3.L5\/(abs(ACBXV3.L5));\n\nsign_MCBXFBH.a2L1 = ACBXH1.L1\/(abs(ACBXH1.L1));\nsign_MCBXFBH.a2R1 = ACBXH1.R1\/(abs(ACBXH1.R1));\nsign_MCBXFBH.a2L5 = ACBXH1.L5\/(abs(ACBXH1.L5));\nsign_MCBXFBH.a2L5 = ACBXH1.L5\/(abs(ACBXH1.L5));\nsign_MCBXFBV.a2L1 = ACBXV1.L1\/(abs(ACBXV1.L1));\nsign_MCBXFBV.a2R1 = ACBXV1.R1\/(abs(ACBXV1.R1));\nsign_MCBXFBV.a2L5 = ACBXV1.L5\/(abs(ACBXV1.L5));\nsign_MCBXFBV.a2L5 = ACBXV1.L5\/(abs(ACBXV1.L5));\n\nsign_MCBXFBH.b2L1 = ACBXH1.L1\/(abs(ACBXH1.L1));\nsign_MCBXFBH.b2R1 = ACBXH1.R1\/(abs(ACBXH1.R1));\nsign_MCBXFBH.b2L5 = ACBXH1.L5\/(abs(ACBXH1.L5));\nsign_MCBXFBH.b2L5 = ACBXH1.L5\/(abs(ACBXH1.L5));\nsign_MCBXFBV.b2L1 = ACBXV1.L1\/(abs(ACBXV1.L1));\nsign_MCBXFBV.b2R1 = ACBXV1.R1\/(abs(ACBXV1.R1));\nsign_MCBXFBV.b2L5 = ACBXV1.L5\/(abs(ACBXV1.L5));\nsign_MCBXFBV.b2L5 = ACBXV1.L5\/(abs(ACBXV1.L5));\nvalue,on_x1,on_sep1,on_x5,on_sep5;\nvalue,sign_MCBXFAH.3L1,sign_MCBXFAH.3R1,sign_MCBXFAH.3L5,sign_MCBXFAH.3L5,sign_MCBXFAV.3L1,sign_MCBXFAV.3R1,sign_MCBXFAV.3L5,sign_MCBXFAV.3L5,sign_MCBXFBH.a2L1,sign_MCBXFBH.a2R1,sign_MCBXFBH.a2L5,sign_MCBXFBH.a2L5,sign_MCBXFBV.a2L1,sign_MCBXFBV.a2R1,sign_MCBXFBV.a2L5,sign_MCBXFBV.a2L5,sign_MCBXFBH.b2L1,sign_MCBXFBH.b2R1,sign_MCBXFBH.b2L5,sign_MCBXFBH.b2L5,sign_MCBXFBV.b2L1,sign_MCBXFBV.b2R1,sign_MCBXFBV.b2L5,sign_MCBXFBV.b2L5;\non_x1=on_x1save;on_sep1=on_sep1save;\non_x5=on_x5save;on_sep5=on_sep5save;\n};\n\n\n\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n! Switch ON\/OFF some multipole\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n\nexec ON_ALL_MULT;\nON_LSF=1;\n\n ON_A1s = 0 ; ON_A1r = 0 ; ON_B1s = 0 ; ON_B1r = 0;\n ON_A2s = 1 ; ON_A2r = 1 ; ON_B2s = 0 ; ON_B2r = 0;\n ON_A3s = 1 ; ON_A3r = 1 ; ON_B3s = 1 ; ON_B3r = 1;\n ON_A4s = 1 ; ON_A4r = 1 ; ON_B4s = 1 ; ON_B4r = 1;\n ON_A5s = 1 ; ON_A5r = 1 ; ON_B5s = 1 ; ON_B5r = 1;\n ON_A6s = 1 ; ON_A6r = 1 ; ON_B6s = 1 ; ON_B6r = 1;\n ON_A7s = 1 ; ON_A7r = 1 ; ON_B7s = 1 ; ON_B7r = 1;\n ON_A8s = 1 ; ON_A8r = 1 ; ON_B8s = 1 ; ON_B8r = 1;\n ON_A9s = 1 ; ON_A9r = 1 ; ON_B9s = 1 ; ON_B9r = 1;\n ON_A10s = 1; ON_A10r = 1; ON_B10s = 1; ON_B10r = 1;\n ON_A11s = 1; ON_A11r = 1; ON_B11s = 1; ON_B11r = 1;\n ON_A12s = ON_LSF; ON_A12r = ON_LSF; ON_B12s = ON_LSF; ON_B12r = ON_LSF;\n ON_A13s = ON_LSF; ON_A13r = ON_LSF; ON_B13s = ON_LSF; ON_B13r = ON_LSF;\n ON_A14s = ON_LSF; ON_A14r = ON_LSF; ON_B14s = ON_LSF; ON_B14r = ON_LSF;\n ON_A15s = ON_LSF; ON_A15r = ON_LSF; ON_B15s = ON_LSF; ON_B15r = ON_LSF;\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n! Define the seed number (for statistical error assignment in the new IT\/D1)\n! and call the corresponding measured error table for nominal LHC magnets\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n\nif (this_is_a_mask==1){\n\tif (NRJ<4999.999) {readtable, file=\"wise\/injection_errors-emfqcs-%SEEDRAN.tfs\" ;};\n\tif (NRJ>5000.000) {readtable, file=\"wise\/collision_errors-emfqcs-%SEEDRAN.tfs\" ;};\n\t} else {\n\tif (NRJ<4999.999) {readtable, file=\"wise\/injection_errors-emfqcs-1.tfs\" ;};\n\tif (NRJ>5000.000) {readtable, file=\"wise\/collision_errors-emfqcs-1.tfs\" ;};\n};\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n! apply field errors to MB magnets\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\ncall,file=\"db5\/measured_errors\/Efcomp_MB.madx\";\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n! correct orbit distortion resulting from MB magnets\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\nif((ON_A1S)^2+(ON_A1r)^2+(ON_B1S)^2+(ON_B1r)^2 >0){\n exec, initial_micado(4);\n exec, initial_micado(4);\n};\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n! apply field errors to all other magnets\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n! Nominal LHC magnets\n! Separation Dipoles\ncall, file=\"db5\/measured_errors\/Efcomp_MBRB.madx\";\ncall, file=\"db5\/measured_errors\/Efcomp_MBRC.madx\";\ncall, file=\"db5\/measured_errors\/Efcomp_MBRS.madx\";\ncall, file=\"db5\/measured_errors\/Efcomp_MBX.madx\" ;\ncall, file=\"db5\/measured_errors\/Efcomp_MBW.madx\" ;\n\n! Quadrupoles\nON_B2Saux=on_B2S;on_B2S=0*ON_B2Saux;call,file=\"db5\/measured_errors\/Efcomp_MQW.madx\" ; on_B2S=ON_B2Saux;\nON_B2Saux=on_B2S;on_B2S=0*ON_B2Saux;call,file=\"db5\/measured_errors\/Efcomp_MQTL.madx\"; on_B2S=ON_B2Saux;\nON_B2Saux=on_B2S;on_B2S=0*ON_B2Saux;call,file=\"db5\/measured_errors\/Efcomp_MQMC.madx\"; on_B2S=ON_B2Saux;\nON_B2Saux=on_B2S;on_B2S=0*ON_B2Saux;call,file=\"db5\/measured_errors\/Efcomp_MQX.madx\" ; on_B2S=ON_B2Saux;\nON_B2Saux=on_B2S;on_B2S=0*ON_B2Saux;call,file=\"db5\/measured_errors\/Efcomp_MQY.madx\" ; on_B2S=ON_B2Saux;\nON_B2Saux=on_B2S;on_B2S=0*ON_B2Saux;call,file=\"db5\/measured_errors\/Efcomp_MQM.madx\" ; on_B2S=ON_B2Saux;\nON_B2Saux=on_B2S;on_B2S=0*ON_B2Saux;call,file=\"db5\/measured_errors\/Efcomp_MQML.madx\"; on_B2S=ON_B2Saux;\nON_B2Saux=on_B2S;on_B2S=0*ON_B2Saux;call,file=\"db5\/measured_errors\/Efcomp_MQ.madx\" ; on_B2S=ON_B2Saux;\n\ncall,file=\"db5\/measured_errors\/Set_alignment_errors.madx\";\n\n! New IT\/D1\/D2\/Q4\/Q5\nif (this_is_a_mask==1){\n\tmyseed=%SEEDRAN;\n} else {\n\tmyseed=1;\n};\n\/*\neoption,seed=myseed+101;\nif (chooseMQXF==1) {\n\tcall, file=\"slhc\/errors2\/Efcomp_MQXF.madx\";\t\n} else {\n\tif (chooseMQXFAB==1) {\n\t\tcall, file=\"slhc\/errors2\/Efcomp_MQXFA.madx\";\n\t\tcall, file=\"slhc\/errors2\/Efcomp_MQXFB.madx\";\n\t} else {\n\t\tif (chooseMQXFbodyends==1) {\n\t\t\tcall, file=\"slhc\/errors2\/Efcomp_MQXFbody.madx\";\n\t\t\tcall, file=\"slhc\/errors2\/Efcomp_MQXFends.madx\";\n\t\t};\n\t};\n};\n*\/\n!eoption,seed=myseed+102;call, file=\"slhc\/errors2\/Efcomp_MBXAB.madx\"; ! new D1 in IR1\/5\n!eoption,seed=myseed+103;call, file=\"slhc\/errors2\/Efcomp_MBRD.madx\";\n!eoption,seed=myseed+104;call, file=\"slhc\/errors2\/Efcomp_MQYY.madx\";\n!eoption,seed=myseed+105;call, file=\"slhc\/errors2\/Efcomp_MQYL.madx\";\n!eoption,seed=myseed+106;call, file=\"slhc\/errors2\/Efcomp_MCBXFAB.madx\"; ! new triplet correctors in IR1\/5\nON_B2s = 0; ON_B2r = 0;\nif (ON_MBH==1){\n\teoption,seed=myseed+107;call, file=\"slhc\/errors2\/Efcomp_MBH.madx\";\n};\n\nif (create_errorfiles_and_quit==1){\n\t!exec show_error_newHLmagnet;\n\tselect,flag=error,clear;\n\tselect,flag=error,pattern=\".\";\n\tesave,file=\"error_all.tfs\";\n};\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n! MO settings\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n\nbrho:=NRJ*1e9\/clight;\nif (mylhcbeam==1){\n\tKOF.A12B1:=Kmax_MO*I_MO\/Imax_MO\/brho; KOF.A23B1:=Kmax_MO*I_MO\/Imax_MO\/brho;\n\tKOF.A34B1:=Kmax_MO*I_MO\/Imax_MO\/brho; KOF.A45B1:=Kmax_MO*I_MO\/Imax_MO\/brho;\n\tKOF.A56B1:=Kmax_MO*I_MO\/Imax_MO\/brho; KOF.A67B1:=Kmax_MO*I_MO\/Imax_MO\/brho;\n\tKOF.A78B1:=Kmax_MO*I_MO\/Imax_MO\/brho; KOF.A81B1:=Kmax_MO*I_MO\/Imax_MO\/brho;\n\tKOD.A12B1:=Kmax_MO*I_MO\/Imax_MO\/brho; KOD.A23B1:=Kmax_MO*I_MO\/Imax_MO\/brho;\n\tKOD.A34B1:=Kmax_MO*I_MO\/Imax_MO\/brho; KOD.A45B1:=Kmax_MO*I_MO\/Imax_MO\/brho;\n\tKOD.A56B1:=Kmax_MO*I_MO\/Imax_MO\/brho; KOD.A67B1:=Kmax_MO*I_MO\/Imax_MO\/brho;\n\tKOD.A78B1:=Kmax_MO*I_MO\/Imax_MO\/brho; KOD.A81B1:=Kmax_MO*I_MO\/Imax_MO\/brho;\n};\n\nif (mylhcbeam>1){\n\tKOF.A12B2:=Kmax_MO*I_MO\/Imax_MO\/brho; KOF.A23B2:=Kmax_MO*I_MO\/Imax_MO\/brho;\n\tKOF.A34B2:=Kmax_MO*I_MO\/Imax_MO\/brho; KOF.A45B2:=Kmax_MO*I_MO\/Imax_MO\/brho;\n\tKOF.A56B2:=Kmax_MO*I_MO\/Imax_MO\/brho; KOF.A67B2:=Kmax_MO*I_MO\/Imax_MO\/brho;\n\tKOF.A78B2:=Kmax_MO*I_MO\/Imax_MO\/brho; KOF.A81B2:=Kmax_MO*I_MO\/Imax_MO\/brho;\n\tKOD.A12B2:=Kmax_MO*I_MO\/Imax_MO\/brho; KOD.A23B2:=Kmax_MO*I_MO\/Imax_MO\/brho;\n\tKOD.A34B2:=Kmax_MO*I_MO\/Imax_MO\/brho; KOD.A45B2:=Kmax_MO*I_MO\/Imax_MO\/brho;\n\tKOD.A56B2:=Kmax_MO*I_MO\/Imax_MO\/brho; KOD.A67B2:=Kmax_MO*I_MO\/Imax_MO\/brho;\n\tKOD.A78B2:=Kmax_MO*I_MO\/Imax_MO\/brho; KOD.A81B2:=Kmax_MO*I_MO\/Imax_MO\/brho;\n};\n\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n! correction of field errors in MB (compatible with V6.503 & SLHC)\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\nselect, flag=error, clear;\nselect, flag=error, pattern=MB\\.,class=multipole;\nif (ON_MBH==1){\n\tselect, flag=error, pattern=MBH\\.,class=multipole;\n};\nesave, file=\"temp\/MB.errors\";\n!system, \"slhc\/errors2\/corr_MB_v3\";\nsystem, \"slhc\/errors2\/corr_MB_ats_v3\";\ncall, file=\"temp\/MB_corr_setting.mad\";\n!exec reset_MB_corr;\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n! correction of triplet and D1 (only in collision, not compatible V6.503)\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\nif (NRJ>5000.0000){\n\toption, echo, warn, -info;\n\tselect, flag=error, clear;\n\tselect, flag=error, pattern=MQX, class=multipole;\n\tselect, flag=error, pattern=MBX, class=multipole;\n\tselect, flag=error, pattern=MBRC, class=multipole;\n\tselect, flag=error, pattern=MBRD, class=multipole;\n\tif (correct_for_MCBX==1){\n\t\tselect, flag=error, pattern=MCBXF, class=multipole;\n\t};\n\tesave, file=\"temp\/tripD1D2.errors\";\n\tsystem, \"slhc\/errors2\/corr_tripD1_v4\";\n\n\tcall,file=\"temp\/MCX_setting.mad\";\n\t!kcsx3.l1:=0 ;kcsx3.r1:=0 ;kcsx3.l5:=0 ;kcsx3.r5:=0 ; !switch off b3 correction in IR1 and IR5\n\t!kcox3.l1:=0 ;kcox3.r1:=0 ;kcox3.l5:=0 ;kcox3.r5:=0 ; !switch off b4 correction in IR1 and IR5\n\t!kcdx3.l1:=0 ;kcdx3.r1:=0 ;kcdx3.l5:=0 ;kcdx3.r5:=0 ; !switch off b5 correction in IR1 and IR5\n\t!kctx3.l1:=0 ;kctx3.r1:=0 ;kctx3.l5:=0 ;kctx3.r5:=0 ; !switch off b6 correction in IR1 and IR5\n\t!kqsx3.l1:=0 ;kqsx3.r1:=0 ;kqsx3.l5:=0 ;kqsx3.r5:=0 ; !switch off a2 correction in IR1 and IR5\n\t!kcssx3.l1:=0;kcssx3.r1:=0;kcssx3.l5:=0;kcssx3.r5:=0; !switch off a3 correction in IR1 and IR5\n\t!kcosx3.l1:=0;kcosx3.r1:=0;kcosx3.l5:=0;kcosx3.r5:=0; !switch off a4 correction in IR1 and IR5\n\t!kcdsx3.l1:=0;kcdsx3.r1:=0;kcdsx3.l5:=0;kcdsx3.r5:=0; !switch off a5 correction in IR1 and IR5\n\t!kctsx3.l1:=0;kctsx3.r1:=0;kctsx3.l5:=0;kctsx3.r5:=0; !switch off a6 correction in IR1 and IR5\n\n\tkcsx3.l2 :=0;kcsx3.r2 :=0;kcsx3.l8 :=0;kcsx3.r8 :=0; !switch off b3 correction in IR2 and IR8\n\tkcox3.l2 :=0;kcox3.r2 :=0;kcox3.l8 :=0;kcox3.r8 :=0; !switch off b4 correction in IR2 and IR8\n\tkctx3.l2 :=0;kctx3.r2 :=0;kctx3.l8 :=0;kctx3.r8 :=0; !switch off b6 correction in IR2 and IR8\n\tkqsx3.l2 :=0;kqsx3.r2 :=0;kqsx3.l8 :=0;kqsx3.r8 :=0; !switch off a2 correction in IR2 and IR8\n\tkcssx3.l2:=0;kcssx3.r2:=0;kcssx3.l8:=0;kcssx3.r8:=0; !switch off a3 correction in IR2 and IR8\n\tkcosx3.l2:=0;kcosx3.r2:=0;kcosx3.l8:=0;kcosx3.r8:=0; !switch off a4 correction in IR2 and IR8\n\n\t!exec reset_MQX_corr; !switch off all IT multipole correction in all IR's\n};\n\nif (create_errorfiles_and_quit==1){\n\tSELECT,FLAG=twiss,CLEAR;\n\tSELECT,FLAG=twiss,COLUMN=name,s,k0l,k0sl,k1l,k1sl,k2l,k2sl,k3l,k3sl,k4l,k4sl,k5l,k5sl,k6l,k6sl,k7l,k7sl,k8l,k8sl,k9l,k9sl,k10l,k10sl,k11l,k11sl,k12l,k12sl,k13l,k13sl,k14l,k14sl,k15l,k15sl,k16l,k16sl,k17l,k17sl,k18l,k18sl,k19l,k19sl,k20l,k20sl,angle,hkick,vkick;\n\tTWISS,SEQUENCE=lhcb2,save,centre,FILE=.\/multipoles.tfs;\n\tstop;\n};\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n! correct orbit distortion resulting from other magnets\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\nif((ON_A1S)^2+(ON_A1r)^2+(ON_B1S)^2+(ON_B1r)^2 >0){\n\texec, initial_micado(4);\n\texec, initial_micado(4);\n\texec, initial_micado(4);\n\texec, initial_micado(4);\n};\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n! final orbit correction before applying crossing scheme\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\nif((ON_A1S)^2+(ON_A1r)^2+(ON_B1S)^2+(ON_B1r)^2 >0){\n\texec, final_micado(0.004);\n};\n\n! end of orbit correction, now switch ON crossing scheme\n! restoring crossing angle\non_x1=on_x1aux;on_sep1=on_sep1aux;\non_x2=on_x2aux;on_sep2=on_sep2aux;\non_x5=on_x5aux;on_sep5=on_sep5aux;\non_x8=on_x8aux;on_sep8=on_sep8aux; on_a8=on_a8aux;\non_alice=on_aliceaux; on_lhcb=on_lhcbaux;\non_disp=on_dispaux;\n\n! coguess,x=x.ip1,px=px.ip1,y=y.ip1,py=py.ip1;\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n! Fine tuning of coupling after CO correction and with Xscheme\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n\ncall,file=\"slhc\/errors2\/FineCouplingCorrection.madx\";\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n! matching of orbit, tune and chromaticity\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\nif(ON_COLLISION==0) {ON_BB_CHARGE:=1;}; ! W\/o head-on Q and Q' are matched with bb\n\n!Rematch the Xscheme towards specified separation and Xange in IP1\/2\/5\/8\ncall,file=\"slhc\/toolkit\/rematchCOIP.madx\";\n\n!Rematch the CO in the arc for dispersion correction\nif(ON_DISP<>0) {call,file=\"slhc\/toolkit\/rematchCOarc.madx\";};\n\nif(mylhcbeam==1){\n\tkqtf=kqtf.b1;kqtd=kqtd.b1;kqtf.b1:=kqtf;kqtd.b1:=kqtd;\n\tksf=ksf.b1;ksd=ksd.b1;ksf.b1:=ksf;ksd.b1:=ksd;\n};\nif(mylhcbeam>1){\n\tkqtf=kqtf.b2;kqtd=kqtd.b2;kqtf.b2:=kqtf;kqtd.b2:=kqtd;\n\tksf=ksf.b2;ksd=ksd.b2;ksf.b2:=ksf;ksd.b2:=ksd;\n};\n\nmatch;\nglobal, q1=qx0, q2=qy0;\nvary, name=kqtf, step=1.0E-7 ;\nvary, name=kqtd, step=1.0E-7 ;\nlmdif, calls=100, tolerance=1.0E-21;\nendmatch;\n\nmatch,chrom;\nglobal, dq1=qprime, dq2=qprime;\nvary, name=ksf;\nvary, name=ksd;\nlmdif, calls=100, tolerance=1.0E-21;\nendmatch;\n\nmatch,chrom;\nglobal, dq1=qprime, dq2=qprime;\nglobal, q1=qx0, q2=qy0;\nvary, name=ksf;\nvary, name=ksd;\nvary, name=kqtf, step=1.0E-7 ;\nvary, name=kqtd, step=1.0E-7 ;\nlmdif, calls=500, tolerance=1.0E-21;\nendmatch;\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n! Check corrector strength\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n\ncall, file=\"slhc\/errors2\/corr_value.madx\";\n\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n! final twiss before sending to sixtrack\n!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n\nON_BB_CHARGE:=1;\n\n\/*\ntwiss;\n value, table(summ,q1);\n value, table(summ,q2);\n value, table(summ,dq1);\n value, table(summ,dq2);\n sixtrack, radius=0.017;\n*\/\n\nif (NRJ<4999.9999) {VRF400:=8. ;LAGRF400.B1=0.5;LAGRF400.B2=0.;};\nif (NRJ>5000.0000) {VRF400:=16.;LAGRF400.B1=0.5;LAGRF400.B2=0.;};\n\ntwiss;\n!emit;\nxnom1=table(twiss,IP1,x);pxnom1=table(twiss,IP1,px);ynom1=table(twiss,IP1,y);pynom1=table(twiss,IP1,py);\nxnom2=table(twiss,IP2,x);pxnom2=table(twiss,IP2,px);ynom2=table(twiss,IP2,y);pynom2=table(twiss,IP2,py);\nxnom5=table(twiss,IP5,x);pxnom5=table(twiss,IP5,px);ynom5=table(twiss,IP5,y);pynom5=table(twiss,IP5,py);\nxnom8=table(twiss,IP8,x);pxnom8=table(twiss,IP8,px);ynom8=table(twiss,IP8,y);pynom8=table(twiss,IP8,py);\n\nvalue,xnom1,xnom2,xnom5,xnom8;\nvalue,ynom1,ynom2,ynom5,ynom8;\nvalue,pxnom1,pxnom2,pxnom5,pxnom8;\nvalue,pynom1,pynom2,pynom5,pynom8;\nvalue, table(summ,q1);\nvalue, table(summ,q2);\nvalue, table(summ,dq1);\nvalue, table(summ,dq2);\n!sixtrack,cavall, mult_auto_off,radius=0.017;\nsixtrack,cavall, radius=0.017;\n\nselect, flag=twiss, clear;\nif (this_is_a_mask==1){\n\ttwiss,file=\"last_twiss.%SEEDRAN\";\n\tSystem,\"gzip last_twiss.%SEEDRAN\";\n} else {\n\ttwiss,file=\"last_twiss.1\";\n\tSystem,\"gzip last_twiss.1\";\n};\n\nstop;\n","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Mask"} {"commit":"bf6e0bdeaf3fe9c1a5c68521f1d0389b87d1dcc7","subject":"cfg\/etc\/portage\/package.mask: added","message":"cfg\/etc\/portage\/package.mask: added\n","repos":"tokiclover\/dotfiles","old_file":"cfg\/etc\/portage\/package.mask","new_file":"cfg\/etc\/portage\/package.mask","new_contents":"sys-fs\/udev\nsys-apps\/systemd\nlxde-base\/lxpolkit\n#>app-cdr\/brasero-3.0\n>gnome-extra\/gnome-color-manager-3.0\n","old_contents":"","returncode":1,"stderr":"error: pathspec 'cfg\/etc\/portage\/package.mask' did not match any file(s) known to git\n","license":"mit","lang":"Mask"} {"commit":"4af9ae98c006ba3dcfefad9ba208fb1cb5b6cb1c","subject":"Update static\/vendors\/ace-builds\/demo\/kitchen-sink\/docs\/mask.mask","message":"Update static\/vendors\/ace-builds\/demo\/kitchen-sink\/docs\/mask.mask\n\nSigned-off-by: Bernard Ojengwa \n","repos":"apipanda\/openssl,apipanda\/openssl,apipanda\/openssl,apipanda\/openssl","old_file":"static\/vendors\/ace-builds\/demo\/kitchen-sink\/docs\/mask.mask","new_file":"static\/vendors\/ace-builds\/demo\/kitchen-sink\/docs\/mask.mask","new_contents":"\/* Mask Syntax Demo *\/\n\ndiv > ' Test ~[name]';\n\ndefine :userProfile {\n\theader {\n\t\th4 > @title;\n\t\tbutton.close;\n\t}\n}\n\n:userProfile {\n\t@title > ' Hello ~[: username.toUpperCase()]'\n}\n\nstyle {\n html, body {\n background: url('name.png') 0 0 no-repeat;\n }\n}\n\nbutton {\n\tevent click (e) {\n\t this.textContent = `name ${e.clientX} !`;\n\t}\n}\n\nmd > \"\"\"\n\n- div\n- span\n \nHello\n\n[one](http:\/\/google.com)\n\n\"\"\";\n\n\nheader .foo > 'Heading'\n\nbutton .baz x-signal='click: test' disabled > \"\n\tHello,\n\tworld \n\t\\\"Buddy\\\"\n\"\n\nvar a = {\n name: `name ${window.innerWidth}`\n};\n\nspan .foo > \"~[bind: a.name]\"","old_contents":"","returncode":1,"stderr":"error: pathspec 'static\/vendors\/ace-builds\/demo\/kitchen-sink\/docs\/mask.mask' did not match any file(s) known to git\n","license":"mit","lang":"Mask"} {"commit":"879a8861f6dc9c572d75f92d4b71f378454b9af9","subject":"Unmask the PHP 5.5 target USE flag","message":"Unmask the PHP 5.5 target USE flag\n\nPHP 5.5 has reached end of life and will be removed in 90 days from\nthe Gentoo main portage tree.\n\nAllow PHP 5.5 to be installed until all systems are upgraded to PHP >\n5.5.\n\nThe dev-lang\/php and virtual\/httpd-php packages still have to be\nunmasked manually, in order to raise awareness of the upgrade.\n","repos":"stepping-stone\/sst-gentoo-overlay,stepping-stone\/sst-gentoo-overlay","old_file":"profiles\/stepping-stone.ch\/kvm\/use.mask","new_file":"profiles\/stepping-stone.ch\/kvm\/use.mask","new_contents":"# unmask PHP 5.5 target until all systems are upgarded to > 5.5\n-php_targets_php5-5\n","old_contents":"","returncode":1,"stderr":"error: pathspec 'profiles\/stepping-stone.ch\/kvm\/use.mask' did not match any file(s) known to git\n","license":"agpl-3.0","lang":"Mask"} {"commit":"e4a86e64aa4a42b34ba860feef31f9191e05cc78","subject":"Use corrected Mask submodule.","message":"Use corrected Mask submodule.\n","repos":"daviddoria\/PoissonEditing","old_file":"Testing\/data\/F16\/F16Mask.mask","new_file":"Testing\/data\/F16\/F16Mask.mask","new_contents":"hole 255\nvalid 0\nF16Mask.png","old_contents":"","returncode":1,"stderr":"error: pathspec 'Testing\/data\/F16\/F16Mask.mask' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Mask"} {"commit":"ad2bb278c88fe070586b4dcf585067dad3f6ab9f","subject":"mask sys-power\/upower-0.9.23-r3","message":"mask sys-power\/upower-0.9.23-r3\n","repos":"mavriq\/mavriq-overlay","old_file":"profiles\/base\/package.mask","new_file":"profiles\/base\/package.mask","new_contents":"## \u0434\u0438\u043a\u0430\u044f \u0438\u0434\u0435\u044f gentoo-\u0434\u0435\u0432\u0435\u043b\u043e\u043f\u0435\u0440\u043e\u0432 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0449\u0438\u0445 \u044d\u0442\u043e\u0442 \u043f\u0430\u043a\u0435\u0442, \u0436\u0435\u0441\u0442\u043a\u043e \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u0442\u044c \u0435\u0433\u043e \u043a systemd \u043c\u043d\u0435 \u043d\u0435 \u043f\u043e \u0434\u0443\u0448\u0435\n=sys-power\/upower-0.9.23-r3\n","old_contents":"","returncode":1,"stderr":"error: pathspec 'profiles\/base\/package.mask' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Mask"} {"commit":"e484545a88e936de0ff7b3d5a2707c3279cf47a2","subject":"mask (28 Dec 2018)\n# Unsupported by upstream. Removal in 30 days.\n