Replies: 2 comments 2 replies
-
I agree that Let's just move |
Beta Was this translation helpful? Give feedback.
-
What about creating special repository for yggdrasil worker (and example of echo worker)? This repository could also contain I think that yggdrasil repository could contain only source code for the application. Anything that is necessary for building workers should be outside this repository. Or is there any reason why to hold everything tight together? |
Beta Was this translation helpful? Give feedback.
-
Idea
During my recent jobs on
rhc
andecho worker
, I have notice that there are some useful packages that brings utilities and could be used for worker developers. I see this idea as a manner to provide a standardize set of tools to developers.If we want to use this packages outside
yggdrasil
repository, the code must move outside theinternal
folder.Proposal
There can be several packages that should be moved outside of the
internal
directory, so instead of move all of them into the root directory. We can use another folder to save them. There is a common structure for go projects where the pkg sub-directory can be used for this purpose.The new structure for
yggdrasil
can be then:yggdrasil
.
├── build-aux
├── builddir
├── cmd
├── data
├── dbus
├── dist
├── doc
├── internal
├── ipc
├── lib
├── pkg
└── worker
And inside the pkg directory, we can find the standard libraries:
tree -dL 1
.
├── http
└── sync
Beta Was this translation helpful? Give feedback.
All reactions