This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Convert Java properties file to bash env var script

Usage

It reads from stdin and writes to stdout:

$ cat > sample.properties
teamcity.agent.jvm.file.encoding=UTF-8
teamcity.agent.jvm.file.separator=/
teamcity.agent.jvm.os.arch=amd64
teamcity.agent.jvm.os.name=Linux
teamcity.agent.jvm.os.version=3.13.0-43-generic
teamcity.agent.jvm.path.separator=\:
teamcity.agent.jvm.specification=1.8
teamcity.agent.jvm.user.country=US
teamcity.agent.jvm.user.home=/home/teamcity
runParam.script.content=\#\!/bin/bash\n\nset -o errexit\n\# set -o xtrace\n\necho "*** <Root project> \:\: \\"run pipeline script\\"

$ jprops2bash < sample.properties
export TEAMCITY_AGENT_JVM_FILE_ENCODING='UTF-8'
export TEAMCITY_AGENT_JVM_FILE_SEPARATOR='/'
export TEAMCITY_AGENT_JVM_OS_ARCH='amd64'
export TEAMCITY_AGENT_JVM_OS_NAME='Linux'
export TEAMCITY_AGENT_JVM_OS_VERSION='3.13.0-43-generic'
export TEAMCITY_AGENT_JVM_PATH_SEPARATOR=':'
export TEAMCITY_AGENT_JVM_SPECIFICATION='1.8'
export TEAMCITY_AGENT_JVM_USER_COUNTRY='US'
export TEAMCITY_AGENT_JVM_USER_HOME='/home/teamcity'
export RUNPARAM_SCRIPT_CONTENT='#!/bin/bash\n\nset -o errexit\n# set -o xtrace\n\necho "*** <Root project> :: \"run pipeline script\"'

and if you wanted to set environment variables for all of these you could do something like the following:

$ env | grep TEAM
$ eval $(jprops2bash < sample.properties)
$ env | grep TEAM
TEAMCITY_AGENT_JVM_SPECIFICATION=1.8
TEAMCITY_AGENT_JVM_OS_NAME=Linux
TEAMCITY_AGENT_JVM_PATH_SEPARATOR=:
TEAMCITY_AGENT_JVM_FILE_SEPARATOR=/
TEAMCITY_AGENT_JVM_OS_ARCH=amd64
TEAMCITY_AGENT_JVM_USER_HOME=/home/teamcity
TEAMCITY_AGENT_JVM_FILE_ENCODING=UTF-8
TEAMCITY_AGENT_JVM_USER_COUNTRY=US
TEAMCITY_AGENT_JVM_OS_VERSION=3.13.0-43-generic
Release History

Release History

0.0.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
jprops2bash-0.0.2.tar.gz (2.3 kB) Copy SHA256 Checksum SHA256 Source Jun 5, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting