UMSBuilderV2: build any UMS branch

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
infidel
Developer
Posts: 571
Joined: Thu Jul 12, 2012 5:37 am

UMSBuilderV2: build any UMS branch

Post by infidel »

Setup:
  • Windows:
  • Linux:
    • Install the git and curl packages for your distro, e.g. on ubuntu/debian:

      Code: Select all

      sudo apt-get install git curl
    • Get UMSBuilder for linux.
    • Put buildv2.sh in your UMSBuilder top folder, run it and follow the menus.
  • To build other branches select one of:
    • Choose another branch
    • Choose a pull request
    • Show all - (shows every branch known to git, including old pull requests)
    • Rebuild - (fast-forward and rebuild already existing branches)
    • Specify a commit or tag - (enter a commit or tag when prompted, e.g. 1338a57 or 4.1.3-WindowsLinux-Java8)
    UMSBuilderV2.8.zip
    (4.52 KiB) Downloaded 942 times
    Changelog:
    • V2.8 - support new git-for-windows paths
    • V2.7 - support new ums build changes + linux fixes
    • V2.6 - fix problem chars in pr titles on Windows + ensure entire 'Show all' list is visible.
    • V2.5a - build specific commits/tags + add 'compile' option to platform menu
    • V2.4 - fix pull requests, add rebuild + linux + quick-compile support.
    • V2.3 - compatible with all versions of UMSBuilder
    • V2.2 - show github view of branches and pull requests + fast-forward existing branches (h/t Wolf)
    • V2.1 - compatible with UMSBuilder 1.7 or 1.6
User avatar
DeFlanko
Posts: 724
Joined: Thu Jun 21, 2012 3:43 am
Location: San Pedro, CA
Contact:

Re: UMSBuilderV2: build any UMS branch

Post by DeFlanko »

Awesome!
Wolfgan
Posts: 370
Joined: Fri Feb 08, 2013 12:33 am

Re: UMSBuilderV2: build any UMS branch

Post by Wolfgan »

I second that feeling, impressive work. Thanks a lot!
-- UMS serving PS3, WDTV, Samsung H6400 + J5500 and Kalemsoft renderers! (no video transcoding but remuxing accepted :D )
infidel
Developer
Posts: 571
Joined: Thu Jul 12, 2012 5:37 am

Re: UMSBuilderV2: build any UMS branch

Post by infidel »

Update: V2.2 - show github view of branches and pull requests in menu.
Wolfgan
Posts: 370
Joined: Fri Feb 08, 2013 12:33 am

Re: UMSBuilderV2: build any UMS branch

Post by Wolfgan »

infidel wrote:Update: V2.2 - show github view of branches and pull requests in menu.
Thank you for the update. While trying to update the latest 4.0.0 branch, I receive a message:

Code: Select all

Switched to branch '4.0.0'
Your branch is behind 'origin/4.0.0' by 101 commits, and can be fast-forwarded.
  (use "git pull" to update your local branch)


Is there any way to integrate the required "git pull" into the batch as an option? (ie if local repository is behind origin, ask the user if s/he wants to update the repository before building)
Wolf
-- UMS serving PS3, WDTV, Samsung H6400 + J5500 and Kalemsoft renderers! (no video transcoding but remuxing accepted :D )
infidel
Developer
Posts: 571
Joined: Thu Jul 12, 2012 5:37 am

Re: UMSBuilderV2: build any UMS branch

Post by infidel »

Wolfgan wrote:Is there any way to integrate the required "git pull" into the batch as an option?
I added

Code: Select all

git pull --ff-only
after the branch checkout, please re-download and let me know if it works :).
Wolfgan
Posts: 370
Joined: Fri Feb 08, 2013 12:33 am

Re: UMSBuilderV2: build any UMS branch

Post by Wolfgan »

infidel wrote:
Wolfgan wrote:Is there any way to integrate the required "git pull" into the batch as an option?
I added

Code: Select all

git pull --ff-only
after the branch checkout, please re-download and let me know if it works :).
Yep, it works perfectly now. Thanks for the quick update! Wolf
-- UMS serving PS3, WDTV, Samsung H6400 + J5500 and Kalemsoft renderers! (no video transcoding but remuxing accepted :D )
infidel
Developer
Posts: 571
Joined: Thu Jul 12, 2012 5:37 am

Re: UMSBuilderV2: build any UMS branch

Post by infidel »

Update: V2.3 - compatible with all versions of UMSBuilder.
Wolfgan
Posts: 370
Joined: Fri Feb 08, 2013 12:33 am

Re: UMSBuilderV2: build any UMS branch

Post by Wolfgan »

infidel wrote:Update: V2.3 - compatible with all versions of UMSBuilder.
Thanks for the update. I understand you're referring to this viewtopic.php?f=3&t=2131 announcement?
-- UMS serving PS3, WDTV, Samsung H6400 + J5500 and Kalemsoft renderers! (no video transcoding but remuxing accepted :D )
infidel
Developer
Posts: 571
Joined: Thu Jul 12, 2012 5:37 am

Re: UMSBuilderV2: build any UMS branch

Post by infidel »

Yes, Maven was updated so its directory name is different. As of this version the batch file discovers the Maven+JDK dirs via wildcards so it shouldn't be a problem going forward.
Post Reply