Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
security:logging
logstash
README
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File README of Package logstash
# Updating logstash from 7.2.0 to 7.4.0 ## prep a local git checkout - have a git checkout git clone https://github.com/elastic/logstash.git - checkout the last packaged version git checkout v7.2.0 - branch off the 'patch tree' git branch opensuse - apply patches <for every patch in https://build.opensuse.org/package/show/security:logging/logstash> git apply $patch => now you have a local git copy with all relevant patches => you can use this for all future version upgrades ## downloading a new version - get off your local branch git checkout master - pull latest changes git pull origin master - fetch tags git fetch origin - now rebase your branch to the new version (rebase all diffs between v7.2.0 and the tip of the opensuse branch onto v7.4.0) git rebase --onto v7.4.0 v7.2.0 opensuse - fix any breakage <$whatever> - generate new patch set git format-patch v7.4.0 ## assemble new package - checkout OBS package osc co security:logging logstash cd security/logging/logstash - get new archive wget https://github.com/elastic/logstash/archive/v7.4.0.tar.gz - rename tarball mv v7.4.0.tar.gz logstash-7.4.0.tar.gz - drop old tarball rm logstash-7.2.0.tar.gz - replace patches mv <git-checkout-dir>/00*.patch . - update file list osc addremove - update .spec vi logstash.spec - update .changes osc vc
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor