can you provide us some directions or include some documentation/samples on how to make our own repository server? (php code?) Are there any software out there that may help.
thank you,
johnk.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sure. The current back end for the repository is php and mysql running on a webserver. If you browse the CVS under the repistory dirrectory here at sourceforge you will see 3 files. winget.php, db.php (a database class), and database_structure.sql.
To setup a repository you can import the sql file to create the tables in an application like phpmyadmin or mysql administrator. Next modify the db.php file to use your database connection information. Finally just put the files on a web server. You will of course need to modify the win-get.conf on the client systems to point at your repository as well.
I have been working on a new method of setting up the repository using an executable that will automate this process and give an alternative repository method using xml (repbuild.exe). But until I can finish it the manual method described above will work just fine.
Let me know if you have any problems or if you would like a copy of my current apps repository, or if you have any suggestions on how to make this better.
-Ryan Proctor
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
One idea to make it easer for people to kind of make their own repository is taken for Lunar Linux. They have a database of files that you download to you computer called the moonbase and in that database it holds a file for each of the installs that you can run the file contains the address of the source code and what other programs this program depends on. So if some one wanted they could make a file that points to a local location and when you tell lunar to install that program it will grab the source from that new local location.
- Dale
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi rproctor,
I try to make my own repository but it don't work. I follow the step on post 2 here.
Could you put in the repository a mysql.dump whith your data, without the user and pass, of course. The files of the cvs dont work property. For example, the file are db.php and the reference are Db.php. Ok, it is easy to correct it, but maybe they could by others.
Regards,
Isaac
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
can you provide us some directions or include some documentation/samples on how to make our own repository server? (php code?) Are there any software out there that may help.
thank you,
johnk.
Sure. The current back end for the repository is php and mysql running on a webserver. If you browse the CVS under the repistory dirrectory here at sourceforge you will see 3 files. winget.php, db.php (a database class), and database_structure.sql.
To setup a repository you can import the sql file to create the tables in an application like phpmyadmin or mysql administrator. Next modify the db.php file to use your database connection information. Finally just put the files on a web server. You will of course need to modify the win-get.conf on the client systems to point at your repository as well.
I have been working on a new method of setting up the repository using an executable that will automate this process and give an alternative repository method using xml (repbuild.exe). But until I can finish it the manual method described above will work just fine.
Let me know if you have any problems or if you would like a copy of my current apps repository, or if you have any suggestions on how to make this better.
-Ryan Proctor
Hello,
I would like to have the last version of your current apps repository to make my own French repository.
Thank you
Benoît
One idea to make it easer for people to kind of make their own repository is taken for Lunar Linux. They have a database of files that you download to you computer called the moonbase and in that database it holds a file for each of the installs that you can run the file contains the address of the source code and what other programs this program depends on. So if some one wanted they could make a file that points to a local location and when you tell lunar to install that program it will grab the source from that new local location.
- Dale
Hi rproctor,
I try to make my own repository but it don't work. I follow the step on post 2 here.
Could you put in the repository a mysql.dump whith your data, without the user and pass, of course. The files of the cvs dont work property. For example, the file are db.php and the reference are Db.php. Ok, it is easy to correct it, but maybe they could by others.
Regards,
Isaac