openhab / openhab/openhab-linuxpkg
Install repo paths on install or update
Open
Nobody has claimed this yet.
.deb
.rpm
enhancement
- Dominant language
- Shell
- Stars
- 18
- Forks
- 35
- PR merge metrics
- No merged PRs in 30d
Description
If it doesn't exist already, we should add the openHAB repository to the sources list.
The repo/list file should enable the current repository by default.
For apt based Linux:
/etc/apt/sources.list.d/openhab2.list
### openHAB 2.X Repositories ###
# This file contains the repos for the different versions of openHAB.
# Remove the hash comment on the deb line to enable a particular repo
## openHAB Stable Repository
deb https://dl.bintray.com/openhab/apt-repo2 stable main
## openHAB Testing Repository
#deb https://openhab.jfrog.io/openhab/openhab-linuxpkg testing main
## openHAB Snapshot Repository
#deb https://openhab.jfrog.io/openhab/openhab-linuxpkg unstable main
For rpm based Linux
/etc/yum.repos.d/openhab2.repo
### openHAB 2.X Repositories ###
# This file contains the repos for the different versions of openHAB.
# set enabled to 1/0 to enable/disable a repo respectively
[openHAB-Stable]
name=openHAB 2.x.x Snapshots
baseurl=https://dl.bintray.com/openhab/rpm-repo2/stable
gpgcheck=1
gpgkey=https://bintray.com/user/downloadSubjectPublicKey?username=openhab
enabled=1
[openHAB-Testing]
name=openHAB 2.x.x Snapshots
baseurl=https://openhab.jfrog.io/openhab/openhab-linuxpkg-rpm/testing
gpgcheck=1
gpgkey=https://bintray.com/user/downloadSubjectPublicKey?username=openhab
enabled=0
[openHAB-Snapshots]
name=openHAB 2.x.x Snapshots
baseurl=https://openhab.jfrog.io/openhab/openhab-linuxpkg-rpm/unstable
gpgcheck=1
gpgkey=https://bintray.com/user/downloadSubjectPublicKey?username=openhab
enabled=0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the install and update entry points that manage package repository configuration. Use /etc/apt/sources.list.d/openhab2.list and /etc/yum.repos.d/openhab2.repo as the target paths, and verify that installation or update creates them with the stable repository enabled by default for both apt- and rpm-based Linux.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- devops
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100