Shell script to move an SME module (contrib or base) to the git store in such a way that local "make mockbuild" will build the rpm - Now deprecated - smedev/smeserver-gitutils is the place to go!!
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Brian Read 8622fae680 Added extra comment at the top, removed untested comment 1 year ago
LICENSE
README.md Update 'README.md' 1 year ago
change-log
changelog
cvs2git.ini new script migrate... to create a local mirror repo and fixes to cvs2git and extra fields in ini file 1 year ago
cvs2git.sh Add in make-release - tested 1 year ago
delrepo.sh refine chatGPT question to get better result 1 year ago
filinarchivefile.sh Add in make-release - tested 1 year ago
get-repo-and-build.sh new script migrate... to create a local mirror repo and fixes to cvs2git and extra fields in ini file 1 year ago
gogit Update for not allowed to delete from the API and add gogit 1 year ago
list-all-org-repos.sh cvs2git add rm -fr to pear specs 1 year ago
listrepo.sh Update to organisation not user add extra tests 1 year ago
make-release.sh Added extra comment at the top, removed untested comment 1 year ago
migrate-repo.sh new script migrate... to create a local mirror repo and fixes to cvs2git and extra fields in ini file 1 year ago
trygetrpmfilename.sh Add in Make release - UNTESTED 1 year ago
trygitycreate.sh
trygpt4contribdesc.sh
tryini.sh
trymake.sh simplify trymake.sh, retain as it is called by makefile.common 1 year ago
trypatchextract.sh Update spec detection if dashes made underlines 1 year ago
tryrepoquery.sh
tryrmedit.sh cvs2git add rm -fr to pear specs 1 year ago
tryspecedit.sh Update spec detection if dashes made underlines 1 year ago
trywiki.sh Add in wiki and issue tracker links to each repo 1 year ago

README.md

cvs2git.sh

Shell script to move an SME module (contrib or base) to the git store in such a way that local "make mockbuild" will build the rpm.

$1 = Module name e.g. smeserver-ddclient $2 = "contrib" ...anything else -=> core module, "base" for non contrib.

This script works whether the repo and local files exist or not (it deletes them if necessary) However if the remote repo exists, it preserves the REAME.md file so that edits are not lost Also note: I have had difficulty deleting all the link files in the source tree!

This works in conjunction with the trymake.sh

cvs2git.init

Sample ini file with parameters for the main script. Needs to be in the current directory.

change-log

change-log from smeserver-mock with 1st conditional edited to remove 3rd clause.

See https://bugs.koozali.org/show_bug.cgi?id=12340

changelog

As above, changed name to avoid clach with /usr/bin/change-log.

trymake.sh

Run the make archivefile code outside make environment first, to create Create archivefilename from Source tree for mockbuild

trygitycreate.sh

Experiment with creating repos remotely to fix the problem with it crashing on auto-=init = true.

delrepo.sh

Delete specified ($1) repos

listrepo.sh

List of first 30 repos (it pages them!!)

trygpt4contribdesc.sh

Poke ChatGPT for description of SMeserver package

tryini.sh

Read in iini file values

tryrepoquery.sh

Query if repo is there.

trywiki.sh

See if specific page is fouind on the wiki. Seems to be case insensitive.