Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bluechi: rename source code and build systems #460

Merged

Conversation

dougsland
Copy link
Contributor

@dougsland dougsland commented Aug 14, 2023

hirte project will be renamed to bluechi.
This PR starts this process.

Fixes: #447
Fixes: #448
Fixes: #449
Fixes: #450
Fixes: #451
Signed-off-by: Douglas Schilling Landgraf dougsland@redhat.com

@dougsland
Copy link
Contributor Author

dougsland commented Aug 14, 2023

Ok, this is the initial commit, it's missing only doc/ and tests/ which I can update soon but this PR can be merged as showed here:

# make 
# make rpm

bluechi-0.5.0-0.202308141735.gitc18e45a.el9.src.rpm
bluechi-0.5.0-0.202308141735.gitc18e45a.el9.x86_64.rpm
bluechi-agent-0.5.0-0.202308141735.gitc18e45a.el9.x86_64.rpm
bluechi-agent-debuginfo-0.5.0-0.202308141735.gitc18e45a.el9.x86_64.rpm
bluechi-ctl-0.5.0-0.202308141735.gitc18e45a.el9.x86_64.rpm
bluechi-ctl-debuginfo-0.5.0-0.202308141735.gitc18e45a.el9.x86_64.rpm
bluechi-debuginfo-0.5.0-0.202308141735.gitc18e45a.el9.x86_64.rpm
bluechi-debugsource-0.5.0-0.202308141735.gitc18e45a.el9.x86_64.rpm
bluechi-selinux-0.5.0-0.202308141735.gitc18e45a.el9.x86_64.rpm
python3-bluechi-0.5.0-0.202308141735.gitc18e45a.el9.x86_64.rpm




# dnf install *.rpm
Last metadata expiration check: 0:31:41 ago on Mon Aug 14 17:04:51 2023.
Dependencies resolved.
==========================================================================================================================
 Package                         Architecture   Version                                        Repository            Size
==========================================================================================================================
Installing:
 bluechi                         x86_64         0.5.0-0.202308141735.gitc18e45a.el9            @commandline          63 k
 bluechi-agent                   x86_64         0.5.0-0.202308141735.gitc18e45a.el9            @commandline          62 k
 bluechi-agent-debuginfo         x86_64         0.5.0-0.202308141735.gitc18e45a.el9            @commandline         115 k
 bluechi-ctl                     x86_64         0.5.0-0.202308141735.gitc18e45a.el9            @commandline          33 k
 bluechi-ctl-debuginfo           x86_64         0.5.0-0.202308141735.gitc18e45a.el9            @commandline          61 k
 bluechi-debuginfo               x86_64         0.5.0-0.202308141735.gitc18e45a.el9            @commandline         136 k
 bluechi-debugsource             x86_64         0.5.0-0.202308141735.gitc18e45a.el9            @commandline          76 k
 bluechi-selinux                 x86_64         0.5.0-0.202308141735.gitc18e45a.el9            @commandline          24 k
 python3-bluechi                 x86_64         0.5.0-0.202308141735.gitc18e45a.el9            @commandline          22 k
Installing dependencies:
 python3-dasbus                  noarch         1.4-5.el9                                      appstream            102 k

Transaction Summary
==========================================================================================================================
Install  10 Packages

Total size: 694 k
Total download size: 102 k
Installed size: 2.1 M
Is this ok [y/N]:



# systemctl start bluechi
[root@control 08-14-2023]# systemctl status bluechi
● bluechi.service - Bluechi systemd service controller manager daemon
     Loaded: loaded (/usr/local/lib/systemd/system/bluechi.service; disabled; preset: disabled)
     Active: active (running) since Mon 2023-08-14 17:37:11 UTC; 897ms ago
       Docs: man:bluechi(1)
             man:bluechi.conf(5)
   Main PID: 31030 (bluechi)
      Tasks: 1 (limit: 1638)
     Memory: 392.0K
        CPU: 4ms
     CGroup: /system.slice/bluechi.service
             └─31030 /usr/bin/bluechi

Aug 14 17:37:11 control systemd[1]: Started Bluechi systemd service controller manager daemon.
Aug 14 17:37:11 control bluechi[31030]: 2023-08-14 17:37:11,845+0000 INFO        : Starting bluechi 0.5.0



# systemctl start bluechi-agent
[root@control 08-14-2023]# systemctl status bluechi-agent
● bluechi-agent.service - Bluechi systemd service controller agent daemon
     Loaded: loaded (/usr/local/lib/systemd/system/bluechi-agent.service; disabled; preset: disabled)
     Active: active (running) since Mon 2023-08-14 17:37:30 UTC; 1s ago
       Docs: man:bluechi-agent(1)
             man:bluechi-agent.conf(5)
   Main PID: 31035 (bluechi-agent)
      Tasks: 1 (limit: 1638)
     Memory: 540.0K
        CPU: 5ms
     CGroup: /system.slice/bluechi-agent.service
             └─31035 /usr/bin/bluechi-agent

Aug 14 17:37:30 control systemd[1]: Started Bluechi systemd service controller agent daemon.
Aug 14 17:37:30 control bluechi-agent[31035]: 2023-08-14 17:37:30,805+0000 INFO        : Starting bluechi-agent 0.5.0
Aug 14 17:37:30 control bluechi-agent[31035]: 2023-08-14 17:37:30,813+0000 INFO        : Connecting to manager on tcp:hos>
Aug 14 17:37:30 control bluechi-agent[31035]: 2023-08-14 17:37:30,813+0000 ERROR        : Registering as 'control' failed>
Aug 14 17:37:30 control bluechi-agent[31035]: 2023-08-14 17:37:30,813+0000 ERROR        : Initial manager connection fail>
lines 1-17/17 (END)




NODE                |ID                                                         |   ACTIVE|      SUB
====================================================================================================
control             |dev-ttyS26.device                                          |   active|  plugged
control             |dev-ttyS21.device                                          |   active|  plugged
control             |dev-ttyS2.device                                           |   active|  plugged
control             |dev-ttyS4.device                                           |   active|  plugged
control             |systemd-pcrphase-sysinit.service                           | inactive|     dead
control             |ypserv.service                                             | inactive|     dead
control             |systemd-udevd.service                                      |   active|  running
control             |dev-rfkill.device                                          |   active|  plugged
control             |dracut-cmdline.service                                     | inactive|     dead
control             |rc-local.service                                           | inactive|     dead
control             |sys-devices-platform-serial8250-tty-ttyS20.device          |   active|  plugged
control             |run-netns-netns\x2d7450ba04\x2d67f0\x2d21ea\x2d8400\x2ddba1|   active|  mounted
control             |dev-disk-by\x2did-wwn\x2d0x61866da075a9700029cecb1103752ac3|   active|  plugged
control             |integritysetup.target                                      |   active|   active
control             |sys-devices-platform-serial8250-tty-ttyS14.device          |   active|  plugged
control             |dev-disk-by\x2ddiskseq-11.device                           |   active|  plugged
control             |boot.automount                                             | inactive|     dead
control             |var-lib-containers-storage-overlay\x2dcontainers-1edc49ddd6|   active|  mounted
control             |dracut-pre-mount.service                                   | inactive|     dead
control             |sys-devices-platform-serial8250-tty-ttyS5.device           |   active|  plugged
control             |systemd-journald-dev-log.socket                            |   active|  running
control             |systemd-initctl.socket                                     |   active|listening
control             |var-log-journal.mount                                      |   active|  mounted
control             |dev-ttyS20.device                                          |   active|  plugged
control             |dev-ttyS12.device                                          |   active|  plugged
control             |sys-devices-virtual-misc-rfkill.device                     |   active|  plugged
control             |libpod-22e6083911784996f402ac2c028b1a916e0b724bd327efd936db|   active|  running
control             |systemd-udevd-kernel.socket                                |   active|  running
control             |proc-sys-fs-binfmt_misc.mount                              | inactive|     dead
control             |bluechi-agent.service                                      |   active|  running
control             |rescue.service                                             | inactive|     dead
control             |getty-pre.target                                           | inactive|     dead
control             |dev-disk-by\x2ddiskseq-1.device                            |   active|  plugged
control             |var-lib-containers-storage-overlay-2f6532036d2ff9b23c305c88|   active|  mounted
control             |remote-veritysetup.target                                  | inactive|     dead


LICENSES/README.md Outdated Show resolved Hide resolved
LICENSES/README.md Outdated Show resolved Hide resolved
LICENSES/README.md Outdated Show resolved Hide resolved
README.developer.md Outdated Show resolved Hide resolved
README.developer.md Outdated Show resolved Hide resolved
README.developer.md Outdated Show resolved Hide resolved
README.developer.md Outdated Show resolved Hide resolved
README.maintainer.md Outdated Show resolved Hide resolved
README.maintainer.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
bluechi.spec.in Outdated Show resolved Hide resolved
doc/man/bluechi-agent.1.md Outdated Show resolved Hide resolved
selinux/bluechi.te Outdated Show resolved Hide resolved
@dougsland dougsland force-pushed the rename_source_c_headers_meson branch from c18e45a to b1a024e Compare August 14, 2023 17:51
@dougsland dougsland force-pushed the rename_source_c_headers_meson branch 3 times, most recently from bc73b48 to 1f3b60c Compare August 14, 2023 18:31
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
bluechi.spec.in Outdated Show resolved Hide resolved
bluechi.spec.in Outdated Show resolved Hide resolved
bluechi.spec.in Outdated Show resolved Hide resolved
bluechi.spec.in Outdated Show resolved Hide resolved
@dougsland dougsland force-pushed the rename_source_c_headers_meson branch from 1f3b60c to d64b394 Compare August 14, 2023 19:33
build-scripts/spdx-header-chech.sh Outdated Show resolved Hide resolved
build-scripts/spdx-header-chech.sh Outdated Show resolved Hide resolved
data/meson.build Outdated Show resolved Hide resolved
data/meson.build Outdated Show resolved Hide resolved
data/meson.build Outdated Show resolved Hide resolved
data/org.containers.bluechi.conf.in Outdated Show resolved Hide resolved
data/org.containers.bluechi.internal.Agent.Metrics.xml Outdated Show resolved Hide resolved
data/org.containers.bluechi.internal.Agent.xml Outdated Show resolved Hide resolved
data/org.containers.bluechi.internal.Manager.xml Outdated Show resolved Hide resolved
data/org.containers.bluechi.internal.Proxy.xml Outdated Show resolved Hide resolved
@dougsland dougsland force-pushed the rename_source_c_headers_meson branch 6 times, most recently from 1efcfd5 to da74865 Compare August 15, 2023 04:33
hirte project is renamed to bluechi.

Fixes: eclipse-bluechi#447
Fixes: eclipse-bluechi#448
Fixes: eclipse-bluechi#449
Fixes: eclipse-bluechi#450
Fixes: eclipse-bluechi#451
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
@mwperina mwperina force-pushed the rename_source_c_headers_meson branch 5 times, most recently from da5b8d8 to c995ec7 Compare August 15, 2023 10:59
Copy link
Contributor

@alexlarsson alexlarsson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me, any further fixes can land later.

Fixes: eclipse-bluechi#447
Fixes: eclipse-bluechi#448
Fixes: eclipse-bluechi#449
Fixes: eclipse-bluechi#450
Fixes: eclipse-bluechi#451
Signed-off-by: Martin Perina <mperina@redhat.com>
Use org.eclipse.bluechi instead of io.github.eclipse-bluechi.bluechi as
a prefix for DBus APIs to satisfy DBus interface naming policy.

Fixes: eclipse-bluechi#447
Fixes: eclipse-bluechi#448
Fixes: eclipse-bluechi#449
Fixes: eclipse-bluechi#450
Fixes: eclipse-bluechi#451
Signed-off-by: Martin Perina <mperina@redhat.com>
@mwperina mwperina force-pushed the rename_source_c_headers_meson branch from c995ec7 to 5b21032 Compare August 15, 2023 13:20
@mwperina mwperina merged commit 262587b into eclipse-bluechi:main Aug 15, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants