Re: [fossil-users] How do I set the Project Name and theme from the command line
this of course exists in its own fossil project, and is hosted in a public location - but not one which i'm willing to provide forever for an unknown number of folks. i don't think this script is that big of a deal, but one never knows ... - On Aug 6, 2017, at 4:59 PM, dewey hylton wrote: > in case it helps others, the entirety of my fossil project setup script can be > found here: > https://gist.github.com/dehylton/f8daa17bec33b5a1e58972675986c22f > this is the result of one of those "fun projects" which turned out to be > useful > to me. > - On Aug 6, 2017, at 3:46 PM, dewey hylton wrote: >> this is what i use in my setup script: >> ${FOSSIL} sqlite "insert or replace into config values ('project-name', >> '${NAME}', now() );" -R "${FILE}" >/dev/null >> - On Aug 6, 2017, at 4:06 AM, abhijit nandy wrote: >>> I need to create quite a few repositories with many users so I've created a >>> script to do so. >>> However, I'm not able to set the name of the Project from the command line, >>> so >>> when users to the web page for a particular repository, it shows up as >>> unnamed >>> fossil project. >>> I know I can do this from the web interface as a super-user but is there >>> any way >>> I can set the Project name and theme from within the script? >>> - Abhijit. >>> ___ >>> fossil-users mailing list >>> fossil-users@lists.fossil-scm.org >>> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users >> ___ >> fossil-users mailing list >> fossil-users@lists.fossil-scm.org >> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] How do I set the Project Name and theme from the command line
in case it helps others, the entirety of my fossil project setup script can be found here: https://gist.github.com/dehylton/f8daa17bec33b5a1e58972675986c22f this is the result of one of those "fun projects" which turned out to be useful to me. - On Aug 6, 2017, at 3:46 PM, dewey hylton wrote: > this is what i use in my setup script: > ${FOSSIL} sqlite "insert or replace into config values ('project-name', > '${NAME}', now() );" -R "${FILE}" >/dev/null > - On Aug 6, 2017, at 4:06 AM, abhijit nandy wrote: >> I need to create quite a few repositories with many users so I've created a >> script to do so. >> However, I'm not able to set the name of the Project from the command line, >> so >> when users to the web page for a particular repository, it shows up as >> unnamed >> fossil project. >> I know I can do this from the web interface as a super-user but is there any >> way >> I can set the Project name and theme from within the script? >> - Abhijit. >> ___ >> fossil-users mailing list >> fossil-users@lists.fossil-scm.org >> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > ___ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] How do I set the Project Name and theme from the command line
this is what i use in my setup script: ${FOSSIL} sqlite "insert or replace into config values ('project-name', '${NAME}', now() );" -R "${FILE}" >/dev/null - On Aug 6, 2017, at 4:06 AM, abhijit nandy wrote: > I need to create quite a few repositories with many users so I've created a > script to do so. > However, I'm not able to set the name of the Project from the command line, so > when users to the web page for a particular repository, it shows up as unnamed > fossil project. > I know I can do this from the web interface as a super-user but is there any > way > I can set the Project name and theme from within the script? > - Abhijit. > ___ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] How do I set the Project Name and theme from the command line
Here is a script I must have stolen from this mailing list a long time ago. If someone can give me the attribution details, I'll update the gist. https://gist.github.com/dahu/a5fce430f8045d1f87da9fc74ab46f70 On 6 August 2017 at 16:06, abhijit nandy wrote: > I need to create quite a few repositories with many users so I've created > a script to do so. > > However, I'm not able to set the name of the Project from the command > line, so when users to the web page for a particular repository, it shows > up as unnamed fossil project. > > I know I can do this from the web interface as a super-user but is there > any way I can set the Project name and theme from within the script? > > - Abhijit. > > ___ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > > ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] How do I set the Project Name and theme from the command line
I need to create quite a few repositories with many users so I've created a script to do so. However, I'm not able to set the name of the Project from the command line, so when users to the web page for a particular repository, it shows up as unnamed fossil project. I know I can do this from the web interface as a super-user but is there any way I can set the Project name and theme from within the script? - Abhijit. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users