#1 2014-10-23 06:56:12

azriel
Member
Registered: 2014-10-23
Posts: 10

Is it alright to publish CppMicroServices on Biicode?

Hi,

Short:
Biicode is a cloud dependency manager for c++ (like Maven central for Java). Is it alright if I publish CppMicroServices there? (Or wait for one of you to, or not at all?)

Long:
I'm starting development on a new project, and since I've used OSGi before, I picked CppMicroServices. I'm experimenting with dependency management and build systems. I hadn't used CMake before, and writing the CMakeLists for my project is getting long. Biicode will potentially shorten this process. If approved, then I may go ahead with this.

I know it doesn't violate the license, but asking is always nicer

Offline

#2 2014-10-23 16:41:44

sascha
Administrator
Registered: 2012-05-04
Posts: 45

Re: Is it alright to publish CppMicroServices on Biicode?

Hi,

sure, go ahead and publish it. I am not really familiar with biicode, so I don't know how it handles versioning and updating the published project from one release to another.

Would you be willing to look into that and maybe publish new releases?

Thanks!

Offline

#3 2014-10-24 06:41:08

azriel
Member
Registered: 2014-10-23
Posts: 10

Re: Is it alright to publish CppMicroServices on Biicode?

#include <usModule.h>
#include <usModuleRegistry.h>
#include <usSharedLibrary.h>

Offline

#4 2014-10-27 22:25:52

sascha
Administrator
Registered: 2012-05-04
Posts: 45

Re: Is it alright to publish CppMicroServices on Biicode?

Thanks a lot for your efforts.

In general, I would suggest to only push releases to Biicode. Although the master contains only "release commits" since some time, I think it is best practice to push the latest release tag. As I am not really familiar with Biicode, I don't know their available policies about versioning though.

In which context are you referring to an "embedded use"? There is an internal CMake variable "US_IS_EMBEDDED" which is used if the source code is embedded in another larger project but this is all done automatically.

The caveat you are mentioning leads me to think about the header file directory layout for CppMicroServices modules. The next release will support multiple modules inside the CppMicroServices repository and header files will typically get installed in

/usr/include/cppmicroservices/core/Module.h
/usr/include/cppmicroservices/shell/ShellService.h
...

So, a user "cppmicroservices" on Biicode could make sense, with the sub-modules representing project names. Again, I don't know if Biicode can handle projects contained in the same repository. But the include directives would look the same in every project using CppMicroServices, irrespective of the fact if it uses Biicode or not.

Offline

#5 2014-11-04 06:08:25

azriel
Member
Registered: 2014-10-23
Posts: 10

Re: Is it alright to publish CppMicroServices on Biicode?

Last edited by azriel (2014-11-04 06:11:51)

Offline

#6 2015-02-08 23:51:10

azriel
Member
Registered: 2014-10-23
Posts: 10

Re: Is it alright to publish CppMicroServices on Biicode?

Offline

#7 2015-02-21 13:39:42

sascha
Administrator
Registered: 2012-05-04
Posts: 45

Re: Is it alright to publish CppMicroServices on Biicode?

Hi Azriel,

thanks a lot for the effort you put into this, it is highly appreciated. I have been very busy the last weeks so sorry for getting back to you so late.

I will look through your branch in detail the next week and probably get back to you with a few questions.

Thanks,
Sascha

Offline

#8 2015-02-23 19:12:05

azriel
Member
Registered: 2014-10-23
Posts: 10

Re: Is it alright to publish CppMicroServices on Biicode?

Hi Sascha,

If you can hold off for a little bit, I'm cleaning up the pull request history to make minimal changes, and we also discovered an issue in biicode that warrants a change in the cmake configuration regarding tests.
I'll post back after that's done, which should be two days maximum


Azriel

Offline

#9 2015-02-25 09:04:01

azriel
Member
Registered: 2014-10-23
Posts: 10

Re: Is it alright to publish CppMicroServices on Biicode?

Okay I've updated the pull request to be clean, but some of the build agents on travis don't appear to work with the previously configured build script. The first commit is the bulk of the changes which you can review; I'll fix the travis build script as soon as possible, but it may have to be in the weekend.


Azriel

Offline

#10 2015-02-28 01:17:24

azriel
Member
Registered: 2014-10-23
Posts: 10

Re: Is it alright to publish CppMicroServices on Biicode?

Turned out to be flaky connection issues between the agents and the apt repository they were connecting to. I pushed a trivial change to trigger the build and it passed this time.

Offline

#11 2015-05-27 06:36:11

azriel
Member
Registered: 2014-10-23
Posts: 10

Re: Is it alright to publish CppMicroServices on Biicode?

Hi Sascha, the latest state of the PR fails on Windows because the usModuleResourceTest assumes line endings will be \r\n, whereas Appveyor clones the repository with \n-s for line endings.

I'd like to get this PR merged in, but what is your take on this?

Offline

#12 2015-06-01 06:59:31

sascha
Administrator
Registered: 2012-05-04
Posts: 45

Re: Is it alright to publish CppMicroServices on Biicode?

Offline

#13 2015-06-03 08:07:50

azriel
Member
Registered: 2014-10-23
Posts: 10

Re: Is it alright to publish CppMicroServices on Biicode?

Hi, thanks for that, not sure why I didn't think to search.

I've pushed the fix for appveyor, and I'm satisfied with the PR. Happy to fix and improve upon things that aren't the best in their current state.

Best

Offline

Board footer

Powered by FluxBB