From 2ef4267f72ffdea83960ed0faba778e0d083ff94 Mon Sep 17 00:00:00 2001 From: Ryo Nakamura Date: Wed, 7 Feb 2024 16:09:46 +0900 Subject: bump version to 0.1.4 --- Dockerfile/build-deb.Dockerfile | 2 +- VERSION | 2 +- debian/changelog | 17 +++++++++- doc/DEVELOP.md | 70 ---------------------------------------- doc/RELEASE.md | 71 +++++++++++++++++++++++++++++++++++++++++ rpm/README.md | 17 ---------- rpm/mscp.spec.in | 3 ++ 7 files changed, 92 insertions(+), 90 deletions(-) delete mode 100644 doc/DEVELOP.md create mode 100644 doc/RELEASE.md delete mode 100644 rpm/README.md diff --git a/Dockerfile/build-deb.Dockerfile b/Dockerfile/build-deb.Dockerfile index e3e6381..7d489d9 100644 --- a/Dockerfile/build-deb.Dockerfile +++ b/Dockerfile/build-deb.Dockerfile @@ -13,7 +13,7 @@ RUN ${mscpdir}/scripts/install-build-deps.sh # build RUN cd ${mscpdir} \ - && debuild -us -uc \ + && debuild -us -uc -S \ && mv ${mscpdir} / # Then all debuild output files exsit at /debbuild diff --git a/VERSION b/VERSION index b1e80bb..845639e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.1.3 +0.1.4 diff --git a/debian/changelog b/debian/changelog index c1a56bd..20d4080 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,19 @@ -mscp (0.1.3) UNRELEASED; urgency=medium +mscp (0.1.4) UNRELEASED; urgency=medium + + * add a test for builds on FreeBSD + * updat container images for tests + * dropp support for Python bindings + * clean up error message handling + * add MSCP_SSH_AUTH_PASSWORD/PASSPHRASE environment variables + to pass passwords to MSCP without interactive input (issue #9) + * add a -p option to preserve timestamps + * add -4 and -6 options to use IPv4 or IPv6, respectively + * introduc .clang-format, which is derived from the Linux kernel + * fix the manpage + + -- Ryo Nakamura Wed, 07 Feb 2024 15:56:58 +0900 + +mscp (0.1.3) unstable; urgency=medium * add -I option for inserting intervals between SSH attempts (issue #7) * add -P option, equivalent to -p (just for compatibility) diff --git a/doc/DEVELOP.md b/doc/DEVELOP.md deleted file mode 100644 index 3b1e61c..0000000 --- a/doc/DEVELOP.md +++ /dev/null @@ -1,70 +0,0 @@ - - -## Build mscp as deb package - -`make build-deb` produces a mscp deb package and related files. This -target builds mscp with `debuild` inside a docker container -(Dockerfile is `docker/build-deb.Docerfile`). - - -```console -mkdir build && cd build && cmake .. -make build-deb -``` - -After that: - -```console -$ ls debbuild -mscp_0.1.3_amd64.build mscp_0.1.3_amd64.deb mscp-dbgsym_0.1.3_amd64.ddeb -mscp_0.1.3_amd64.buildinfo mscp_0.1.3.dsc -mscp_0.1.3_amd64.changes mscp_0.1.3.tar.xz -``` - -### To publush mscp in launchpad PPA: - -1. write changes in `debian/changelog` at main branch (the date command needed here is `date -R`) -2. switch to `ppa-focal` or `ppa-jammy` branch -3. reblase to the `main` branch and modify `debian/changes`: - * change `UNRELEASED` to the release name (`focal` or `jammy`). -4. run `make build-deb` at the build directory and `cd debbuild` -5. sign the files with `debsign -k [GPGKEYID] mscp_X.X.X~X_source.changes` -5. upload the files with `dput ppa:upaa/mscp mscp_X.X.X~X_source.changes` - - -## Build mscp as (source) rpm package - -`make build-srpm` produces a mscp src.rpm package. This target builts -mscp with `rpmbuild` inside a docker container (Dockerfile is -`docker/build-srpm.Dockerfile`, generated from -`build-srpm.Dockerfile.in` by cmake). - -```console -mkdir build && cd build && cmake .. -make build-srpm -``` - -After that: - -```console -$ ls *.rpm -mscp-0.1.3-1.el9.src.rpm -``` - -### To publish mscp in COPR: - -1. download `mscp-X.X.X-1.yyy.src.rpm` -2. upload the src.rpm to Build page at COPR. - - - -## Update Document - -The docuemnt is `doc/mscp.rst` (at present). When `mscp.1.in` is -modified, run `make update-rst` to make it up to date. - -```console -mkdir build cd build && cmake .. -make update-rst -``` - diff --git a/doc/RELEASE.md b/doc/RELEASE.md new file mode 100644 index 0000000..654f90f --- /dev/null +++ b/doc/RELEASE.md @@ -0,0 +1,71 @@ + + +## Build mscp as deb package + +`make build-deb` produces a mscp deb package and related files. This +target builds mscp with `debuild` inside a docker container +(Dockerfile is `docker/build-deb.Docerfile`). + + +```console +mkdir build && cd build && cmake .. +make build-deb +``` + +After that: + +```console +$ ls debbuild +mscp_0.1.4.dsc mscp_0.1.4_source.buildinfo mscp_0.1.4.tar.xz +mscp_0.1.4_source.build mscp_0.1.4_source.changes +``` + +### To publush mscp in launchpad PPA: + +1. write changes in `debian/changelog` at main branch (the date command needed here is `date -R`) +2. switch to `ppa-focal` or `ppa-jammy` branch +3. reblase to the `main` branch and modify `debian/changes`: + * change `UNRELEASED` to the release name (`focal` or `jammy`). +4. run `make build-deb` at the build directory and `cd debbuild` +5. sign the files with `debsign -k [GPGKEYID] mscp_X.X.X~X_source.changes` +5. upload the files with `dput ppa:upaa/mscp mscp_X.X.X~X_source.changes` + + +## Build mscp as (source) rpm package + +`make build-srpm` produces a mscp src.rpm package. This target builts +mscp with `rpmbuild` inside a docker container (Dockerfile is +`docker/build-srpm.Dockerfile`, generated from +`build-srpm.Dockerfile.in` by cmake). + +```console +mkdir build && cd build && cmake .. +make build-srpm +``` + +After that: + +```console +$ ls *.rpm +mscp-0.1.3-1.el9.src.rpm +``` + +### To publish mscp in COPR: + +1. update `changelog` in `rpm/mscp.spec` (the date command needed here is `date "+%a %b %d %Y"`) +2. run `make build-srpm` +3. download `mscp-X.X.X-1.yyy.src.rpm` +4. upload the src.rpm to Build page at COPR. + + + +## Update Document + +The docuemnt is `doc/mscp.rst` (at present). When `mscp.1.in` is +modified, run `make update-rst` to make it up to date. + +```console +mkdir build cd build && cmake .. +make update-rst +``` + diff --git a/rpm/README.md b/rpm/README.md deleted file mode 100644 index d24bb64..0000000 --- a/rpm/README.md +++ /dev/null @@ -1,17 +0,0 @@ - -## Build mscp as src.rpm for publishing at COPR - -### How to build - -```shell-session -cd mscp -mkdir build && cd build - -cmake .. make build-srpm -``` - -`make build-srpm` builds mscp src.rpm inside a docker container. - -After that, there is `mscp-0.1.3-1.el9.src.rpm` under the `build` -directory. The next step for publishing is to upload the src.rpm to -[coprs/upaaa/mscp](https://copr.fedorainfracloud.org/coprs/upaaa/mscp/build/6983569/). diff --git a/rpm/mscp.spec.in b/rpm/mscp.spec.in index 40d0d8e..ec30be3 100644 --- a/rpm/mscp.spec.in +++ b/rpm/mscp.spec.in @@ -38,5 +38,8 @@ make -C build install DESTDIR=%{buildroot} %changelog +* Wed Feb 07 2024 Ryo nakamura - 0.1.4-0 +- RPM release for v0.1.4 + * Sat Feb 03 2024 Ryo nakamura - 0.1.3-0 - Initial release for rpm packaging -- cgit v1.2.3