Ok, seems good the composer file, it could be a problem of permission into the repository with the access key.
Another thing to try is to tag your company/library with a simple version like 1.0.0
We did tag it with 1.0.0 and with v1.0.0 (I read various tips about tags have to start with a 'v')
It is unclear with what asccess key composer is looking at the repository :-(
I have my own public key installed on bitbucket ofcourse, but also had an extra that was for read only, as for CI stuff, which this softof is.
But, still... no luck
Into your company/library you need to go to Bitbucket->AccessKeys and add the key of the repository that will include this library, you need to have access to this repository
And where do I find the key of the repository that will include the library?
(or: how do I set it?)
To find the key you need to go into your repository where you want to add yopur library into bitbucket , and generate access keys as the example into my blog post
In your example, I see "pipelines". So still no easy step by step.
Should I put it into a pipeline?
(I've tried that, but it gives me a page where I have to decide on stuff like docker, gradle,maven etc., which doesn't say anything in "adding a ssl key")
No you need to take the public key of your main repository generated by bitbucket into ssh keys under settings. Copy the public key and open into bitbucket the repository of the library that you want to add. Go under access keys, add a new key and paste the public key copied before
ok, so I click on settings on my project (not the library).
There I only see SSH keys on a part of a menu called 'PIPELINES'.
I see 'Acces keys' under part of a menu called 'Repository Details'
(but this is what I used to generate the ssl keys in the library, and you kind of convinced me, it should not be here)
So, still stuck :-(
That is the section (under pipelines) where you can generate your key to add into your library repository on bitbucket to give permission to get the library with composer
Ok, I finally had the time>
I choose Pipelines > SHH keys
I then choose PHP (unclear what this option does, but wth)
Then I had to choose a yaml configuration (which was good, it said)
Then it generated and downloaded a lot of crap. (unclear what it was doing)
After that it was finished, I could click on pipelines > SSH keys again, showing me a page where I could generate keys, of use my own, or I could put in a know host. I clinked on use my own, then it wants a private key, which I find strange, because... it shoudl be private.
Ok, as I said before, I need to choose from a couple of options, but doesn't ring any bells.
perhaps PHP because we do php development? (but strange: why does bitbucket need to know what program language I use. I use composer to check out. but... still, so much unclearness.
I'm very glad you try to help me btw. Let's have a weekend and see where it leads me.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.