Posted 29 June 2016 - 11:33 AM
I know, there are package systems like Packman and Appstores like Discover App Store, but there is only a litle hype at the realese of this programs and all people upload there programs. After that, nobody use this any more.
If a package system preinstaled, more people and newbies will use it. Maybe with a GUI like Synaptic for advance computers.
The programs, who are publischt in this forum can be take in a package repositorie, who is default enabled. And people can make there own package repositorie with their own programs (http and modem for server).
The meta section contains information about the package. needed contains, which package will be needed. They will be automatically installed with the package. The special section is for os maker and contains information, who the normal package manager not needed but there are useful for programmer. For example: If you have app permissions in your OS, this section can contain, what is needed.
The content section contains the programm code. It cann contain more than one file. The name of the file is in the name tag. The type tag says, where the code is. local means, the code is in the package. https means, the code is in the Internet.
If a package system preinstaled, more people and newbies will use it. Maybe with a GUI like Synaptic for advance computers.
The programs, who are publischt in this forum can be take in a package repositorie, who is default enabled. And people can make there own package repositorie with their own programs (http and modem for server).
Package example
name: mypackage
meta {
author: example
version: 1.0.0
license: MIT
needed {
myapi
}
special {
}
}
content {
1 {
type: local
name: file1
{
print("Hello World")
}
}
2 {
type: http
name: file2
{ example.com }
}
}
The first is the name of the package.The meta section contains information about the package. needed contains, which package will be needed. They will be automatically installed with the package. The special section is for os maker and contains information, who the normal package manager not needed but there are useful for programmer. For example: If you have app permissions in your OS, this section can contain, what is needed.
The content section contains the programm code. It cann contain more than one file. The name of the file is in the name tag. The type tag says, where the code is. local means, the code is in the package. https means, the code is in the Internet.