Hello again,

Although the project is still a work in progress, it is now publicly available.

https://gitlab.com/FDOS/devel/pkgdevel <https://gitlab.com/FDOS/devel/pkgdevel>

The most useful thing in the project is the tools/fdvcs.sh script. Among other 
things, it can preserve timestamps. More functionality will be coming to it and 
probably additional scripts/utilities will be added sooner or later.

It already simplifies several things.

For example, to checkout / clone a project on the Homeless Repo. Like APPEND, 
simply do

fdvcs.sh -co append

Will query the Official Software Repository on IBIBLIO, to determine the 
package’s group. Then it will clone the appropriate project (assuming it exists 
and you have permission to view it). And then restore the timestamps. This 
function is specific to FreeDOS packages stored in the Homeless repository. 
Other functionality provided by the fdvcs.sh script should function with any 
Git repository. 

Then after changes are made. If you have permission to update the project, you 
can just issue a:

fdvcs.sh -c "Some Message About My Changes"

It will check for any modified files. Then commit your changes, update the 
timestamp recovery file, commit that and finally push all commits to the git 
server. 

You can restore and / or preserve timestamps in the local repository any time 
by running

fdvcs.sh -s

Please note: only the timestamps of files managed by Git in the Git repository 
are restored and preserved. Also, files that have been modified will note have 
their timestamps restored. However, they will replace the old timestamp 
information in the timestamp file. 

Additionally, you can override the automatic timestamp handling when doing a 
commit or cloning a project. Just include a -x option.

Also, you can clone every project on the Homeless Repo (that you have 
permission to access) with a simple

fdvcs.sh -coa

But, that is time consuming and I don’t recommend most people use that. 

Anyhow, like I said it is a work in progress. Although the timestamp stuff 
could be improved and faster, it works very well as-is. Oh, you don’t need to 
memorize any of those switches. Just do a 

fdvcs.sh -h 

when you forget them. 

:-)

Jerome

_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to