Skip to content

Working copies dashboard for better organisation, connected with jira.

License

Notifications You must be signed in to change notification settings

radekcieciwa/working_dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

working_dashboard

How to run

Examples

dashboard boot IOS-123456
dashboard-view
dashboard delete IOS-123456

Possibilities

boot - create a working directory and initiate the scripts for ticket

open - opens the directory for ticket

Create working copy fast and prototype the solution, end with a patch

boot-random - creates a working directory, without any scripts

patch-close - remove working directory and creates the patch in main directory with the same file name as working directory

How to install

Add this to your ~/.bash_profile file.

export BADOO_REPO_DIR="/Users/`whoami`/Development/iOS/Badoo"
export DASHBOARD_DIR="$BADOO_REPO_DIR/working_dashboard"

# This will source main dashboard.sh script. It's important to be able to enter directory after creating the ticket.
source $DASHBOARD_DIR/dashboard.sh

Why?

Previously I dependent only on directory convention, which were hardcoded in scripts. Now, they are control by env variables.

Default setup

Default setup is in dashboard.sh, but you can override it by exporting your own values to those variables.

export TICKETS_WORKSPACE_DIR="$BADOO_REPO_DIR"
export SOURCE_REPO_PATH="$BADOO_REPO_DIR/_source"

SOURCE_REPO_PATH - this is your original (ad only one) working copy directory, keep the some neutral branch, like dev or master

TICKETS_WORKSPACE_DIR - place where you want to add your worktree copies

Dashbaord view

Python modules requirements:

These can be install via pip (install pip https://pip.pypa.io/en/stable/installing/):

pip install jira

pip install keyring

  • jira
  • keyring

Jira script will prompt you for:

  • server (eg. https://your.domain.co.uk)
  • user (your jira user eg. john.doe - so without @bla.bla.com)
  • password
To clean those entries
  • Go to keychain
  • Search for jira_script
  • Remove entries

About

Working copies dashboard for better organisation, connected with jira.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published