Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Integrate go-elektra binding to main repo #3458

Closed
Tracked by #160
markus2330 opened this issue Jul 1, 2020 · 16 comments
Closed
Tracked by #160

Integrate go-elektra binding to main repo #3458

markus2330 opened this issue Jul 1, 2020 · 16 comments

Comments

@markus2330
Copy link
Contributor

It looks like on every incompatible change in Elektra, both CIs (go-elektra and libelektra) will fail.

Was disabling the build stages necessary or would 2f29a65 have been enough?

Any other ways to improve the situation except of integrating the repo into the main one?

@raphi011 what do you think?

@mpranj
Copy link
Member

mpranj commented Jul 1, 2020

It is possible that bumping the version of go-elektra in elektrad would have been enough, but I did not know that this needs to be done.

Edit: integrating the repos might not work well because of the way that go packaging works, but maybe Raphi knows how this could be done.

@markus2330
Copy link
Contributor Author

Or we can simply use latest master from elektra-go from now on?

Maybe we could have made libelektra's CI happy if the branch of libelektra would have used the branch of elektra-go.

@markus2330
Copy link
Contributor Author

The go-elektra builds are broken, seems like nobody notices it: https://travis-ci.org/github/ElektraInitiative/go-elektra

@mpranj
Copy link
Member

mpranj commented Oct 25, 2020

I don't have access or notifications for that repo. Can't trigger a rebuild or anything. Not that I have the capacity to maintain the go bindings.

@markus2330
Copy link
Contributor Author

I gave the "core" team admin access to the repo. Is there any other repo the "core" team doesn't have access to?

@mpranj
Copy link
Member

mpranj commented Oct 25, 2020

The repo was broken with some old packages that 404'd.

Err:1 https://ubuntu-bionic-repo.libelektra.org bionic/main amd64 libelektra4 amd64 0.9.2-1.2041
  404  Not Found [IP: 95.217.75.163 443]

I fixed it manually now, but we really need to automate this.

It seems that the builds are now fixed.

@markus2330
Copy link
Contributor Author

I just rerun the tests of the go repo and it succeeded. This obviously means that it still tests against an old version of Elektra, as there are many old-style key names in the tests of the go binding (e.g. kdb/keyset_test.go kdb/key_test.go)

Somehow, we need to take care of the go repo in the release management. So either:

  • we integrate the repo into the main repo (quite some go+cmake knowledge needed)
  • we remove the support for go (especially if we are unable to make WebUI work again this is an option, so we should check if it works first)
  • we add manual steps for every release to check if the go-bindings still work
  • we add automatic steps in continuous integration to check go-bindings with master of Elektra

@mpranj @robaerd what you do you think?

@mpranj
Copy link
Member

mpranj commented Nov 25, 2020

The ubuntu repo needs to be updated by hand, which explains why there is no (new) CI failure there. I will update the repo now.

Regarding release management:
Sorted options in order of personal preference: {4,1,2,3}

@robaerd
Copy link
Member

robaerd commented Nov 25, 2020

Sorted options in order of personal preference: {4,1,2,3}

I agree.

Just to be sure, with the 4th option you mean adding the automatic steps to the release pipeline and not to the "main" pipeline?

@markus2330 markus2330 mentioned this issue Nov 26, 2020
15 tasks
@markus2330
Copy link
Contributor Author

In general we should put as much as possible to the main pipeline (maybe with some extra nightly build that does not build on every push if we produce overload on the build server), as the release manager wants to avoid a painful release: and every error detected so late is quite problematic.

So also these go tests: ideally they are executed on every push. And they are very fast compared to other tests, so there should be no problem. They are only quite different in their nature, as they work from a different repository. They are not high-prior though, I added them to the backlog.

@markus2330 markus2330 changed the title Integrate go repo? Execute go tests in main build pipeline Nov 26, 2020
@mpranj
Copy link
Member

mpranj commented Nov 28, 2020

Now the Ubuntu and Debian packages are finally being built again, thanks to @sanssecours.

I've triggered a re-build for the go-elektra tests and now it is finally failing (as expected due to Keyname overhaul). The bindings need to be updated now.

@markus2330
Copy link
Contributor Author

Thank you very much! I just got the update from 0.9.3-1.2841 to 0.9.3-1.2961.

The bindings need to be updated now.

Yes, this is tracked in #3570

@mpranj mpranj added this to the 0.9.5 milestone Feb 1, 2021
@mpranj mpranj modified the milestones: 0.9.5, 0.9.6 Apr 12, 2021
@mpranj mpranj modified the milestones: 0.9.6, 0.9.7 Jun 7, 2021
@markus2330 markus2330 removed this from the 0.9.7 milestone Jun 27, 2021
@stale
Copy link

stale bot commented Jul 10, 2022

I mark this issue stale as it did not have any activity for one year. I'll close it in two weeks if no further activity occurs. If you want it to be alive again, ping the issue by writing a message here or create a new issue with the remainder of this issue.
Thank you for your contributions 💖

@stale stale bot added the stale label Jul 10, 2022
@stale
Copy link

stale bot commented Jul 31, 2022

I closed this issue now because it has been inactive for more than one year. If I closed it by mistake, please do not hesitate to reopen it or create a new issue with the remainder of this issue.
Thank you for your contributions 💖

@stale stale bot closed this as completed Jul 31, 2022
@markus2330 markus2330 added 7p seven points floss2022w and removed stale labels Aug 1, 2022
@markus2330
Copy link
Contributor Author

@lukashartl did you look at this already? Maybe you can describe more precisely what should be done?

@markus2330 markus2330 reopened this Aug 1, 2022
@markus2330 markus2330 mentioned this issue Oct 4, 2022
31 tasks
@flo91 flo91 added the lang/go label Oct 5, 2022
@markus2330 markus2330 changed the title Execute go tests in main build pipeline Integrate go-elektra binding to main repo Oct 26, 2022
@markus2330
Copy link
Contributor Author

To be fixed by #4895

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants