Code Monkey home page Code Monkey logo

hotfix's Introduction

Hotfix Helper

This suite of utilities takes in a hotfix specifications document of the form:

<hotfix>
	<title>RPE 3.5.2 Hotfix 7</title>
	<build>RPE-3.5.2.25-HF7-148</build>
	<web>10.1.0.180</web>
	<app>10.1.0.178</app>
	<appspecial>Speical App Server instructions</appspecial>
	<offline>10.1.0.179</offline>
	<offlinespecial>Speical App Server instructions</offlinespecial>
	<issue>
		<number>38293</number>
		<summary>Optimized Process Overpayment offline. Child issue 38954 tracks an index script for this issue.</summary>
		<file>20151007_1341_38954_SS.sql</file>
		<file>getStagingData.sql</file>
	</issue>
</hotfix>

and "compiles" it to an instructions document of the form:

<instructions>
	<build>RPE-3.5.2.25-HF7-148</build>
	<title>RPE 3.5.2 Hotfix 7</title>
	<issue>
		<number>38293</number>
		<summary>Optimized Process Overpayment offline.</summary>
		<file>20151007_1341_38954_SS.sql</file>
		<file>getStagingData.sql</file>
	</issue>
	<database>
		<script>20150910_0124_39022_SS.sql</script>
		<script>20151006_0513_38983_SS.sql</script>
	</database>
	<businessrules>true</businessrules>
	<app>
		<replacement>
			<filename>ITPCoreBusiness.dll</filename>
			<path>C:\RSI\Web Services\ExternalWebService\bin\ITPCoreBusiness.dll</path>
			<path>C:\RSI\Web Services\NetWebServices\bin\ITPCoreBusiness.dll</path>
			<path>C:\RSI\Web Services\Rules Services\bin\ITPCoreBusiness.dll</path>
		</replacement>
		<restartiis>true</restartiis>
	</app>
</instructions>

and then "renders" this to an HTML document that's ready to go out to sites.

The initial spec XML can be easily made with the Hotfixhelper frontend web app.

Installation

Following python packages required:

  • pip install pystache
  • pip install markdown
  • pip install xmltodict

hotfix's People

Contributors

mark-henry avatar

Watchers

James Cloos avatar Duy Hoang avatar

Forkers

dqhoang

hotfix's Issues

Frontend: Add quick-skeleton functionality

When I receive the email from dev listing the issues in the hotfix, the first step is to skeleton out the hotfix in the front end, creating one issue per issue. How about a text field into which I can paste the text of the email. When the application detects the paste, it shall create this skeleton automatically.

Add --only-missing option to stage.py

Teach stage.py an --only-missing optional switch. If specified, stage.py should ignore existing files and only search for and stage files that are not staged.

Enumerate .xlsx files by name

Enumerate .xlsx files by name instead of saying 'all .xlsx files' to make this section consistent with the rest of the document.

Compile.py shall create a tag under the section for each .xlsx file encountered in the spec.

Modify template in render.py to display these modifications.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.