Re: [fossil-users] Help with making a subroutine x-platform to windows

2018-06-27 Thread Scott Doctor

Well thunderbird sure mucked up that formatting.

Launch windows command prompt

type nslookup

at the ">" prompt, type help

typing exit will exit out of nslookup

-----
Scott Doctor
sc...@scottdoctor.com
-

On 6/27/2018 14:22, Scott Doctor wrote:
A way may be using the system() command to run nslookup. From 
the windows command line help for the command:


Commands:   (identifiers are shown in uppercase, [] means 
optional)NAME    - print info about the host/domain 
NAME using default serverNAME1 NAME2 - as above, but use 
NAME2 as serverhelp or ?   - print info on common 
commandsset OPTION  - set an option    all 
- print options, current server and host    
[no]debug   - print debugging information    
[no]d2  - print exhaustive debugging 
information    [no]defname - append domain name to 
each query    [no]recurse - ask for recursive answer 
to query    [no]search  - use domain search list 
[no]vc  - always use a virtual circuit 
domain=NAME - set default domain name to NAME 
srchlist=N1[/N2/.../N6] - set domain to N1 and search list to 
N1,N2, etc.    root=NAME   - set root server to NAME 
retry=X - set number of retries to X 
timeout=X   - set initial time-out interval to X 
seconds    type=X  - set query type (ex. 
A,,A+,ANY,CNAME,MX,NS,PTR,SOA,SRV)    querytype=X - 
same as type    class=X - set query class (ex. IN 
(Internet), ANY)    [no]msxfr   - use MS fast zone 
transfer    ixfrver=X   - current version to use in 
IXFR transfer requestserver NAME - set default server to 
NAME, using current default serverlserver NAME    - set 
default server to NAME, using initial serverroot    - 
set current default server to the rootls [opt] DOMAIN [> FILE] 
- list addresses in DOMAIN (optional: output to FILE)    
-a  -  list canonical names and aliases    -d  
-  list all records    -t TYPE -  list records of the 
given RFC record type (ex. A,CNAME,MX,NS,PTR etc.)view 
FILE   - sort an 'ls' output file and view it with 
pgexit    - exit the program


---------
Scott Doctor
sc...@scottdoctor.com
-

On 6/27/2018 12:24, Richard Hipp wrote:


If anybody can suggest patches that will get this routine
(https://fossil-scm.org/fossil/info/5e083abf6?ln=47) to 
compile and

work on windows, that would really be helpful.  Thanks.



___
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] Help with making a subroutine x-platform to windows

2018-06-27 Thread Scott Doctor
A way may be using the system() command to run nslookup. From 
the windows command line help for the command:


Commands:   (identifiers are shown in uppercase, [] means 
optional)NAME    - print info about the host/domain NAME 
using default serverNAME1 NAME2 - as above, but use NAME2 as 
serverhelp or ?   - print info on common commandsset 
OPTION  - set an option    all - print 
options, current server and host    [no]debug   - print 
debugging information    [no]d2  - print exhaustive 
debugging information    [no]defname - append domain 
name to each query    [no]recurse - ask for recursive 
answer to query    [no]search  - use domain search 
list    [no]vc  - always use a virtual circuit    
domain=NAME - set default domain name to NAME    
srchlist=N1[/N2/.../N6] - set domain to N1 and search list to 
N1,N2, etc.    root=NAME   - set root server to NAME    
retry=X - set number of retries to X    
timeout=X   - set initial time-out interval to X 
seconds    type=X  - set query type (ex. 
A,,A+,ANY,CNAME,MX,NS,PTR,SOA,SRV)    
querytype=X - same as type    class=X - set 
query class (ex. IN (Internet), ANY)    [no]msxfr   - 
use MS fast zone transfer    ixfrver=X   - current 
version to use in IXFR transfer requestserver NAME - set 
default server to NAME, using current default serverlserver 
NAME    - set default server to NAME, using initial 
serverroot    - set current default server to the rootls 
[opt] DOMAIN [> FILE] - list addresses in DOMAIN (optional: 
output to FILE)    -a  -  list canonical names and 
aliases    -d  -  list all records    -t TYPE -  
list records of the given RFC record type (ex. A,CNAME,MX,NS,PTR 
etc.)view FILE   - sort an 'ls' output file and view it 
with pgexit    - exit the program


-----
Scott Doctor
sc...@scottdoctor.com
-

On 6/27/2018 12:24, Richard Hipp wrote:


If anybody can suggest patches that will get this routine
(https://fossil-scm.org/fossil/info/5e083abf6?ln=47) to compile and
work on windows, that would really be helpful.  Thanks.



___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Make Tech Notes work like a Lab Notebook

2018-06-14 Thread Scott Doctor


Looking through my current project fossil UI, it seems that 
instead of adding a forum module, what about a modification to 
the Tech Notes module. What I need is a way to simply link and 
group various tech notes, which may span hundreds of notes over 
long periods of time.


I am thinking like the way emails thread via topic. Having a 
REPLY type button on a tech note which would create a new tech 
note but that is linked to the parent note creating a tree of 
linkages that can be searched, browsed, and adjusted.


Need a simple way to link a tech note to one or more tickets and 
other tech notes (since a note may address more than one issue). 
I am thinking if a problem re-surfaces in the future, a search 
or browse can find and resurrect a thread to help with 
discussion and documentation about a potential solution, or to 
simply document results of experiments. Need a simple way to add 
links within the body of a tech note to reference other tech 
notes and tickets referenced in the text (hyperlinks). Also a 
simple way to add a link in the body text to specific files in 
the repository. This may be a data file from an experiment or 
such. When it comes time to write documentation about the 
project, all tech notes about a specific issue can then be 
searched, collected, and organized to reference when writing the 
documentation and such.


My projects involve more than just writing code (I do research). 
I think a few modifications to the tech notes module would make 
it usable like a lab notebook. I can make notes about whatever, 
have multiple threads of unrelated issues, and be able to 
manipulate linkages later so that I can scavenge and organize my 
notes when I write a paper or documentation about my project. 
This would be along the lines of what a writer would do using 
software such as scrivener.


https://www.literatureandlatte.com/scrivener/overview

My projects may go on for years  and often pivot, morph and get 
set aside and delayed for extended periods of time. My memory of 
issues from years ago tends to fade. This would help refresh my 
memory later when needed.


The concepts in Fossil are similar to what a writer would do 
when researching a book. Many items get written down, some not 
used, some set aside, some important. But at a later date it is 
necessary to collect it together and organize. Kind of like the 
old fashion index card method of writing a research paper (back 
in the stone age when cursive writing was taught in schools and 
libraries had physical card catalogs).



--

-
Scott Doctor
sc...@scottdoctor.com
-

___
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] Mailing list shutting down...

2018-06-13 Thread Scott Doctor
Just my 2 cents. I do not think including a forum module in 
fossil is a good idea. Forum software is an entire project by 
itself. Over the years I tried various open source forum 
software for my various project websites. Simple Machines Forum 
(SMF) is the go-to one that I use. It has various anti-spam 
modules and add-ons that work well and is easy to setup, 
administer, and moderate. Plenty of options to configure with as 
little or as much protection as desired.


https://www.simplemachines.org/

I think a forum is a better way to go. Easy to search and browse 
topics. Have just a few boards. SQLite, Fossil, FAQ, maybe a 
couple of others. I find forums that use too many boards 
annoying and difficult to decide which board I should post a 
specific question. Email addresses can be hidden so the issue of 
scrapping goes away.


SMF (and most other forum software) allows private messaging. So 
it is never necessary for anyone to have a specific persons 
email thereby solving the main issue.


-
Scott Doctor
sc...@scottdoctor.com
-


___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Ignore files that match mask

2018-05-22 Thread Scott Doctor


Is there a way to make fossil ignore all files that match a 
mask? It is very annoying to have very long scroll lists of the 
temporary files from the compiler. I want to set fossil to 
ignore all files that have a tilde in the extension of its file name


*.~*

How do I set it to do such?


--

-
Scott Doctor
sc...@scottdoctor.com
-

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Where did the skins go

2018-03-26 Thread Scott Doctor


I updated my copy of fossil to the latest version. I created a 
new repository, launched the fossil ui, opened admin->skins, all 
I see is the options to create a new skin. What happened to all 
of the predefined skins?



--

-----
Scott Doctor
sc...@scottdoctor.com
-

___
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] Error on commit

2018-03-26 Thread Scott Doctor


That worked. According to the changes command, 136 history files 
removed, 81 new history files added, and 22 files were edited. 
The commit completed without error this time. So I guess I will 
make a batch file to do those three commands for when I do a commit.


-
Scott Doctor
sc...@scottdoctor.com
-

On 3/26/2018 15:18, Richard Hipp wrote:

On 3/26/18, Scott Doctor <sc...@scottdoctor.com> wrote:

I ran the stash command and got the following:

no such file: D/water/C/slave/__history/main.c.~15~

Probably this mean that you previously committed the file main.c.~15~
but it was subsequently deleted without you doing "fossil rm".

If you want to check-in an *exact* copy of the directory hierarchy as
it stands now, try this:

  fossil addremove
  fossil changes-- to see what it is you are about to do
  fossil commit

The "addremove" command looks through your directory hierarchy and
does the equivalent of "fossil add" for every file it finds that is
not currently under control, and "fossil rm" for every file that is
under control that is now missing.

Is that what you are trying to accomplish?


I am writing code for several Atmel (now Microchip) sam4s Arm
processora using Atmel Studio IDE. This is built on Microsloths
Visual Studio. The system automatically makes many history
sub-folders throughout the project directory tree.

So it appears that when I created the repository there were
these history folders which commited transient files that no
longer exist, are hidden, and are read-only.

So how do I handle a dynamic system of ever changing history
files that are all over the directory tree? Any time I open a
file to edit in some subfolder, the IDE creates a hidden
sub-folder in that directory to store the history. A quick look
around I found 36 of these.

I have no need for these history files to be in the fossil
repository, but the folders are also transient. ugh.

This is a reason why I would like to be able to
add/delete/commit from the gui. The tree is too complicated
and too many unknown folders to navigate from the command line.


-
Scott Doctor
sc...@scottdoctor.com
-

On 3/26/2018 13:47, Richard Hipp wrote:

On 3/26/18, Scott Doctor <sc...@scottdoctor.com> wrote:

I just typed:

fossil commit

All I wanted to do was take a snapshot of the current state in
case I wanted to back out of my changes after my forthcoming
edit session. Am I doing this wrong?

You seem to be doing it right.  I don't know what the problem might be.

If you tried running "fossil stash" instead?

___
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] Error on commit

2018-03-26 Thread Scott Doctor

I ran the stash command and got the following:

no such file: D/water/C/slave/__history/main.c.~15~

I am writing code for several Atmel (now Microchip) sam4s Arm 
processora using Atmel Studio IDE. This is built on Microsloths 
Visual Studio. The system automatically makes many history 
sub-folders throughout the project directory tree.


So it appears that when I created the repository there were 
these history folders which commited transient files that no 
longer exist, are hidden, and are read-only.


So how do I handle a dynamic system of ever changing history 
files that are all over the directory tree? Any time I open a 
file to edit in some subfolder, the IDE creates a hidden 
sub-folder in that directory to store the history. A quick look 
around I found 36 of these.


I have no need for these history files to be in the fossil 
repository, but the folders are also transient. ugh.


This is a reason why I would like to be able to 
add/delete/commit from the gui. The tree is too complicated 
and too many unknown folders to navigate from the command line.



-
Scott Doctor
sc...@scottdoctor.com
-

On 3/26/2018 13:47, Richard Hipp wrote:

On 3/26/18, Scott Doctor <sc...@scottdoctor.com> wrote:

I just typed:

fossil commit

All I wanted to do was take a snapshot of the current state in
case I wanted to back out of my changes after my forthcoming
edit session. Am I doing this wrong?

You seem to be doing it right.  I don't know what the problem might be.

If you tried running "fossil stash" instead?


___
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] Error on commit

2018-03-26 Thread Scott Doctor


I just typed:

fossil commit

All I wanted to do was take a snapshot of the current state in 
case I wanted to back out of my changes after my forthcoming 
edit session. Am I doing this wrong?



-
Scott Doctor
sc...@scottdoctor.com
-

On 3/26/2018 13:03, jungle Boogie wrote:

On 26 March 2018 at 12:27, Scott Doctor <sc...@scottdoctor.com> wrote:

A while back I created a new repository for a project I ressurected. Checked
it after creating with the fossil ui that all files included and such.
Everything OK.

My project contains many folders and a couple hundred files for a multi
processor embedded application. Been working on the program for a while. I
tried to do a commit as I have not done so in a while and I am getting ready
to do some major work on my program.

Issued the fossil commit command.


What was the exact commit command you issued?
___
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] Error on commit

2018-03-26 Thread Scott Doctor

I emailed you the _FOSSIL_ file for the repository

-
Scott Doctor
sc...@scottdoctor.com
-

On 3/26/2018 12:42, Richard Hipp wrote:

On 3/26/18, Scott Doctor <sc...@scottdoctor.com> wrote:

A bunch of file names scrolled up the screen then got the message:

aborting due to prior errors


More details on the error message would be helpful.


___
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] Error on commit

2018-03-26 Thread Scott Doctor
That is the entirety of the error message. Such is the problem I 
am having trying to find what is the error. The error message 
displayed, then returned to the command line prompt


-
Scott Doctor
sc...@scottdoctor.com
-

On 3/26/2018 12:42, Richard Hipp wrote:

On 3/26/18, Scott Doctor <sc...@scottdoctor.com> wrote:

A bunch of file names scrolled up the screen then got the message:

aborting due to prior errors


More details on the error message would be helpful.


___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Error on commit

2018-03-26 Thread Scott Doctor


A while back I created a new repository for a project I 
ressurected. Checked it after creating with the fossil ui that 
all files included and such. Everything OK.


My project contains many folders and a couple hundred files for 
a multi processor embedded application. Been working on the 
program for a while. I tried to do a commit as I have not done 
so in a while and I am getting ready to do some major work on my 
program.


Issued the fossil commit command.

A bunch of file names scrolled up the screen then got the message:

aborting due to prior errors

Launching the fossil UI shows only my initial commit from a 
while back in the timeline.


At a loss as to what to check or how to proceed. Should I delete 
the repository and recreate it? Is there an operation I can run 
to find out what error it is referencing?


--

-
Scott Doctor
sc...@scottdoctor.com
-

___
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] Setting up an internet Fossil server

2018-03-07 Thread Scott Doctor

Putting the repository name into it

https://nousrandom.net/code/Random

the browser tries to download the file. So it seems the issue is 
with the location{} statement. Will respond with the complete 
nginx.conf file later (got some pay-the-bills work to do at this 
moment). The config is the default configuration from a clean 
install of debian, nginx, and certbot installation of 
letsencrypt.. Except for the ssl stuff added by certbot, it is 
all default. There are two include files that are linked from 
with the file. The three server statements are in the include 
files. I put the location {} in the first server declaration.



-
Scott Doctor
sc...@scottdoctor.com
-

On 3/7/2018 09:08, John Found wrote:

On Tue, 6 Mar 2018 16:30:58 -0800
Scott Doctor <sc...@scottdoctor.com> wrote:


Well I did everything in the list. Triple checked eveything.
Keep getting a 403 error (forbidden) when I try to access
through the browser.

https://nousrandom.net/code/

I created a new repository in that folder, opened it and did an
empty commit. Must be missing some setting somewhere. I have the
fossil executable in /usr/bin with permissions at 755. I can
execute fossil from the command line (via putty). I think a
problem may be where I put the location {...}.

Any suggestions what to check?


Very hard to say... Can you download the created .fossil files, by specifying 
them in the URL? If so, then the
location {} settings are wrong and this directory is served as an usual web 
site directory.

Think about publishing the nginx.conf files. I don't think it is a big security 
risk.


-
Scott Doctor
sc...@scottdoctor.com
-

On 3/3/2018 15:17, John Found wrote:

On Sat, 24 Feb 2018 10:57:58 -0800
Scott Doctor <sc...@scottdoctor.com> wrote:


I am trying to setup an internet server for one of my projects
that I am going to make open source using fossil. I have a new
Linode server account with a clean install (and fully updated)
of debian and nginx with letsencrypt https working properly. I
am having trouble getting fossil to work.

Is there a step-by-step how to get fossil to work from an
internet page?
My website I am trying to do this on is:


If you have working nginx with https, the remaining is straightforward:

1. Make fossil to work like a scgi server. I have done it through systemd 
service;

1.1 create file "/etc/systemd/system/fossil.service" with the following text:

[Unit]
Description=Fossil scm SCGI script.
After=network.target network-online.target nss-lookup.target nginx.service

[Service]
Type=simple
User=THE_USER_YOU_WANT
WorkingDirectory=/DOCUMENT_ROOT/fossil/
ExecStart=/usr/bin/fossil server /DOCUMENT_ROOT/fossil/ --scgi --localhost 
--port 9000 --repolist
Restart=on-failure

[Install]
WantedBy=nginx.service

1.2 Execute:

$sudo systemctl enable fossil
$sudo systemctl start fossil

2. Configure nginx.

Include in the server{} section of your config file:

location /fossil/ {
scgi_pass 127.0.0.1:9000;
include scgi_params;
scgi_param SCRIPT_NAME "/fossil";
client_max_body_size 20M;
}

3. Now every .fossil repo, located in the /fossil/ directory will be accessible 
on:

https://your.web.site/fossil/repo_name/



Hope will be helpful.
Regards


___
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] Setting up an internet Fossil server

2018-03-06 Thread Scott Doctor


Well I did everything in the list. Triple checked eveything. 
Keep getting a 403 error (forbidden) when I try to access 
through the browser.


https://nousrandom.net/code/

I created a new repository in that folder, opened it and did an 
empty commit. Must be missing some setting somewhere. I have the 
fossil executable in /usr/bin with permissions at 755. I can 
execute fossil from the command line (via putty). I think a 
problem may be where I put the location {...}.


Any suggestions what to check?


-
Scott Doctor
sc...@scottdoctor.com
-

On 3/3/2018 15:17, John Found wrote:

On Sat, 24 Feb 2018 10:57:58 -0800
Scott Doctor <sc...@scottdoctor.com> wrote:


I am trying to setup an internet server for one of my projects
that I am going to make open source using fossil. I have a new
Linode server account with a clean install (and fully updated)
of debian and nginx with letsencrypt https working properly. I
am having trouble getting fossil to work.

Is there a step-by-step how to get fossil to work from an
internet page?
My website I am trying to do this on is:


If you have working nginx with https, the remaining is straightforward:

1. Make fossil to work like a scgi server. I have done it through systemd 
service;

1.1 create file "/etc/systemd/system/fossil.service" with the following text:

[Unit]
Description=Fossil scm SCGI script.
After=network.target network-online.target nss-lookup.target nginx.service

[Service]
Type=simple
User=THE_USER_YOU_WANT
WorkingDirectory=/DOCUMENT_ROOT/fossil/
ExecStart=/usr/bin/fossil server /DOCUMENT_ROOT/fossil/ --scgi --localhost 
--port 9000 --repolist
Restart=on-failure

[Install]
WantedBy=nginx.service

1.2 Execute:

$sudo systemctl enable fossil
$sudo systemctl start fossil

2. Configure nginx.

Include in the server{} section of your config file:

location /fossil/ {
   scgi_pass 127.0.0.1:9000;
   include scgi_params;
   scgi_param SCRIPT_NAME "/fossil";
   client_max_body_size 20M;
}

3. Now every .fossil repo, located in the /fossil/ directory will be accessible 
on:

https://your.web.site/fossil/repo_name/



Hope will be helpful.
Regards



___
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] Setting up an internet Fossil server

2018-03-05 Thread Scott Doctor
Ugh, mail program seems to have word wrapped the quoted section 
of your post.


-
Scott Doctor
sc...@scottdoctor.com
-

On 3/3/2018 15:17, John Found wrote:

On Sat, 24 Feb 2018 10:57:58 -0800
Scott Doctor <sc...@scottdoctor.com> wrote:


I am trying to setup an internet server for one of my projects
that I am going to make open source using fossil. I have a new
Linode server account with a clean install (and fully updated)
of debian and nginx with letsencrypt https working properly. I
am having trouble getting fossil to work.

Is there a step-by-step how to get fossil to work from an
internet page?
My website I am trying to do this on is:


If you have working nginx with https, the remaining is straightforward:

1. Make fossil to work like a scgi server. I have done it through systemd 
service;

1.1 create file "/etc/systemd/system/fossil.service" with the following text:

[Unit]
Description=Fossil scm SCGI script.
After=network.target network-online.target nss-lookup.target nginx.service

[Service]
Type=simple
User=THE_USER_YOU_WANT
WorkingDirectory=/DOCUMENT_ROOT/fossil/
ExecStart=/usr/bin/fossil server /DOCUMENT_ROOT/fossil/ --scgi --localhost 
--port 9000 --repolist
Restart=on-failure

[Install]
WantedBy=nginx.service

1.2 Execute:

$sudo systemctl enable fossil
$sudo systemctl start fossil

2. Configure nginx.

Include in the server{} section of your config file:

location /fossil/ {
   scgi_pass 127.0.0.1:9000;
   include scgi_params;
   scgi_param SCRIPT_NAME "/fossil";
   client_max_body_size 20M;
}

3. Now every .fossil repo, located in the /fossil/ directory will be accessible 
on:

https://your.web.site/fossil/repo_name/



Hope will be helpful.
Regards



___
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] Setting up an internet Fossil server

2018-03-05 Thread Scott Doctor


This is the first time I am using nginx so I am learning this as 
I go.


A couple of questions. Under your 1.1 the [service] section,

what do I use for THE_USER_YOU_WANT since the access will be 
from the internet?


The default location for web pages is  /var/www/html/

is this what I should use for DOCUMENT_ROOT?

I assume from the ExecStart I should place the fossil executable 
in /usr/bin,


correct?

If I reboot the server, is it necessary for me to login and

manually start by your 1.2 Execute commands?

I assume the config file you refer in your 1.2 is the 
/etc/nginx/nginx.conf


Correct?

the file has three declared server sections, each follows each.

Do these catenate? or does each one have a specific use?

simply, which one am I supposed to insert the location stuff?

-

Scott Doctor sc...@scottdoctor.com -

On 3/3/2018 15:17, John Found wrote

If you have working nginx with https, the remaining is 
straightforward: 1. Make fossil to work like a scgi server. I 
have done it through systemd service; 1.1 create file 
"/etc/systemd/system/fossil.service" with the following text: 
[Unit] Description=Fossil scm SCGI script. 
After=network.target network-online.target nss-lookup.target 
nginx.service [Service] Type=simple User=THE_USER_YOU_WANT 
WorkingDirectory=/DOCUMENT_ROOT/fossil/ 
ExecStart=/usr/bin/fossil server /DOCUMENT_ROOT/fossil/ --scgi 
--localhost --port 9000 --repolist Restart=on-failure 
[Install] WantedBy=nginx.service 1.2 Execute: $sudo systemctl 
enable fossil $sudo systemctl start fossil 2. Configure nginx. 
Include in the server{} section of your config file: location 
/fossil/ { scgi_pass 127.0.0.1:9000; include scgi_params; 
scgi_param SCRIPT_NAME "/fossil"; client_max_body_size 20M; } 
3. Now every .fossil repo, located in the /fossil/ directory 
will be accessible on: https://your.web.site/fossil/repo_name/ 
Hope will be helpful. Regards


___
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] Setting up an internet Fossil server

2018-02-26 Thread Scott Doctor


Regarding setting up https in nginx, certbot now supports nginx. 
the letsencrypt website has a link to the certbot page where you 
choose the operating system and server. do a few simple command 
line operations, answer a few questions, wait a few seconds, and 
done.


-
Scott Doctor
sc...@scottdoctor.com
-

On 2/26/2018 05:17, Warren Young wrote:

On Feb 24, 2018, at 11:57 AM, Scott Doctor <sc...@scottdoctor.com> wrote:


Is there a step-by-step how to get fossil to work from an internet page?

I’ve posted this here several times now:

https://www.mail-archive.com/fossil-users@lists.fossil-scm.org/msg22907.html

Since you’ve already got Let’s Encrypt working with nginx, you can skip all of 
that.  The HOWTO was written before Let’s Encrypt had built-in support for 
nginx.

___
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] Setting up an internet Fossil server

2018-02-26 Thread Scott Doctor


Going to give this a try. (also busy with other pay-the-bills 
work so I tend to do this one in my spare (ha) time).


The issue I am trying to figure out is that it seems it is an 
all or nothing setup. Either the website is using fossil as the 
website or not at all. Most of the website is HTML5 and php 
pages that have nothing to do with the fossil archive. It is the 
functionality of the random number generator, api, and website 
UI I designed that I am packaging up as an open source project. 
Hence the use of fossil.


What I want is for fossil to activate when I access a specific 
directory to use fossil.


https://nousrandom.net/code/

But it appears I am going to have to make a sub-domain to do this.

I put the fossil program in that folder, and through the command 
line interface (via putty) created a new archive in that folder. 
However, when I issue the command


fossil server --scgi

the program runs in the foreground and the command line control 
is unusable until I ctrl-c.


So I guess I need to create a sub-domain to use fossil.

Still have not yet got it to work even as a stand-alone.

To be continued...


-
Scott Doctor
sc...@scottdoctor.com
-

On 2/26/2018 05:17, Warren Young wrote:

On Feb 24, 2018, at 11:57 AM, Scott Doctor <sc...@scottdoctor.com> wrote:


Is there a step-by-step how to get fossil to work from an internet page?

I’ve posted this here several times now:

https://www.mail-archive.com/fossil-users@lists.fossil-scm.org/msg22907.html

Since you’ve already got Let’s Encrypt working with nginx, you can skip all of 
that.  The HOWTO was written before Let’s Encrypt had built-in support for 
nginx.

___
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] Setting up an internet Fossil server

2018-02-24 Thread Scott Doctor
I am trying to setup an internet server for one of my projects 
that I am going to make open source using fossil. I have a new 
Linode server account with a clean install (and fully updated) 
of debian and nginx with letsencrypt https working properly. I 
am having trouble getting fossil to work.


Is there a step-by-step how to get fossil to work from an 
internet page?

My website I am trying to do this on is:

https://nousrandom.net/


-- - Scott Doctor sc...@scottdoctor.com 
-


___
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 to disable crlf warning permanently

2017-12-06 Thread Scott Doctor


How can I permanently turn off the crlf warning that occurs when 
I do I do a commit without having to use the crlf-glob command 
each time?  I do not get why that warning even exists.



--

-
Scott Doctor
sc...@scottdoctor.com
-

___
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 to ignore hidden folders

2017-01-04 Thread Scott Doctor
The C compiler IDE creates hidden folders in each directory with my 
source code which the IDE uses for storing history and recovery 
information. A compile creates a non-hidden folder, usually called DEBUG 
where the compiled object files and such are placed. When I do a "fossil 
extras" I get a very long list of those transient files, all which I do 
not want in the repository.


How do I set a permanent ignore for hidden folders, or a specific folder?


--

-----
Scott Doctor
sc...@scottdoctor.com
-

___
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] Adding binary files to fossil

2017-01-03 Thread Scott Doctor
I added my binary files. Did not get any warning. Should I get a warning 
if fossil detects that a file is binary? Alloptions are the default 
except for the skin (I like the Blitz no logo skin). The files are 
partial text with a bunch of embedded binary control codes. Should I 
force fossil to recognize a file as being binary (How to do that?)?


On a separate topic:

How do I change a previously added file into an unversioned file? I 
cannot seem to find a command that does that.


Regarding unversioned files. I am a bit unclear how they are handled. 
Usually those files do not change (they are specific to the hardware), 
but they might if the hardware is modified. From what I read, an 
unversioned file will be replaced by a newer version and the older 
version disappears. Correct?


As a side note, I am starting to get the hang of using fossil. The 
ticket/wiki/tech note system is very handy for tracking issues, to-do's, 
and documenting the how-to instructions during development. Much better 
than any other program I tried including Git, Subversion, and Mercurial. 
(I really hate Git).


-
Scott Doctor
sc...@scottdoctor.com
-


___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Adding binary files to fossil

2017-01-03 Thread Scott Doctor
I have a repository with typical C source text files (about 100 files 
across several sub-folders). There are a few binary files that are 
needed to compile and use the program. The files are part of the 
program, but the contents need to stay as-is binary. What is the proper 
way to add binary files to a repository? I want the others to be able to 
simply unzip and have the full set of files without having to do a 
separate download and unzip for the binaries.


--

-
Scott Doctor
sc...@scottdoctor.com
-

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] private branches

2016-11-21 Thread Scott Doctor
Reading through the fossil documentation about private branches. 
It states that There is no way to convert a private branch into 
a public branch. But all of the changes associated with the 
private branch are folded into the public branch and are hence 
visible to other users of the project.


I am confuzzled. Seems the private branch becomes public by 
folding into the public branch.


I am inheriting some 20 year old C code for a device that is 
being completely redesigned with modern everything. The 
algorithms used in the old code required going through many 
months of verification and certification  (government mandated). 
I need to track all changes (I am going to be gut it using a 
facsimile of the core algorithm) so I figure this is a good 
candidate for using Fossil. They are currently using an ancient 
CVS system that, well I could not find a single reference to it 
anywhere. So I am going to try to convince them to use a 
different system since we are effectively starting from scratch. 
So I am back again trying to figure out the details how to use 
fossil before I am forced to use some other system. Fossil seems 
to be the least painful of the alternatives.


--

-
Scott Doctor
sc...@scottdoctor.com
-

___
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] remote check in

2016-10-24 Thread Scott Doctor
Just to clear up some confusion. The issues I initially had with 
fossil were due to a misunderstanding about how fossil works. An 
issue is that clicking the help button in the fossil UI gives a 
wall of commands. That is fine if you already understand the 
concept of the base operations and just need a quick syntax 
reference. But when trying to learn fossil from scratch, 
confusion sets in when looking at most of the commands without 
an understanding of why/when/should it be used. As it turns out, 
most of the commands are not used on a normal basis which just 
confuses a newbie without knowing what is/not important.


I think the documentation should group the most commonly used 
commands from the master list. Maybe make several groups 
presented in most-used to rarely-used groupings. A primer should 
avoid permuting the possible operations until later (it just 
adds to the confusion) and focus on a complete real example with 
the concepts explained as though the reader is seeing it for the 
very first time.


Regarding my command line comment. Originally I misinterpreted 
how fossil works. Here is how I thought it worked based on the 
explanations how to use it. (Note this was my original 
interpretation and have since figured out how it really works).


It seemed as though fossil was basically a ticket/wiki database 
that had a fancy way of zipping groups of files together. 
Without understanding the concept how it works, I derived that 
clone basically sent a zipped package of files, you work on the 
files, then zip them back up and then someone manually has to 
conditionally decide what to merge back into the main 
repository. That is what I derived from the documentation. As 
such I initially saw fossil as a burden to use that did not 
really add any value to my workflow.


I was not aware that doing a commit or sync automatically 
updated the main repository. That should be the very first topic 
of discussion in the documentation (with a better explanation 
and example). The documentation seems to imply that only the 
local copy is modified, which is why I was confused about the 
server command line issue. I was trying to figure out how 
changes to my local copy made it back into the main copy on the 
server. The command line I was referring to was the command line 
on the server not the local workstation. The documentation seems 
to read as though to get the local copy back into the main 
repository requires a bunch of commands need to be executed on 
the server command line.


The documentation needs a newbie primer that better explains how 
commits and syncing works. I now mostly figured it out, but was 
initially discouraged because of the seemingly (incorrect) 
concept of operation for syncing with the main repository.


A problem with most manuals for many software products is that 
an assumption is made that the reader already understands the 
concept of operation. If the reader is confuzzled at the start, 
then explanations of the commands do not absorb without an 
understanding why it is being done.



-
Scott Doctor
sc...@scottdoctor.com
-

On 10/24/2016 08:18, Warren Young wrote:

On Oct 22, 2016, at 4:40 PM, Scott Doctor <sc...@scottdoctor.com> wrote:

How do they do such over the internet without having command line access?

Are you actually saying that your fellow researchers don’t have access to the 
command line on their own workstations?

I do understand that some managed PC installations do try to turn off the local 
OS command terminal.  An IT industry columnist I follow calls such people the 
Value Prevention Society, because they frequently take actions to remove the 
value we should expect to get from user-owned PCs over mainframes and such.

If you actually do find yourself operating in such a benighted environment, you 
could build a GUI wrapper program around the fossil.exe binary.  I’m not 
talking about anything grandiose; maybe half a day of time in your favorite GUI 
builder.  You could do this in anything from VB to Tcl/Tk to HTML Applications. 
 You could probably even do it in FileMaker. :)

(Yes, I’m making a leap here that you’re using Windows.  Organizations that 
allow use of other OSes generally don’t even *try* to lock their users out of 
the local command line.)


Seems adding files, doing check-ins, merges, should all be part of the UI.

Someone has to do it.  Patches will be thoughtfully reviewed. :)
___
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] remote check in

2016-10-23 Thread Scott Doctor


On 10/23/2016 13:59, Artur Shepilko wrote:
It's not clear what type of project the OP is trying to setup, 
whether it's a programming-related project, or general 
document-repo type.


I am doing research where we may do a dozen iterations a day 
generating about 10-100MB of files per iteration. within a short 
period of time we will have well over a terabyte of information. 
My current workflow uses a database (was filemaker but switched 
to sqlite a while ago) like a library card catalog with notes 
and status fields. The files are a combination of analysis 
code,  text csv, binary, and documentation. Occasionally we find 
something and want to go back to older data and re-run the 
experiment with a few tweaks, or modify the analysis program. I 
have information overload and finding stuff, even with it 
cataloged in a database, is becoming a significant chore. So I 
am trying out different techniques, such as using fossil, to 
track the experiments and the large volume of information.


-
Scott Doctor
sc...@scottdoctor.com
-


___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] remote check in

2016-10-22 Thread Scott Doctor
I am trying to figure out how to use fossil for an upcoming 
project. I keep coming back to fossil as the alternatives (git, 
mercurial,...) are just... well I will go bald trying to figure 
them out. I made a test repository to play with and mostly 
figured out the command line commands. The problem I am having 
is how to add files, do check-ins and such via the UI, mostly 
regarding doing it remotely without command line access.


My question is, for example the sqlite fossil system, someone 
wants to check-in a change of a file, or add a new file. How do 
they do such over the internet without having command line 
access? I do not see any operations from the UI that does that. 
Seems adding files, doing check-ins, merges, should all be part 
of the UI. So do people who have a check-in or a new file email 
the file to the administrator and they add/check-in, or do those 
people have command line access?


--

-
Scott Doctor
sc...@scottdoctor.com
-

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Repository question

2016-10-18 Thread Scott Doctor


The fossil wiki states that Check-ins are normally stored in the 
repository in a highly space-efficient compressed format (delta 
encoding).


Assume many check-ins occurred with many changes over many 
files. Seems that if something glitches everything can become 
out of sync and hard to recover. My question, is there is a way 
to tell fossil to store the complete versions of the documents 
instead of it recreating the documents by piecing all those 
fragments together. My concern is that something goes wrong, 
perhaps a bad disk sector not necessarily a software issue, that 
would further complicate recover.



--

-
Scott Doctor
sc...@scottdoctor.com
-

___
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] disabled due to excessive bounces (again?)

2016-10-17 Thread Scott Doctor

Could it be a virus or some sort of malware?


-
Scott Doctor
sc...@scottdoctor.com
-

On 10/17/2016 19:12, Richard Hipp wrote:

I was just now booted from my own mailing list for excessive bounces.
;-)  Dunno what that is about...

It was easy enough to click on the link in the notification message to
resubscribe.



___
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] www.fossil-scm.org down?

2016-10-15 Thread Scott Doctor
Using a rewrite in .htaccess on the home page will push everyone 
to https. Seems that the server should auto push to the https 
from http, but it does not. On my website I put the following at 
the top of the .htaccess file


RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]


-
Scott Doctor
sc...@scottdoctor.com
-

On 10/15/2016 18:47, Richard Hipp wrote:

On 10/15/16, Johan Kuuse <jo...@kuu.se> wrote:

Hi,

I cannot acces www.fossil-scm.org
Anyway, www.fossil-scm.org:8080 responds, so it seems to be a problem
with the web server.

xinitd, which manages inbound connections on port 80, had crashed.  I
restarted it.  Things should be working again.  Thanks for the report.
I had not noticed it before because I always use https instead of
http.

https on port 443 is managed by stunnel4.  It was still running.
Apache manages port 8080 and it was still running.  Backup servers at
http://www2.fossil-scm.org/ and http://www3.fossil-scm.org/ were both
still running.



___
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] www.fossil-scm.org down?

2016-10-15 Thread Scott Doctor

I jsut tried it. Firefox reports an unable to connect error

-
Scott Doctor
sc...@scottdoctor.com
-

On 10/15/2016 16:55, Johan Kuuse wrote:

Hi,

I cannot acces www.fossil-scm.org
Anyway, www.fossil-scm.org:8080 responds, so it seems to be a problem
with the web server.

BR,
Johan
___
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] Further mailing list configuration changes.

2016-06-26 Thread Scott Doctor

Yay.

-
Scott Doctor
sc...@scottdoctor.com

On 06/26/2016 21:14, Steve Stefanovich wrote:

Works, don't touch it anymore :)

Cheers,
Steve
---
‎
   Original Message
From: Richard Hipp
Sent: Monday, 27 June 2016 14:13
To: fossil-users
Reply To: Fossil SCM user's discussion
Subject: [fossil-users] Further mailing list configuration changes.


The "From:" removal has been turned off and in its place "Reply-To:"
removal has been turned on.  This is a test message to verify the new
configuration.  Further changes might occur depending on how this one
goes.

--
D. Richard Hipp
d...@sqlite.org
___
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] fossil as a website content manager

2016-04-05 Thread Scott Doctor


Poking around my godaddy interface, it states my service has 
support for Perl w/FASTCGI, Python CGI, and Ruby on Rails 
w/FASTCGI. Usually I make a web page in html then upload it into 
a folder. the index.html file automatically loads when the web 
browser url is set to that folder. A while back I played with 
some experimental php written pages to learn php. most web 
applications, like wordwpress, drupal,... seem to be written in php.


I do not seem to have command line root access, so I cannot 
execute gcc. So I... well... hmmm... I can ftp files into a 
folder, create folders, set some options. Certain file types 
seem to automatically work. Guess I need to get cpanel added to 
my account to do this which supposedly gives me command line 
control.


Anybody out there ever get Fossil to work on a godaddy shared 
server?



Scott Doctor
sc...@scottdoctor.com
--

On 4/5/2016 8:28 AM, Richard Hipp wrote:

On 4/5/16, Scott Doctor <sc...@scottdoctor.com> wrote:

I am starting yet another project, ... I am going
to give fossil a shot at being the content manager for this one. It
looks like the sqlite and fossil website are using fossil for doing
such. I would like to know how much modification and special code you
use in addition to the built-in fossil stuff. (referring mostly to the
wiki and download pages)

The SQLite website is mostly static pages.  The repositories use CGI.
The main SQLite website uses a custom web-server, the source code for
which can be seen at
(https://www.sqlite.org/docsrc/finfo?name=misc/althttpd.c) (Yes, the
complete web-server is implemented as a single file of C code.)

The Fossil website, on the other hand, is mostly just a running
instance of Fossil.  For the main website, it is hosted on the same
server and using the same custom web-server as SQLite.  But the backup
site at www3.fossil-scm.org is on a shared-hosting account a Hurricane
Electric running Apache.  See
https://www.fossil-scm.org/fossil/doc/cd58f59a474c7ef773d1/www/selfhost.wiki
for additional information.


___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] fossil as a website content manager

2016-04-05 Thread Scott Doctor
I am starting yet another project, well an offshoot of a current one 
(like I don't have too many already). This one I need to put some stuff 
on a password protected page (usually using .htaccess) on my website so 
that others on the project can have access to the files. So I am going 
to give fossil a shot at being the content manager for this one. It 
looks like the sqlite and fossil website are using fossil for doing 
such. I would like to know how much modification and special code you 
use in addition to the built-in fossil stuff. (referring mostly to the 
wiki and download pages)


I have a GoDaddy shared server website account. Still trying to figure 
out what I ftp to the page and what to configure to get a clean install 
of fossil working on it. My website server account uses linux and has 
php 5.5. I usually just make my web pages offline with a web page 
creator program in html then upload them to whatever directory.  But 
this one is more complicated. was looking at using Drupal, but I think 
fossil might be a better fit, if I can get it working on my website.


--
-
Scott Doctor
sc...@scottdoctor.com

___
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] The "fbapp:" scheme in the HTTP REFERER

2016-01-18 Thread Scott Doctor
here are three references that use that number. looks like it is due to 
java code for accessing facebook.


https://jrcorner.wordpress.com/2013/01/22/fetching-facebook-graph-data-with-go/

https://github.com/yappbox/FacebookConnect/blob/master/src/android/facebook/Facebook.java

https://code.google.com/a/eclipselabs.org/p/android-sharing-function/source/browse/src/com/google/code/sharing/facebook/Facebook.java?spec=svn6da0b6e7ab022c4a23cadda7862c5292eaefdc35=6da0b6e7ab022c4a23cadda7862c5292eaefdc35

On 01/18/2016 05:33, Richard Hipp wrote:

The #1 source of external visits to the Fossil website over the past
48 hours (according to webserver logs) has been:

  fbapp://350685531728/newsfeed_image_share_view

Can anybody tell me how to view that content?  Presumably "fbapp" is
shorthand for "Facebook Application".  But what does the rest mean?



--
---------
Scott Doctor
sc...@scottdoctor.com

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] VCS Theory

2015-11-19 Thread Scott Doctor
I am looking for information about the theory of VCS that is 
being used for systems such as Fossil, Git... Not so much the 
how-to-use, but the concepts and issues.


Any suggestions of either links to something like wikipedia 
pages or a well written book I can find at the university library.


--

Scott Doctor
sc...@scottdoctor.com
--

___
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] fossil v1.34 unexpected CLEAN command changes from v1.33

2015-11-03 Thread Scott Doctor


why is 10mb a magic number? Why have a magic number at all?


Scott Doctor
sc...@scottdoctor.com
--

On 11/3/2015 5:20 AM, Richard Hipp wrote:

On 11/3/15, Tony Papadimitriou <to...@acm.org> wrote:

Thanks.

BTW, the help for clean shows this (which is a bit misleading):

--no-prompt  This option disables prompting the user for input and
assumes an answer of 'No' for every question.

But, if prompting is disabled by default, how does that disable it further?


By default it still prompts to confirm deletes of files that cannot be
undone - specifically files larger than 10MB.


___
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] xkcd on git

2015-10-31 Thread Scott Doctor


Which is why I like my process. Redundancy is good. Not 
dependent on some algorithm to piece things back together. Disks 
are so frikkin large now that it is not an issue to have 
multiple copies of the same file. If one set gets corrupted, 
just use the one behind it. Fully self contained archived 
snapshots not needing any program to access it.



Scott Doctor
sc...@scottdoctor.com
--

On 10/31/2015 1:53 AM, Stephan Beal wrote:
On Sat, Oct 31, 2015 at 6:27 AM, Michal Suchanek 
<hramr...@gmail.com <mailto:hramr...@gmail.com>> wrote:


Unless you delete .git your checkout is always in well
defined state.


No, it's not. i once literally had one of the libgit 
maintainers at my desk for a full hour trying to get my repo 
(of a project we were both working on for our employers) back 
in a pushable state after it got jumbled up by me copy/pasting 
commands suggested by StackOverflow (about the worst place to 
get git advice). If one of the developers takes that long to 
straighten it out, then something is (IMO) fundamentally wrong.


--
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
"Freedom is sloppy. But since tyranny's the only guaranteed 
byproduct of those who insist on a perfect world, freedom will 
have to do." -- Bigby Wolf



___
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] xkcd on git

2015-10-30 Thread Scott Doctor


I did not say I did not use version control. By VCS I refer to 
the programs such as fossil, git, mercurial... used for doing 
such. I am using Fossil for my current project in parallel with 
my own way of handling versions. Embarcadero RAD Studio 
incorporates Git, Mercurial, and Subversion into the IDE. Had 
issues with them, so I tried fossil. Still evaluating its utility.


What I meant was I end up spending much time trying to get the 
tools to do what I want it to do versus how it wants to do it. 
Especially when new to the system, a GUI interface is much 
better than having to work with yet another list of command line 
formats.


I fully see the utility of a VCS on collaborative projects. My 
project is for my own research work and is not used by any 
clients. I am also the only one who plays with my code. So some 
of the utility needed for collaborative efforts becomes 
cumbersome for a solo project.


I have a directory tree on various backup drives of my old 
versions, one-off programs, and a huge library of my own 
utilities. The development system I use (Embarcadero RAD Studio) 
has a built-in program manager which juggles the various files 
required for the build.


Before I start writing a new function, process, or other 
modification, I create a sub-folder of my backup folder which 
are numbered in sequence. The file system applies a date to the 
creation time of the folder which identifies when the backup was 
made. I then simply copy my entire project folder into the 
backup folder. If I break the code, or decide to revert the 
changes, I restore the project from the desired backup folder. 
This is a bit cumbersome way of handling versions, especially 
given my main program consists of more than 250 files. Such is 
why I am trying out various VCS systems. I am finding them just 
as cumbersome of a process with an added layer of things to go 
wrong.



Scott Doctor
sc...@scottdoctor.com
--

On 10/30/2015 12:59 PM, Richard Hipp wrote:

On 10/30/15, Scott Doctor <sc...@scottdoctor.com> wrote:

That is my experience with all VCS systems. Even with fossil, I
am having trouble justifying why the hassle is worth the effort.


What do you do when a customer calls to ask about code you sent them
18 months ago?  How do you figure out what version of the code they
are running?

When you find an obscure bug that you know was not in the release from
December 2012 but might have been introduced anytime between then and
now, how do you figure out when it was introduced?

How do you add experimental features and make experimental changes?
Do you just start hacking away and hope the changes don't break
anything?

How do you identify versions of your code to your customer?

How do you verify that no stray changes have been introduced into your code?

How do you backup your code?

When you have multiple people collaborating on the same project, how
do you coordinate their changes and ensure that features added by one
developer don't get overwritten and erased by another developers.  How
do you know who is working on what?  Can you even identify what you
code is?

Seriously.  I don't understand how it is possible to make reliable
software without good version control.  Is the foundation of
everything.




___
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] xkcd on git

2015-10-30 Thread Scott Doctor


It is sort of the "Lightbulb Problem":

Scenario 1: I want to design a lightbulb. So I study metallurgy, 
thermodynamics, electronics, manufacturing processes... Study 
what others succeded/failed at,... and so forth.


Scenario 2: I want to use that lightbulb in my project. I only 
need to study a subset, or simply how to wire it up from the manual.


Sceanario 3: I want to turn on the light bulb.

--------
Scott Doctor
sc...@scottdoctor.com
--

On 10/30/2015 11:44 AM, Gour wrote:

On Pet, 2015-10-30 at 21:33 +0300, Konstantin Khomoutov wrote:


I'm a programmer, and after having used a bunch of centralized and
distributed VC systems I've come to a temporary conclusion that the
set of problems [D]VC systems are trying to solve has certain
irreducible complexity, and hence these systems either throw it onto
the heads of the users (Git) or sweep it under the rug (Mercurial,
Fossil).

I do use Fossil for *all* my private projects and intend to use it for
open-source one as well...however, in my experience using different
(D)VCS, I still believe that Darcs was the easiest one to use, but, it
had some peformance problems as well as lack of reliable public
hosting.


Sincerely,
Gour



___
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] xkcd on git

2015-10-30 Thread Scott Doctor


That is my experience with all VCS systems. Even with fossil, I 
am having trouble justifying why the hassle is worth the effort.



Scott Doctor
sc...@scottdoctor.com
--

On 10/30/2015 10:07 AM, Stephan Beal wrote:
On Fri, Oct 30, 2015 at 6:05 PM, Eric Rubin-Smith 
<eas@gmail.com <mailto:eas@gmail.com>> wrote:


I suspect Fossil folks will appreciate this :-)

http://xkcd.com/1597/


http://fossil-scm.org/index.html/info/227b837a6c686972

:)

--
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
"Freedom is sloppy. But since tyranny's the only guaranteed 
byproduct of those who insist on a perfect world, freedom will 
have to do." -- Bigby Wolf



___
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] SHA1 and security

2015-10-29 Thread Scott Doctor


I thought this topic was beat to death a couple times already.


Scott Doctor
sc...@scottdoctor.com
--


___
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] Why Hash

2015-09-15 Thread Scott Doctor


What are the items that are used to calculate the hash? Is the 
hash salted?



Scott Doctor
sc...@scottdoctor.com
--

On 9/14/2015 10:53 PM, Stephan Beal wrote:
On Mon, Sep 14, 2015 at 7:46 PM, Warren Young 
<w...@etr-usa.com <mailto:w...@etr-usa.com>> wrote:


output, and Fossil would be free to switch to a different
algorithm later if that seemed like a good idea.


Indeed, fossil's model allows any hash to be used, but it is 
not possible to change the hash without a near-complete 
overhaul of fossil (and its docs), nor without invalidating 
every repo in existence, so it's highly unlikely to ever 
happen. Supporting two hash variants in one fossil binary 
would likely prove to be problematic (and would require a 
major overhaul).


And indeed, maybe it is a good idea, since SHA-1 is
nearing its EOL for cryptographic use:

https://www.google.com/?q=sha-1%20end%20of%20life


Fossil does not use it in a cryptographic context, so i would 
argue that that's not relevant for fossil's continued use. 
Fossil only uses sha-1 to define/determine content identity. 
(There are long threads somewhere in the list archives about 
the changes of hash collision. Management summary: not likely 
to happen for many human generations.)


--
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
"Freedom is sloppy. But since tyranny's the only guaranteed 
byproduct of those who insist on a perfect world, freedom will 
have to do." -- Bigby Wolf



___
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] merge after cherrypick plus edit does not identify GCA as I would like

2015-09-15 Thread Scott Doctor


a sideways question on this topic. Assume in my C editor I run 
the code formatter operation which indents and parses certain 
tokens for cosmetic, but not functional, changes in the file. By 
parsing I mean operations such as adding/removing linefeeds 
before/after a token such as a bracket or semicolon, and 
removing/adding blanks lines and spaces.


Will the merge and diff operations see the file as completely 
changed?




Scott Doctor
sc...@scottdoctor.com
--

On 9/15/2015 5:13 AM, Richard Hipp wrote:

On 9/15/15, Eric Rubin-Smith <eas@gmail.com> wrote:

The merge algorithm does *not* consider cherry-picks.  It looks for
the most recent common ancestor without taking cherry-picks into
account.

Another popular version control tool whose name I won't mention (hint:
rhymes with "zit") behaves identically to fossil in this scenario. Is there
some deeper reason for not using the cherry pick "arrow", or is it simply
that yall haven't had a need to improve the behavior here yet so haven't
bothered?


Merge is done by a classic 3-way diff.  It looks at all the changes
that occurred on the path from A to B and applies those same changes
to C.  (A in this case would be the most recent common ancestor of B
and C).

How would cherry-picks factor into this?



___
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] diff after update

2015-09-11 Thread Scott Doctor

diff --erent

or

diff --erance


Scott Doctor
sc...@scottdoctor.com

On 9/11/2015 10:27 AM, Richard Hipp wrote:

On 9/11/15, Warren Young <w...@etr-usa.com> wrote:

diff --undo sounds like you’re asking it to undo the diff, which makes no
sense.

I agree.  I'm just having trouble coming up with an alternative.


How does “fossil diff --last” strike you?

Still a little generic, I think, but moving in the right direction.


___
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] Why Hash

2015-09-11 Thread Scott Doctor

  
  

I am getting confuzzled. Could someone
  explain the difference between a leaf, branch, and fork.
  


Scott Doctor
sc...@scottdoctor.com
--

On 9/11/2015 1:04 PM, Michal Suchanek
  wrote:


  On 11 September 2015 at 17:13, Noam Postavsky
<npost...@users.sourceforge.net> wrote:

  
On Fri, Sep 11, 2015 at 3:57 AM, Michal Suchanek <hramr...@gmail.com> wrote:


  On 10 September 2015 at 19:23, Noam Postavsky
<npost...@users.sourceforge.net> wrote:

  
For example see figure 3 of
http://fossil-scm.org/xfer/doc/trunk/www/branching.wiki

Both check-ins 3 and 4 are equidistant from the root.

  
  
And each is on a differnt branch.



This is a fork, not an intentional branch, so both sides are on the
same branch. Figure 4 shows intentional branching.

  
  
That does not really matter. Intentional or not it is a branch and has
to be merged before both commits appear on the same branch. Then they
both get unique number, too.

Thanks

Michal
___
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] diff after update

2015-09-11 Thread Scott Doctor

diff --erence

misspelled it


Scott Doctor
sc...@scottdoctor.com

On 9/11/2015 10:38 AM, Scott Doctor wrote:

diff --erent

or

diff --erance


Scott Doctor
sc...@scottdoctor.com

On 9/11/2015 10:27 AM, Richard Hipp wrote:

On 9/11/15, Warren Young <w...@etr-usa.com> wrote:
diff --undo sounds like you’re asking it to undo the diff, which 
makes no

sense.

I agree.  I'm just having trouble coming up with an alternative.


How does “fossil diff --last” strike you?

Still a little generic, I think, but moving in the right direction.


___
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] Why Hash

2015-09-09 Thread Scott Doctor


Why does Fossil use a hash for an entries identity instead of sequential 
numbering? Seems simply using the rowid of the associated database table 
would be more meaningful and practical than those long strings of 
arbitrary numbers.


--

Scott Doctor
sc...@scottdoctor.com
-

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Modifying button bar

2015-08-31 Thread Scott Doctor


I am new to using Fossil, so I created a dummy project to play 
with the various features. For the most part I think Fossil is a 
huge improvement over the alternatives. I can see using this as 
my support website framework along with handling development 
issues., which leads me to the following question.


How do I change the button bar? While the 
home-timeline-files- entries are fine for the base 
operations, what I want is an easy way to customize that bar. 
Mainly for the first page or custom wiki pages. I can hack the 
pages code, but that is not a preferred way to do that. So 
simply, how can I customize the buttons on the button bar at the 
top of the page to use my combination of button, or to 
add/remove a button?



Scott Doctor
sc...@scottdoctor.com
--


___
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] Modifying button bar

2015-08-31 Thread Scott Doctor

  
  

Hmm. I guess that will work. but would be
  nice to have a simple GUI-ish type editor where I just have a list
  in order of appearance that is the name of the button and its
  link, instead of basically hacking code, thereby isolating
  language syntax from the user. 
  
  I see it working as such. User wants to add (or delete) a button.
  Clicks ADD BUTTON button. Prompt for name of button, prompt for
  link or select from tree (I think tree is better). the appropriate
  code is then inserted into the HTML where the user never sees the
  underlying code.
  


Scott Doctor
sc...@scottdoctor.com
--

On 8/31/2015 10:51 AM, Warren Young
  wrote:


  On Aug 31, 2015, at 11:46 AM, Scott Doctor <sc...@scottdoctor.com> wrote:

  

how can I customize the buttons on the button bar at the top of the page

  
  
Admin -> Skins -> Header.

That gets you a text editor containing the current HTML + TH1 code combination that generates the header portion of each page Fossil serves.  The footer and CSS files also play into it.

If you want to dig deeper into it, the stock skins are in the skins subidrectory of the Fossil code repo.

___
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