-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโll occasionally send you account related emails.
Already on GitHub? Sign in to your account
๐ฆธ๐ฟโโ๏ธ [OFFICIAL] Development of the Donya Manager Package ๐ฆธ๐ฟโโ๏ธ #8
Comments
Core team of Donya Package Manager:
And others:
I invite Parham to manage this Repository. We need his help Current project mostly written by @amir-shiati and some parts by @jbampton. |
Donya Package manager needs to be connected directly to the Packages repository. We need your help to make a more accurate decision about design API or download Package as a cache mechanism: |
@BaseMax Thanks for mentioning these informations. Is there any final document on its architecture? |
Thanks for your suggestion.
|
We have a diagram prepared by Amir for the packaging manager: |
Yes exactly. I can change the structure to support these. Golangci-lint improves the go code by showing common issues. |
Good job. If we keep packages without category directory, We can directly access to yml file. (Category directory means: core, extras, ...) For example: But, It's not all. We also need a search ability in the Donya package manager. GitHub request rates is limited, So it's not suitable for Production Webservice. Anyway, No problem. We have some servers. so can get help, And can serve in own domain/server. If you can write another Go program to search in packages on a port. Update: What's your suggestion and what's best for this? |
@1995parham Hey Parham you are definitely more experienced in golang than me so take the lead on this project and just let me know what can i help you with. |
Good suggestion. @amir-shiati And one more point: |
I think in the end we need to have a web service for our packages but for the beginning, we can write the installation phase with Github then continue to have the search functionality and web service. Is there any specification for the package structure? We can use a scripting language like javascript embedded in Go for having more functionality in our package definition. |
We can apply any suggestions you have. https://github.com/DonyaOS/Packages/#package-structure Embedded Interpreter:
And more at: https://stackoverflow.com/a/27496999/10096230 |
It's a very good idea. It may help us a lot in some cases where there is library interference. |
Hi, What's up? @1995parham Cheers, |
I am investigating the ways that we can implement the package manifest. Meanwhile at the weekend (Thursday and Friday) I will start refactoring the repository. |
Hi Parham, |
I think we can do the discussion in the Github chats then report the conclusions for further notes here. In this way there are fewer conversations to read by gusts in the issues. |
I am trying to set up a PoC with goja and start creating a simple package manifest. |
Hi, |
Thanks for the follow-up. The source code structure is ready if you want we can finalize our manifest and I will implement it shortly. |
@BaseMax As a first question for designing manifest, Doya will builds packages locally and needs a build specification. Am I right? |
Hello everyone, A figure how yay works in Arch: [max@base]$ yay networkmanager-l2tp
And a screenshot, to show text have special color: (Green, Red, Blue) King Regards, |
Yeah, this mechanism run commands in local system. But can also download a binary file and copy/paste it.
And this depends on package scripts. |
@BaseMax Thanks for mentioning this information. So we need to build the project with our script just like
P.S. By our script I mean a script that I parse with our DonyaPackageManager and written in javascript. |
@BaseMax I have complete the first version of our installation script: version = "13"
arch = "amd64"
sources = [
"https://httpbin.org/bytes/" + version,
]
function install() {
console.log(this.go)
console.log(this.version)
console.log('Hello World')
console.log(this.files[0])
exec.run(['cat', this.files[0]])
} It has |
Hello everyone,
We discuss about development process of Donya Package Manager.
For first version, We will use Go as main programming language of package manager.
I look forward,
The text was updated successfully, but these errors were encountered: