Dataset Viewer
Auto-converted to Parquet Duplicate
conversations
listlengths
2
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "Allow Creation of Hostname When File is Missing\n\nWithin augtool, the current `hostname` lens does not allow you to create a hostname entry under the following circumstances:\r\n* /etc/hostname file is empty\r\n* /etc/hostname file does not exist\r\n\r\n:: /etc/hostname file i...
augeas
chosen
[ { "from": "system", "value": "Remove bogus reset of 'record' counter\n" }, { "from": "human", "value": "# Parsing /etc/inittab\n\n#map\n# grammar inittab\n# include '/etc/inittab' '/system/config/inittab'\n#end\n\ngrammar inittab\n\n token SEP ':'\n token EOL '\\n'\n\n file: ( comment | rec...
augeas
chosen
[ { "from": "system", "value": "Remove trailing white spaces from puppet test\n\nTrailing white lines are valid in a puppet file, but the test is rejected when\npushing to master git repository.\n\nremote: lenses/tests/test_puppetfileserver.aug:20: trailing whitespace.\nremote: +allow *\nremote: error: hook d...
augeas
chosen
[ { "from": "system", "value": "UpdateDB: Update tests to ensure spaces around = are OK\n" }, { "from": "human", "value": "(*\nModule: Test_UpdateDB\n Provides unit tests and examples for the <UpdateDB> lens.\n*)\nmodule Test_UpdateDB =\n\n(* Test: UpdateDB.lns\n Simple get test *)\ntest Upda...
augeas
chosen
[ { "from": "system", "value": "Add Sep.equal, used in nrpe.aug\n" }, { "from": "human", "value": "(*\nModule: Sep\n Generic separators to build lenses\n\nAuthor: Raphael Pinson <raphink@gmail.com>\n\nAbout: License\n This file is licensed under the LGPLv2+, like the rest of Augeas.\n*)\n\n\nmo...
augeas
chosen
[ { "from": "system", "value": "Fix syntax error in test\n" }, { "from": "human", "value": "module Fail_union_atype =\n (* This is illegal, otherwise we don't know which alternative *)\n (* to take for a tree { \"a\" = \"?\" } *)\n\n let del_str (s:string) = del s s\n\...
augeas
chosen
[ { "from": "system", "value": "Fix put test - it was checking for hte wrong result\n" }, { "from": "human", "value": "module Pass_subtree_growth =\n\n (* Make sure that a subtree that is not the lowest one does indeed *)\n (* grow the tree, instead of just setting the label of an enclosed *)\n ...
augeas
chosen
[ { "from": "human", "value": "Add more recent nagios lens\n" }, { "from": "gpt", "value": "(*\nModule: NagiosConfig\n Parses /etc/{nagios{3,},icinga/*.cfg\n\nAuthors: Sebastien Aperghis-Tramoni <sebastien@aperghis.net>\n Rapha毛l Pinson <raphink@gmail.com>\n\nAbout: License\n This file i...
augeas
chosen
[ { "from": "human", "value": "Add test for radicale lens\n" }, { "from": "gpt", "value": "module Test_radicale =\n\n let conf = \"\n[server]\n\n[encoding]\n\n[well-known]\n\n[auth]\n\n[git]\n\n[rights]\n\n[storage]\n\n[logging]\n\n[headers]\n\n\"\n\n test Radicale.lns get conf =\n {}\n ...
augeas
chosen
[ { "from": "human", "value": "Add basic EPSG augeas lens\n" }, { "from": "gpt", "value": "module EPSG =\n\nlet proj = [ key /[^\\/= \\t\\n]+/ . (Sep.equal . store Rx.no_spaces)? ]\n\nlet entry = [ Util.del_str \"<\" . key Rx.integer . Util.del_str \">\"\n . Sep.space . Build.opt_list p...
augeas
chosen
[ { "from": "system", "value": "Add /etc/mtab to known files\n" }, { "from": "human", "value": "(* Parsing /etc/fstab *)\n\nmodule Fstab =\n autoload xfm\n\n let sep_tab = Sep.tab\n let sep_spc = Sep.space\n let comma = Sep.comma\n let eol = Util.eol\n\n let comment = Util.comment\n l...
augeas
chosen
[ { "from": "system", "value": "Store comments in subtrees so they are restored properly\n" }, { "from": "human", "value": "# Parsing /etc/inittab\n\nmap\n grammar pam\n # We really need to be able to exclude some files, like\n # backup files and .rpmsave files\n include '/etc/pam.d/*' '/syste...
augeas
chosen
[ { "from": "human", "value": "Check that let expressions work\n" }, { "from": "gpt", "value": "(* Test let expressions *)\nmodule Pass_let_exp =\n\n (* This definition is insanely roundabout; it's written that way *)\n (* since we want to exercise LET expressions *)\n let l...
augeas
chosen
README.md exists but content is empty.
Downloads last month
5