GithubHelp home page GithubHelp logo

darkflag / openhab-linuxpkg Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openhab/openhab-linuxpkg

0.0 2.0 0.0 583 KB

Repo for Linux packages

License: Eclipse Public License 1.0

Shell 100.00%

openhab-linuxpkg's Introduction

openHAB Linux Package Builder

This repository uses Gradle to download the openHAB distributions and package them as .deb or .rpm files. These packages follow the usual service or program directory conventions; therefore the directories are different to a manual openHAB install.

Anyone can use a fork of this repo to build their own openHAB .deb or .rpm files. Upload tasks are specific to openHAB's distribution services, powered by JFrog's Artifactory and Bintray.

For information about the general openHAB 2 package, please visit the openhab-distro github repo. For general information about openHAB2, please visit the openHAB homepage.

Tasks

A list of up to date tasks can be obtained by using the command ./gradlew tasks. Common tasks include:

Task Name Description
downloadDistros Downloads the latest compressed packages
download-[TYPE]-openhab2-[PACKAGE NAME] Downloads the latest version of the specified package
distro-[TYPE]-openhab2-[PACKAGE NAME] Builds a specific package without uploading it
packageDistros Runs all distro-* tasks

You can set the target version by setting OPENHAB_VERSION=x.x.x, OPENHAB_TESTING_VERSION=x.x.x.rcx and OPENHAB_SNAPSHOT_VERSION=x.x.x

Tasks with dependencies (e.g. package depends on a download task) will run them first automatically.

Package Types

The two package [TYPE]s are

  • Deb
  • Rpm

The list of [PACKAGE NAME]s are:

  • release
    • addons-release
    • addons-legacy-release
  • testing
    • addons-testing
    • addons-legacy-testing
  • snapshot
    • addons-snapshot
    • addons-legacy-snapshot

Examples

## Build the .deb package for openhab2 release and place it in build/distributions.
sudo ./gradlew -DOPENHAB_VERSION=2.1.0 distro-Deb-openhab2-release

## Build the .rpm packages for openhab snapshot and place them in build/distributions.
sudo ./gradlew -DOPENHAB_SNAPSHOT_VERSION=2.2.0 distro-Rpm-openhab2-snapshot distro-Rpm-openhab2-addons-snapshot

openhab-linuxpkg's People

Contributors

bclark09 avatar theoweiss avatar thomdietrich avatar ralle12345 avatar

Watchers

James Cloos avatar  avatar

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.