Re: [fossil-users] Fossil repo on a network share?

2015-11-18 Thread Eduard
And even if you don't have a static IP and you're behind a stupid NAT,
you can still set up a tor hidden service.

On 11/18/2015 12:12 PM, Scott Robison wrote:
>
> On Nov 18, 2015 1:28 AM, "Stephan Beal"  > wrote:
> >
> > On Wed, Nov 18, 2015 at 9:19 AM, Dömötör Gulyás  > wrote:
> >>
> >> And unfortunately not all devs sit in the same building. Anyway,
> I'll just upload a repo, probably most people will just read it, and
> when changes are to be made, it'll be on me to manage merging anyway.
> This really isn't a software company :/
> >
> >
> > You have been warned.
> >
> > Why not host the repo on an external site via CGI? A hoster capable
> of this costs $5/month, and anyone with internet access will be able
> to reach it (provided they know where it is).
>
> And if one is concerned about the price of such a hoster, or the
> potential security ramifications of keeping repos on a server you
> don't own or control, it can be pretty easy to setup a VM on a home
> computer if you have anything remotely close to a static IP.
>
>
>
> ___
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users



signature.asc
Description: OpenPGP digital signature
___
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 repo on a network share?

2015-11-18 Thread Scott Robison
On Nov 18, 2015 1:28 AM, "Stephan Beal"  wrote:
>
> On Wed, Nov 18, 2015 at 9:19 AM, Dömötör Gulyás 
wrote:
>>
>> And unfortunately not all devs sit in the same building. Anyway, I'll
just upload a repo, probably most people will just read it, and when
changes are to be made, it'll be on me to manage merging anyway. This
really isn't a software company :/
>
>
> You have been warned.
>
> Why not host the repo on an external site via CGI? A hoster capable of
this costs $5/month, and anyone with internet access will be able to reach
it (provided they know where it is).

And if one is concerned about the price of such a hoster, or the potential
security ramifications of keeping repos on a server you don't own or
control, it can be pretty easy to setup a VM on a home computer if you have
anything remotely close to a static IP.
___
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 repo on a network share?

2015-11-18 Thread John Found
On Wed, 18 Nov 2015 12:37:18 -0500
Eduard  wrote:

> And even if you don't have a static IP and you're behind a stupid NAT,
> you can still set up a tor hidden service.
> 

It is so funny and so familiar, to read about how the workers have to trick his 
own management in order to do their job better!

Good luck! ;)
-- 
http://fresh.flatassembler.net
http://asm32.info
John Found 
___
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 repo on a network share?

2015-11-18 Thread Stephan Beal
On Wed, Nov 18, 2015 at 9:19 AM, Dömötör Gulyás  wrote:

> Heh, we DID use to have a separate network, where we could pretty much do
> what we wanted, with a linux server, but it was disbanded a while ago. To
> save money or somesuch nonsense.
>

long term, sharing a fossil repo on an SMB share is likely to cost more, in
terms of lost work when the repo gets corrupted. It is only a matter of
time before it happens.


> And unfortunately not all devs sit in the same building. Anyway, I'll just
> upload a repo, probably most people will just read it, and when changes are
> to be made, it'll be on me to manage merging anyway. This really isn't a
> software company :/
>

You have been warned.

Why not host the repo on an external site via CGI? A hoster capable of this
costs $5/month, and anyone with internet access will be able to reach it
(provided they know where it is).

-- 
- 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


Re: [fossil-users] Fossil repo on a network share?

2015-11-18 Thread Dömötör Gulyás
Heh, we DID use to have a separate network, where we could pretty much do
what we wanted, with a linux server, but it was disbanded a while ago. To
save money or somesuch nonsense.

And unfortunately not all devs sit in the same building. Anyway, I'll just
upload a repo, probably most people will just read it, and when changes are
to be made, it'll be on me to manage merging anyway. This really isn't a
software company :/

On 18 November 2015 at 02:05, Ron W  wrote:

> On Tue, Nov 17, 2015 at 6:06 PM, Dömötör Gulyás 
> wrote:
>
>> Unfortunately the corporate network in this case is rather conservative,
>> and I can't have a server running, plus I can't even connect my main dev
>> laptop to the corp network... rather silly, the whole thing is.
>>
> ...
>
>>
>> So all in all fossil is great for doing field work and keeping track of
>> tickets etc offline, but I don't have a decent way of syncing. Of course,
>> each dev could upload their fossils to the windows share, and pull from
>> each other to a local repo, but that quite sounds like a bad n-way merge
>> waiting to happen.
>>
>
> If every dev has a separate dev laptop, you could sync to each other using
> a cross-over ethernet cable (if your laptops don't have ethernet ports, you
> can get USB ethernet adapters). That would save having to copy between your
> dev and "office" PCs to share your work.
>
> Since your dev laptops are not connected to the company LAN, running the
> Fossil server would not touch the company network.
>
> Once company I used to work for, software dev PCs were connected to an
> isolated LAN. IT provided basic support of the LAN itself, but we were
> responsible for PCs connected to it. If we messed up a PC, the most they
> would do is re-installed Windows. If there was a hardware failure, IT would
> repair or replace it. The tools and other software we used on the dev PCs
> were our responsibility. Moving documents and product software in/out of
> the dev LAN required "sneaker net", but at least we had network
> connectivity between our dev PCs.
>
>
> ___
> 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 repo on a network share?

2015-11-17 Thread Matt Welland
On Mon, Nov 16, 2015 at 3:57 PM, Dömötör Gulyás  wrote:

> I've got an environment where it'd be good to put a fossil repo onto a
> windows network share, as running an actual server is hindered by corporate
> IT policy. Has anybody done this, or is this at least theoretically doable?
>

We have nearly 800 fossils on NFS with a total of some 113k commits. File
locking can be a problem if servers get overloaded but overall it works
fine. It is better if you use ssh protocol since then the locking all
happens on the same machine. Fossil itself does not handle overlapping
access all that gracefully since the default timeout is too short and users
will get ugly fails if someone tries to commit at the same time as someone
else is cloning or syncing.

Note that different filers and file systems have different locking
mechanisms and you'll get all the problems others are warning about if your
filer does lousy locking.

In short I can't say I recommend sharing fossils on a network machine but
it is certainly *possible* to do it.



> Cheers & thanks,
> DG
>
> ___
> 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 repo on a network share?

2015-11-17 Thread Ron W
On Mon, Nov 16, 2015 at 5:57 PM, Dömötör Gulyás  wrote:

> I've got an environment where it'd be good to put a fossil repo onto a
> windows network share, as running an actual server is hindered by corporate
> IT policy. Has anybody done this, or is this at least theoretically doable?
>

Where I work, most of the software devs and "project managers" have 2 PCs -
 laptops, but we rarely take both out of the office at the same time. This
allows us to run Fossil servers on our PCs so we can sync between each
others PCs in a peer-to-peer arrangement.

Note, Fossil doesn't directly support peer-to-peer sync'ing, so we use
scripts to perform sync'ing. This also means that Fossil's auto-sync
feature is of limited value to us.

PS: In theory, the each project lead could designate one laptop as the main
server for his/her projects. In practice, this doesn't work because the
primary reason most of us have 2 laptops is that the older and newer ones
have different interface ports available. For example, older ones have
PCcard slots while newer ones have ExpressCard slots. As such, we can't
designate one as "always there".

PPS: The project managers actually do always leave their older laptops at
their desks. However, we do not and will not host code repos on those.
Ticket-only repos, only. (Yes, this means us devs have to have a pair of
repos for each project. Inconvenient, but workable.)
___
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 repo on a network share?

2015-11-17 Thread Richard Hipp
On 11/16/15, Dömötör Gulyás  wrote:
> running an actual server is hindered by corporate
> IT policy.

Can you not just run:

fossil server

from your personal desktop/laptop machine, and have your colleagues
connect to that, and not tell corporate about it?

-- 
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


Re: [fossil-users] Fossil repo on a network share?

2015-11-17 Thread Dömötör Gulyás
Unfortunately the corporate network in this case is rather conservative,
and I can't have a server running, plus I can't even connect my main dev
laptop to the corp network... rather silly, the whole thing is.

The company has a private github, BUT that is again not accessible from the
dev laptop (because accessing that requires to be at least VPN'd into the
corp network, which requires a windows config that disallows admin rights,
which we need for development... but I digress).

So all in all fossil is great for doing field work and keeping track of
tickets etc offline, but I don't have a decent way of syncing. Of course,
each dev could upload their fossils to the windows share, and pull from
each other to a local repo, but that quite sounds like a bad n-way merge
waiting to happen.

On 17 November 2015 at 18:15, Ron W  wrote:

> On Mon, Nov 16, 2015 at 5:57 PM, Dömötör Gulyás 
> wrote:
>
>> I've got an environment where it'd be good to put a fossil repo onto a
>> windows network share, as running an actual server is hindered by corporate
>> IT policy. Has anybody done this, or is this at least theoretically doable?
>>
>
> Where I work, most of the software devs and "project managers" have 2 PCs
> -  laptops, but we rarely take both out of the office at the same time.
> This allows us to run Fossil servers on our PCs so we can sync between each
> others PCs in a peer-to-peer arrangement.
>
> Note, Fossil doesn't directly support peer-to-peer sync'ing, so we use
> scripts to perform sync'ing. This also means that Fossil's auto-sync
> feature is of limited value to us.
>
> PS: In theory, the each project lead could designate one laptop as the
> main server for his/her projects. In practice, this doesn't work because
> the primary reason most of us have 2 laptops is that the older and newer
> ones have different interface ports available. For example, older ones have
> PCcard slots while newer ones have ExpressCard slots. As such, we can't
> designate one as "always there".
>
> PPS: The project managers actually do always leave their older laptops at
> their desks. However, we do not and will not host code repos on those.
> Ticket-only repos, only. (Yes, this means us devs have to have a pair of
> repos for each project. Inconvenient, but workable.)
>
>
> ___
> 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 repo on a network share?

2015-11-17 Thread Ron W
On Tue, Nov 17, 2015 at 6:06 PM, Dömötör Gulyás  wrote:

> Unfortunately the corporate network in this case is rather conservative,
> and I can't have a server running, plus I can't even connect my main dev
> laptop to the corp network... rather silly, the whole thing is.
>
...

>
> So all in all fossil is great for doing field work and keeping track of
> tickets etc offline, but I don't have a decent way of syncing. Of course,
> each dev could upload their fossils to the windows share, and pull from
> each other to a local repo, but that quite sounds like a bad n-way merge
> waiting to happen.
>

If every dev has a separate dev laptop, you could sync to each other using
a cross-over ethernet cable (if your laptops don't have ethernet ports, you
can get USB ethernet adapters). That would save having to copy between your
dev and "office" PCs to share your work.

Since your dev laptops are not connected to the company LAN, running the
Fossil server would not touch the company network.

Once company I used to work for, software dev PCs were connected to an
isolated LAN. IT provided basic support of the LAN itself, but we were
responsible for PCs connected to it. If we messed up a PC, the most they
would do is re-installed Windows. If there was a hardware failure, IT would
repair or replace it. The tools and other software we used on the dev PCs
were our responsibility. Moving documents and product software in/out of
the dev LAN required "sneaker net", but at least we had network
connectivity between our dev PCs.
___
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 repo on a network share?

2015-11-17 Thread Richard Hipp
On 11/17/15, Ron W  wrote:
>
> If every dev has a separate dev laptop, you could sync to each other using
> a cross-over ethernet cable

Yeah.  Or maybe connect a RaspberryPi or Beaglebone to a cheap Wifi
hub and create your own private network?  (Are all the developers
within range of a single Wifi?)

-- 
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


Re: [fossil-users] Fossil repo on a network share?

2015-11-16 Thread Scott Robison
It is theoretically doable, but ill advised, given that the underlying
SQLite database depends on an accurate / dependable file system, and
network file systems are notoriously 'fragile' from the point of view of
data integrity.

On Mon, Nov 16, 2015 at 3:57 PM, Dömötör Gulyás  wrote:

> I've got an environment where it'd be good to put a fossil repo onto a
> windows network share, as running an actual server is hindered by corporate
> IT policy. Has anybody done this, or is this at least theoretically doable?
>
> Cheers & thanks,
> DG
>
> ___
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
>


-- 
Scott Robison
___
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 repo on a network share?

2015-11-16 Thread Dömötör Gulyás
I've got an environment where it'd be good to put a fossil repo onto a
windows network share, as running an actual server is hindered by corporate
IT policy. Has anybody done this, or is this at least theoretically doable?

Cheers & thanks,
DG
___
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 repo on a network share?

2015-11-16 Thread Stephan Beal
On Nov 16, 2015 23:57, "Dömötör Gulyás"  wrote:
>
> I've got an environment where it'd be good to put a fossil repo onto a
windows network share,

No, you don't! It is NEVER a good idea to host a multi-user sqlite db on a
network share. See the sqlite mailing list archives for literally thousands
of answers to questions asking why that is so.

- stephan
Sent from a mobile device, possibly from bed. Please excuse brevity, typos,
and top-posting.

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

- stephan
Sent from a mobile device, possibly from bed. Please excuse brevity, typos,
and top-posting.
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users