-
Notifications
You must be signed in to change notification settings - Fork 15
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] Talk about Development 🦸♀️ #5
Comments
At this point, we have a script that can generate a new Linux distribution and produce But this is not enough. We need to separate the scripts and have such a separate file. (Not a single For example, Scripts:
Also Makefile can help to compile quickly. |
With Donya's package manager, I'd suggest a packaging system like KISS Linux (here's an overview: https://k1ss.org/package-system). What did you have in mind? |
OK, with package management, this is what I had in mind—just a suggestion, I'm not entirely sure what your plans are: We make a repository in the DonyaOS GitHub organization, and we call it Each package file in the repository will have several standard data fields, which I suggest we represent in YAML. These fields will be description: "C++ library for machine learning"
homepage: "http://dlib.net/"
binary: "http://dlib.net/files/dlib-19.21.tar.bz2"
license: "BSL-1.0"
dependencies:
- cmake
- jpeg
- libpng
- openblas
install: |
git clone https://github.com/davisking/dlib.git
cd dlib-master
mkdir build
cd build
cmake ..
cmake --build . --config Release This package manager model has several key differences over currently existing package managers:
|
Thanks for your suggestion. |
We need to design the package manager software. I think GoLang is a good choice for this purpose. Easy command line is very important. We can use an alias:
For example:
Display loading while downloading and package information before installing is a good feature. Ubuntu apt has a bad feature, this forces you to remove lock files if you stop this using ctrl+x, ctrl+c etc. |
Hi, Does anyone want to work on the package manager or package service? @sudo-corvus @limeschool Or others Please tell me your comment. |
PackageManager: Packages: https://github.com/DonyaOS/Packages For example: If PackageManager wants to search in packages list, should get a list of packages from the Packages repository. and save this as a cache. I think we can host packages files in GitHub. |
Hey @BaseMax i'm familiar with GoLang and i can help you guys with this! |
Hey Amir, @amir-shiati |
I'm not familiar with Go or C. I'll try to make my own package manager in D, and then we can compare and pick which is best. EDIT: D was not a good choice. Writing it in C# right now. It should perform rather well, with the time to complete an operation being almost entirely package-dependent and not noticeably impacted by any overhead. |
I will take this up in C I have been going through RPM to understand the process |
Hi, |
all right on it @BaseMax |
Just as a side project: I've made a package manager in C# that works rather fast and does not require installing any dependencies to use it. It's called Since you seem to be going with the |
Hi Emil, I was excited to see your activity. Anyway, you has full-access to this organization and can push your code/commits directly.
I not sure about this, Usually, C# is not a good choice for Linux commands And this is not a common thing. This is a good language though.
However, if this is necessary, We can think of rewriting it in another language. @amir-shiati, Have you done anything?
I just use this as the first version for a starter package. We can think about and develop a new structure. For example
Please show me your current packages repository. Update: You can add some sample packages just for testing: Thanks, |
Please push your repositories to the Donya organization. @limeschool Please explain where the name gany comes from? Some feature needed for package manager:
In your structure file size is not calculable. (This is missing side by side with bash commands)
|
A sample: https://github.com/DonyaOS/Packages/blob/master/core/curl/package.donya Direct HTTP/S request: https://donyaos.github.io/Packages/core/curl/package.donya In this case, But we need to know the name of the group. (core at this sample) |
If a package need multi-file to download.
We can do But I think we have to write |
About the package manager: Consider that before the installation step (install in the package file), All required packages must be installed. This must be done in a recursive manner. |
And also this is an example of how a package would be installed: the package manager would send a request to the package manager api, the package manager api would search for curl and then return (if exists) the url of curls "package.donya" file which is for example this, the package manager would download the file and open it, then after that: Let me know what you guys think... |
Thanks, Amir, That's fine. @amir-shiati |
Who is currently responsible for designing the API? @sudo-corvus, and @limeschool One of our problems is to host files at GitHub. We can set up files on own server, and connect the GitHub repository to server using an SSH Action.
But I think we can follow a better way. Update: Also, Using the GitHub API might be another way to do this. |
Hey everyone, |
Thanks for sharing this. It's awesome. @MatMoore https://github.com/MatMoore/jargon
https://docs.github.com/en/github/working-with-github-pages/about-github-pages
|
We cannot implement a powerful search API using GitHub pages. You can watch the We can cache a list of packages and store this in local system, finally search between packages using package manager client software. |
Hi @limeschool, I do not think we can find an algorithm that finds the exact file-size of compiled files from the source code. Can you combine the test branch with the main branch in Packages repository? |
The figure of root@base:~ # pkg install php74
|
The figure of root@base:~ # pkg search mariadb | grep 10.3
root@base:~ # pkg search mariadb
|
Hi. Where did the package manager get to and how did it happen? @amir-shiati |
Welcome @jbampton, Because you are good at Go Language. Can you help with the package manager? This is the last thing I saw or heard about the Package Manager and I have no news. @amir-shiati As Amir said: I know that this package is going to help: Regards, |
Hi,
Good news: Since esmaeel works, we will add Grub to the project this week.
It seems that Amir does not have the opportunity and there is no news about the package manager yet.
I have not received an answer yet, You are expected to at least respond even if you do not do anything.
He did the initial part, but we do not have access to the code.
Sorry, Maybe I call to Amir today. @amir-shiati
We invite another member to continue, we need a package manager sooner.
Can you do this? @jbampton
--
Regards,
Max
|
Hey,
Can you adding at least most useful packages to repository?
The more, the better...
@sudo-corvus
No problem if there is something wrong with the commands. We can improve
step by step.
--
Regards,
Max
|
I would appreciate if anyone can continue the package manager. If cobra is not suitable to needs, we can use another library. There is no limitations. Or even pure code :) https://github.com/DonyaOS/PackageManager/blob/master/src/donya.go Are you ready to continue? @jbampton |
Hi @BaseMax !! Yes I would like to help on this I need to read this whole issue fully once again. I have not used |
Hey, Thanks, No limitation for CLI library. Enjoy by way :) P.S: Just a small draft for Package Manager in PHP 7.4, to show how we can control arguments. (Pure code in PHP) |
Hey everyone. |
Hey Amir, Thank you for sending files to me. With the permission of Amir. file: We can follow this structure while developing package manager. What do you think? Update:Thanks to Amir: DonyaOS/PackageManager#5 |
Hey friends, How you will installing/downloading a package in the package manager? @jbampton If need a API: Otherwise: We will not need a API. Related messages: |
Hi guys, Thank you for inviting me to this project! Here is what I think:
I'll keep an eye on the project development. Regards, |
Regarding kernel dependencies, I wrote a script to automatically download all the required files. If you have a Linux (VM), So you can test and run scripts. We need feedback and want to improve scripts. Please send PR. |
donyaOS todo listFirst things first About 5 step scripts
Then
Other things
All of them is my opinion, feel free to express anything wrong and must be change beside that as English is not my mother tongue please correct me. I thing this can be used as a todo for donyaOS |
Hi, Also a guide references for users who want to learn more: Some related links
Thanks to @esmaeelE |
The Next proposed version of donyaOS release totally based on the Petros Koutoupis article on Linux journal.
In the next step I will
|
Hi,
The DonyaOS is not yet ready and complete and we need the help of others.
Here's a chat room.
We can talk about the tasks we want to work on here.
And set a development path for ourselves.
Study and research can be one of the things that will always be needed in this project.
Please state if something goes wrong.
I appreciate you.
The text was updated successfully, but these errors were encountered: