Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
185 commits
Select commit Hold shift + click to select a range
244958f
basics
Apr 17, 2012
8b76a38
basics
Apr 17, 2012
0fa2bd8
examples
Apr 17, 2012
1c3e5b5
readme
Apr 17, 2012
0524196
fixed typo in nosetests command
chassing Apr 17, 2012
8a5c0c6
Merge pull request #2 from chassing/patch-1
Apr 17, 2012
cc59487
Added __init__.py to the tests directory so that relative package imp…
bforst Feb 20, 2013
64a67fd
Merge pull request #3 from bforst/master
Mar 6, 2013
e65e415
[readme] update `learn more` link
WnP Oct 3, 2014
35a7de9
Fixing link to blog post.
jones77 May 19, 2015
1bac33e
Merge pull request #6 from WnP/patch-1
kennethreitz Feb 4, 2016
557ba5d
Merge pull request #8 from jones77/master
kennethreitz Feb 4, 2016
8df82b7
Update Makefile
kennethreitz Feb 4, 2016
48f4c8d
tests: use __file__ to determine library path
vegard Mar 21, 2016
a4114d3
Merge pull request #9 from vegard/patch-1
kennethreitz Jul 13, 2016
cb3a268
add a Python gitignore
jondot Oct 24, 2016
54e0190
Merge pull request #15 from jondot/master
kennethreitz Oct 24, 2016
33ed507
Change initial version to be 0.1.0
idmitrievsky Dec 21, 2016
9bce61d
Merge pull request #16 from idmit/patch-1
kennethreitz Dec 22, 2016
983ab0f
Lets allow the helpers to be helpfull
Feb 1, 2017
e313706
Merge pull request #17 from zinob/master
kennethreitz Feb 1, 2017
583b42b
need to include the LICENSE file, otherwise pypi installs are broken …
jondot Feb 11, 2017
d304a9a
Merge pull request #20 from jondot/fix-missing-license-manifest
kennethreitz May 30, 2017
8022bbc
Update LICENSE
kennethreitz May 30, 2017
2b57a4f
Update setup.py
kennethreitz Aug 28, 2017
5c3a873
Update README.rst
kennethreitz Aug 28, 2017
91c947c
Update README.rst
kennethreitz Aug 28, 2017
9bf25dd
Update README.rst
kennethreitz Aug 28, 2017
38431be
initial commit
lastcoolnameleft Nov 21, 2017
308b3b7
Fix readme
lastcoolnameleft Nov 21, 2017
e026a10
refactor towards classes
lastcoolnameleft Nov 22, 2017
85e6cae
Basic run via files works
lastcoolnameleft Nov 22, 2017
6ab08ce
Add typing delay
lastcoolnameleft Nov 23, 2017
74444f0
Added stdout logging
lastcoolnameleft Nov 23, 2017
931173f
refactor config
lastcoolnameleft Nov 23, 2017
c9915dd
refactor config
lastcoolnameleft Nov 23, 2017
ac04830
cleanup dead code
lastcoolnameleft Nov 23, 2017
049799d
Added dependency injection
lastcoolnameleft Nov 23, 2017
b44e10d
Added more robust testcases
lastcoolnameleft Nov 23, 2017
512b341
Simple variable works
lastcoolnameleft Nov 24, 2017
2da9faf
Add cmd block
lastcoolnameleft Nov 24, 2017
ab34357
Enhance simple tests
lastcoolnameleft Nov 24, 2017
48c9630
Remove duplicate config + refactor
lastcoolnameleft Nov 24, 2017
92c1153
Made adding new system tests easier
lastcoolnameleft Nov 24, 2017
0fd3ba9
update requirements.txt
lastcoolnameleft Nov 28, 2017
2953250
Add "result" processing.
lastcoolnameleft Nov 29, 2017
9ba73f0
delete helper file
lastcoolnameleft Nov 29, 2017
3525ebd
fix test'
lastcoolnameleft Nov 29, 2017
c3a3cca
Add parser class and pre-req
lastcoolnameleft Dec 11, 2017
c4638dc
add prereq
lastcoolnameleft Dec 11, 2017
6b27b2d
add create-file test
lastcoolnameleft Dec 15, 2017
2c96df5
Add prereq. Very basic right now
lastcoolnameleft Dec 15, 2017
8bedd50
refactor parser
lastcoolnameleft Dec 16, 2017
bdb6a66
ready to replace parse_doc2
lastcoolnameleft Dec 16, 2017
c129ad4
MUCH better parser/executor
lastcoolnameleft Dec 16, 2017
24eecfc
rm all SimDem v1 files
lastcoolnameleft Dec 20, 2017
81422e6
Merge branch 'simdem2-upstream' into simdem2
lastcoolnameleft Dec 20, 2017
b530414
Update setup.py
lastcoolnameleft Dec 20, 2017
5b091bc
First attempt at migration to mistletoe
lastcoolnameleft Dec 22, 2017
7c33b32
completed migration from mistune to mistletoe
lastcoolnameleft Dec 22, 2017
72fbb05
Merge branch 'simdem2' of github.com:Azure/simdem into simdem2
lastcoolnameleft Dec 22, 2017
ed47769
add scent.py
lastcoolnameleft Dec 22, 2017
c7d242c
Further optimizations from mistletoe
lastcoolnameleft Dec 22, 2017
05394a0
Rename to parser
lastcoolnameleft Jan 2, 2018
3117719
Add codeblock and context to live together in harmony
lastcoolnameleft Jan 2, 2018
ecbe8e4
Add documentation
lastcoolnameleft Jan 2, 2018
27d5e75
More better documentation
lastcoolnameleft Jan 2, 2018
65335d9
refactor var names
lastcoolnameleft Jan 2, 2018
f7a284f
refactor to complete dependency injection
lastcoolnameleft Jan 2, 2018
d8ac944
Add bash executor class
lastcoolnameleft Jan 2, 2018
296a7e5
refactor import statements
lastcoolnameleft Jan 2, 2018
fa4ddb0
refactor import statements
lastcoolnameleft Jan 2, 2018
6f6b6db
started fixing pylint issues
lastcoolnameleft Jan 2, 2018
0b4ae9e
Update syntax.md
lastcoolnameleft Jan 3, 2018
8973e23
Update syntax.md
lastcoolnameleft Jan 3, 2018
93ad4c8
Add links to existing docs
rgardler-msft Jan 3, 2018
9ddd3e8
Merge pull request #87 from Azure/rgardler-syntax-docs
lastcoolnameleft Jan 7, 2018
eb30880
update documentation
lastcoolnameleft Jan 7, 2018
b7c6764
update doc
lastcoolnameleft Jan 7, 2018
f277045
Implemented context parser for next_steps
lastcoolnameleft Jan 7, 2018
729ecdd
fix pylint issues
lastcoolnameleft Jan 8, 2018
67000f4
Fix pylint issues
lastcoolnameleft Jan 8, 2018
65a958a
Disable pylint error.
lastcoolnameleft Jan 8, 2018
0002b67
Add next_steps to codeblock parser
lastcoolnameleft Jan 8, 2018
80c6249
Fix CLI after major core refactoring
lastcoolnameleft Jan 8, 2018
b37ee95
rename run_blocks
lastcoolnameleft Jan 11, 2018
0699494
Major refactor. Created modes and default demo mode.
lastcoolnameleft Jan 12, 2018
aa12f04
Updated for clearer debugging
lastcoolnameleft Jan 12, 2018
39317d3
Fix testcases after mode refactor
lastcoolnameleft Jan 12, 2018
cc4b64f
Fix setup.py
lastcoolnameleft Jan 12, 2018
a85adf7
Move CLI code to standard location
lastcoolnameleft Jan 12, 2018
2c51a71
Delete dead code
lastcoolnameleft Jan 16, 2018
4095814
Fix unexpected content
lastcoolnameleft Jan 16, 2018
2d10f7f
Implement Mode Common for common mode code
lastcoolnameleft Jan 16, 2018
6292e0d
Commit to debug double-print
lastcoolnameleft Jan 16, 2018
a211750
Remove double call of main()
lastcoolnameleft Jan 16, 2018
418efcb
Split demo + tutorial expected_outputs
lastcoolnameleft Jan 16, 2018
7f475c2
fix bug in simdem1 parser
lastcoolnameleft Jan 17, 2018
1f1c400
Refactored simdem parser to not use AST
lastcoolnameleft Jan 17, 2018
6171c4e
Refactor simdem1 parser (remove ast)
lastcoolnameleft Jan 17, 2018
8df6826
Remove deadcode
lastcoolnameleft Jan 17, 2018
5b47283
Finishing touches on rm-ast refactor
lastcoolnameleft Jan 17, 2018
edd8566
Fix all tests after refactoring
lastcoolnameleft Jan 17, 2018
cb2b26e
Remove file level example and rename test files
lastcoolnameleft Jan 17, 2018
110990c
Fix prereq code
lastcoolnameleft Jan 18, 2018
ac6d3b6
Moved duplciate code to common mode
lastcoolnameleft Jan 18, 2018
bdc946f
removed unnecessary dirs
lastcoolnameleft Jan 18, 2018
75ac111
Fix documentation
lastcoolnameleft Jan 19, 2018
9e8f9bf
Add next_steps functionality
lastcoolnameleft Jan 19, 2018
96ffc9e
Add comment for file path
lastcoolnameleft Jan 19, 2018
b8c2d04
Fix path issue for prereq/next_steps
lastcoolnameleft Jan 19, 2018
ab64ac5
Implement input for demo mode
lastcoolnameleft Jan 19, 2018
fc4beb6
Add prompting for a character when in demo mode. Created interactive…
lastcoolnameleft Jan 19, 2018
d08ac1e
Upgrade mistletoe to 0.5
lastcoolnameleft Jan 22, 2018
60e4b71
Fix install docs
lastcoolnameleft Jan 22, 2018
b8a0f91
Allow ability to override config setting via cli
lastcoolnameleft Jan 23, 2018
e0c8edc
Moved print_config_data to own function
lastcoolnameleft Jan 23, 2018
3ec9d70
Add SEO tests
lastcoolnameleft Jan 24, 2018
bcbf8a7
Update README.md
lastcoolnameleft Jan 26, 2018
cd39e48
Rename content dir to examples
lastcoolnameleft Jan 27, 2018
a4b06e1
Merge branch 'simdem2' of github.com:Azure/simdem into simdem2
lastcoolnameleft Jan 27, 2018
192e75f
remove scratch dir
lastcoolnameleft Jan 27, 2018
ecd531e
Update syntax.md
lastcoolnameleft Jan 27, 2018
9b6804c
Update README.md
lastcoolnameleft Jan 27, 2018
3a2e6de
add step files to simdem example
lastcoolnameleft Jan 27, 2018
f0969a0
Add ability to use default ini file
lastcoolnameleft Jan 29, 2018
a90ad4a
More refactoring to not duplicate code
lastcoolnameleft Jan 29, 2018
91dd10a
Fix text not being displayed and clearing screen on steps
lastcoolnameleft Jan 29, 2018
8f608d7
Update for SimDem demo for OScon
lastcoolnameleft Jan 29, 2018
99e03a8
Add Dockerfile and fix issues for CircleCI integration
lastcoolnameleft Jan 30, 2018
6483fa2
Add better next-steps logic
lastcoolnameleft Feb 2, 2018
f548351
Got the demo + break to work as I want it to.
lastcoolnameleft Feb 2, 2018
3d09504
traiing whitespace is the enemy
lastcoolnameleft Feb 2, 2018
2011692
Fix broken testcases
lastcoolnameleft Feb 2, 2018
6d5874d
Fix clear for tutorial mode
lastcoolnameleft Feb 2, 2018
bb31e75
Fix collections
lastcoolnameleft Feb 2, 2018
331708c
Create Basic UI class
lastcoolnameleft Feb 5, 2018
db26e72
Fix cli after refactor of ui class
lastcoolnameleft Feb 5, 2018
b58e196
Fix refactor issue
lastcoolnameleft Feb 5, 2018
ebf5a68
Refactor UI class to not just print raw text. Future planning
lastcoolnameleft Feb 5, 2018
a6d7905
Fix issue where text did not render
lastcoolnameleft Feb 7, 2018
59737d5
update docs
lastcoolnameleft Feb 8, 2018
d862cd0
Change validation to 0.8
lastcoolnameleft Feb 9, 2018
ec755da
fix broken test
lastcoolnameleft Feb 12, 2018
14b2faf
Add processing of ToC
lastcoolnameleft Feb 12, 2018
efeb0bd
Add cleanup mode
lastcoolnameleft Feb 16, 2018
f6aef9c
Add license to setup.py
SorraTheOrc Feb 23, 2018
e1e7492
Fix expected result for syntax
lastcoolnameleft Mar 4, 2018
26b122b
Merge branch 'simdem2' of github.com:Azure/simdem into simdem2
lastcoolnameleft Mar 4, 2018
c1c7f99
Treat validation as normal case if not a prepreq. https://github.com/…
lastcoolnameleft Mar 4, 2018
477beee
Raise error when calling render for non-supported section
lastcoolnameleft Mar 5, 2018
b485b5c
Add ability to specify setup script
lastcoolnameleft Mar 5, 2018
0d4072d
Add ability to specify setup script
lastcoolnameleft Mar 5, 2018
86a4bde
Update README.md
lastcoolnameleft Mar 5, 2018
a83095c
cleanup setup script output
lastcoolnameleft Mar 5, 2018
c8b7c05
update version to 0.9.0
lastcoolnameleft Mar 6, 2018
cbf6da9
fix mistletoe version
lastcoolnameleft Mar 6, 2018
9336b29
fix output
lastcoolnameleft Mar 6, 2018
452b98f
fix unit tests not working as python setup.py tests
lastcoolnameleft Mar 6, 2018
b1aebbe
add circleci files
lastcoolnameleft Mar 6, 2018
0f51e51
Update README.md
lastcoolnameleft Mar 8, 2018
6b8243b
document potential instalation problem - fixes #99
SorraTheOrc Mar 9, 2018
4840505
Add -e functionality
lastcoolnameleft Mar 14, 2018
de9c179
Merge branch 'simdem2' of github.com:Azure/simdem into simdem2
lastcoolnameleft Mar 14, 2018
60cb5a7
Fix issue in https://github.com/Azure/simdem/issues/106
lastcoolnameleft Mar 15, 2018
c364431
Add --version
lastcoolnameleft Mar 15, 2018
9d1b4e4
Add ability to suppress display when running commands
lastcoolnameleft Mar 16, 2018
b89400f
Add 1st pass for SIMDEM_TEMP_DIR
lastcoolnameleft Mar 16, 2018
d6646eb
Add reference to users home dir
lastcoolnameleft Mar 16, 2018
a658d6f
Add relevant comments
lastcoolnameleft Mar 19, 2018
71f306f
Add support for "d" https://github.com/Azure/simdem/issues/107
lastcoolnameleft Mar 19, 2018
f96afc5
Add color to output
lastcoolnameleft Mar 19, 2018
8185a02
Add support for env.sh
lastcoolnameleft Apr 12, 2018
0ce78ed
Fix env-files dir name which was excluded due to gitignore
lastcoolnameleft Apr 12, 2018
9f267ab
fix https://github.com/Azure/simdem/issues/109
lastcoolnameleft May 16, 2018
84a9946
Update features.md
lastcoolnameleft May 17, 2018
f9333cc
Update README.md
lastcoolnameleft May 18, 2018
42ebfa7
Update syntax.md
lastcoolnameleft May 18, 2018
3a6f053
Update README.md
lastcoolnameleft May 18, 2018
0a8b255
Update README.md
lastcoolnameleft May 18, 2018
76e339e
Update README.md
lastcoolnameleft May 18, 2018
8ffe996
Improve main README.md
lastcoolnameleft May 20, 2018
aa1bfb8
fix merge conflict
lastcoolnameleft May 21, 2018
c61eaec
fix simdem v2 merge
lastcoolnameleft May 21, 2018
6b5d40f
Update README.md
lastcoolnameleft Aug 16, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,4 @@ jobs:
name: run tests
command: |
. venv/bin/activate
python main.py test test

- store_artifacts:
path: test-reports
destination: test-reports

python setup.py test
106 changes: 103 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,112 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover
.hypothesis/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# IPython Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# dotenv
.env

# virtualenv
.venv/
venv/
ENV/

# Spyder project settings
.spyderproject

# Rope project settings
.ropeproject

# Other
.vscode
simdem-env
hello_world
.simdem
||||||| merged common ancestors
*~
\#*
.#*
env.local.json
!demo_scripts/simdem/variables/env.local.json
!demo_scripts/test/env.local.json
!/env.local.json
*.log

# Python
__pycache__
simdem-env/
simdem-env/
env.local.json
!demo_scripts/simdem/variables/env.local.json
!demo_scripts/test/env.local.json
!/env.local.json
*.log
18 changes: 18 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
FROM python:3

WORKDIR /usr/src/app
RUN apt-get update

COPY requirements.txt ./

RUN pip install --no-cache-dir -r requirements.txt

COPY . .

RUN pip install -v -e .

# The default prompt is # which throws off the initialization
RUN echo 'export PS1="$ "' >> /root/.bashrc

CMD [ "simdem" ]

49 changes: 0 additions & 49 deletions Dockerfile_cli

This file was deleted.

65 changes: 0 additions & 65 deletions Dockerfile_novnc

This file was deleted.

25 changes: 0 additions & 25 deletions GETTING_STARTED.md

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include LICENSE
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
init:
pip3 install -r requirements.txt

test:
python3 setup.py nosetests
Loading