You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When this issue is resolved, they'll appear to be two createRepo endpoints, one in vote engine and the other in namespace. But don't worry about that for now. For me details see Rationale below if needed.
Also the following endpoints:
getRepo
setRepo
setRepo must allow any of the fields of Repo to be modified.
Repo
Create a createRepo endpoint in namespace. This includes a graphql namespace endpoint. You only need it in namespace. No need to create a related endpoint as such in turbosrc-service, for now at least.
It's like createUser, but instead of populating a Contributor asset that maps a contributor_id to name, it populates the following something like this:
repo_signature is the Ethereum private key. This a bit of a misnomer, but it's okay for now.
We'll be generating ethereum addresses and keys for this also, but you don't need to do that right now.
contributor_id is the contributor that "turbosrc'd" the repo.
repo_uri is the remote location of the repo turbosrc'd against (e.g. <gitHosterDomain>/<userName>/<repoName>)
app will be the endpoint to the turbosrc, namely turbosrc-service. In the future, it could be a resource that points to a contract, or simply the contract address, or something to that effect.
metadata is just metadata. Could be anything. We'll of course limit what and how big the field can be at some point.
Rationale
These are just some background details, not necessary to resolve this issue.
The turbosrc-service should pass repo_id to the engine on createRepo. It's a unique ID. So it must get that as the repo will have a 'readable name' and 'uuid name'. turbosrc-service will get the repo_id from turbosrc-namespace, then use that value to pass to engine to createRepo.
The vote engine createRepo will soon be called initRepo, or something to that effect, to avoid confusion.
Just a caveat for prosterity: users ethereum keys they hold in their wallet's (if they choose and if the functionality is implemented) is not with this is. It's under hood implementation easing transition when users take control of wallets. At the moment, the ethereum keys is no more than an internal 'password' that the user has nothing to do with right now.
The text was updated successfully, but these errors were encountered:
When this issue is resolved, they'll appear to be two
createRepo
endpoints, one in vote engine and the other in namespace. But don't worry about that for now. For me details seeRationale
below if needed.Also the following endpoints:
getRepo
setRepo
setRepo must allow any of the fields of Repo to be modified.
Repo
Create a
createRepo
endpoint in namespace. This includes a graphql namespace endpoint. You only need it in namespace. No need to create a related endpoint as such in turbosrc-service, for now at least.It's like
createUser
, but instead of populating aContributor
asset that maps acontributor_id
toname
, it populates the following something like this:repo_id
is the Ethereum public address.repo_signature
is the Ethereum private key. This a bit of a misnomer, but it's okay for now.We'll be generating ethereum addresses and keys for this also, but you don't need to do that right now.
contributor_id
is the contributor that "turbosrc'd" the repo.repo_uri
is the remote location of the repo turbosrc'd against (e.g.<gitHosterDomain>/<userName>/<repoName>
)app
will be the endpoint to the turbosrc, namelyturbosrc-service
. In the future, it could be a resource that points to a contract, or simply the contract address, or something to that effect.metadata
is just metadata. Could be anything. We'll of course limit what and how big the field can be at some point.Rationale
These are just some background details, not necessary to resolve this issue.
The turbosrc-service should pass
repo_id
to the engine on createRepo. It's a unique ID. So it must get that as the repo will have a 'readable name' and 'uuid name'. turbosrc-service will get therepo_id
from turbosrc-namespace, then use that value to pass to engine to createRepo.The vote engine createRepo will soon be called initRepo, or something to that effect, to avoid confusion.
Just a caveat for prosterity: users ethereum keys they hold in their wallet's (if they choose and if the functionality is implemented) is not with this is. It's under hood implementation easing transition when users take control of wallets. At the moment, the ethereum keys is no more than an internal 'password' that the user has nothing to do with right now.
The text was updated successfully, but these errors were encountered: