Re: [fossil-users] enhanced-symlink branch

2017-10-16 Thread Arseniy Terekhin
I want to share my thought about symlinking in fossil.
I like that fossil manages files only and not other things like
directories*, permissions, symlinks and maybe ACLs. There is "empty-dirs"
setting and I'm okay with it, since it can be stored as file. And I think
all these things are OS specific and should be managed identically. I mean,
I expect  them to be managed in different setting groups. Or maybe create
one group, since there would be too many settings. Where content could be
something like this:

   dir "my_empy_dir"
   dir "my_empy_dir2"
   ln "existing_file_in_repo" "new_link"
   ln_hard "existing_directory_in_repo" "new_hard_link"
   attr_executable "bin/*.sh"
   attr_hidden "*.cab"

That setting can be applied whenever "empty-dirs" is currently applied.
What should "ln" do on FAT16/32 and exFAT filesystems? Well, I'd just
expect fossil to not bother creating any links and maybe give a warning. On
Windows XP+ I'd expect native NTFS links.

That's all. Hope I was clear, it's 1:30AM here.


On Mon, Oct 16, 2017 at 10:49 PM, Andy Goth  wrote:

> On 10/14/2017 5:16 PM, Andy Goth wrote:
> > Please review the enhanced-symlink branch.  I can't test it properly
> > this weekend because I don't have Windows anywhere at home.
>
> Tested on Windows 7, works just the way my project needs it to work.
> The manifest.symlinks file is created when the "l" flag is present in
> the manifest setting.  On Windows (not Unix), its contents determine
> what files are and are not considered to be symlinks.  Editing the file
> influences the changes, status, and commit commands.
>
> I'd like to merge enhanced-symlink to trunk, but honestly I am afraid to
> just do so even though it passes all my tests because there's been zero
> mailing list discussion, aside from talking about Windows symlink
> functionality present on other branches which were themselves never
> merged to trunk.
>
> I still do not know my original change was moved off trunk.  It didn't
> break compatibility, and it did provide a significant part of the needed
> functionality: listing symlinks in a way I can see them in Windows,
> short of parsing the manifest (another question I asked about that never
> got any replies on the mailing list).  I asked for clarification for my
> code being moved off trunk but never got any.
>
> Now I see my most recent trunk check-in has also been moved off trunk,
> despite also not being a compatibility issue, with no explanation to
> either mailing list, my private email, or the check-in comment.  I'm
> talking about http://fossil-scm.org/index.html/info/eb4dda482056b1db.
>
> Was there some policy change about committing to trunk that I missed out
> on?  Before I spend any more time working on Fossil I need to know that
> I'm not doing something unwelcome.
>
> --
> Andy Goth | 
>
>
> ___
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
>


-- 
I remain,
Arseniy Terekhin
___
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] Unversioned files.

2016-10-08 Thread Arseniy Terekhin
Really like unversioned files feature.

On windows you can't do 'fossil uv add ajax\index.html', only forward
slashes will work. Which is okay, but I'd prefer fossil to do slash
replacing.

On Tue, Aug 30, 2016 at 9:31 PM, Richard Hipp  wrote:

> A new feature of Fossil (currently unreleased and only available to
> people who are willing to recompile the code on trunk) is "unversioned
> files".
>
> https://www.fossil-scm.org/fossil/doc/trunk/www/unvers.wiki
>
> The "Download" page on the canonical Fossil website is now implemented
> using these unversioned files, which means that mirrors that sync with
> the -u option also mirror the Download page content.
>
> Your feedback on this new feature is appreciated.
>
> --
> 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
>



-- 
I remain,
Arseniy Terekhin
___
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 sync and authorization error

2016-09-23 Thread Arseniy Terekhin
Let's talk about "Error: not authorized to write" message.

I cloned the repo using fossil from trunk (1763f2879c):
f clone http://fossil-scm.org/ fossil.fossil
f open fossil.fossil

Changed a file and committed:
f ci
Autosync:  http://fossil-scm.org/
Round-trips: 1   Artifacts sent: 0  received: 0
*** time skew *** server is slow by 2.7 minutes
Pull done, sent: 366  received: 283  ip: xx.xx.xx.xxx
continue in spite of time skew (y/N)? y
C:\Windows\notepad.exe "./ci-comment-B5483EC133DB.txt"
New_Version: f1b8192ce1d8ed845149ee9f63193c82b1fdbc67
Autosync:  http://fossil-scm.org/
Round-trips: 1   Artifacts sent: 2  received: 0
Error: not authorized to write
Round-trips: 1   Artifacts sent: 2  received: 0
Sync done, sent: 646  received: 311  ip: xx.xx.xx.xxx
Autosync failed.

Autosync has failed, and the reason is not specified. Aha, let's sync it
manually:
f sync
Sync with http://fossil-scm.org/
Round-trips: 1   Artifacts sent: 0  received: 79
*** time skew *** server is slow by 2.7 minutes
Sync done, sent: 516  received: 2507  ip: xx.xx.xx.xxx

But is it success?
f push
Push to http://fossil-scm.org/
Round-trips: 1   Artifacts sent: 0  received: 0
Error: not authorized to write
Round-trips: 1   Artifacts sent: 0  received: 0
Push done, sent: 413  received: 221  ip: xx.xx.xx.xxx

Now, I see the error in the middle of the log messages, which is not ideal.
I believe, "fossil sync" must log "not authorized to write" message too.
And ideally all three commands should show authorization error at the end
of the log. And maybe show username used to authorize too.

Hope my feedback doesn't look rude.

-- 
I am not a native English speaker,
so feel free to correct any spelling or grammatical errors!
I remain,
Arseniy Terekhin
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Duplicate articles typos

2016-08-27 Thread Arseniy Terekhin
Hi!

Using grep -E "\s(a\sa|the\sthe)\b" -iR I found several duplicate
articles typos:

autosetup/system.tcl:# Each pattern of the form @define@ is replaced the
the corresponding
src/blob.c:** result into OUT.  This command is intended for testing of the
the
src/setup.c:  @ being and not a a robot or spider and (2) the user agent is
able to
src/sqlite3.c:RtreeSearchPoint *p; /* Search point for the the leaf
*/
src/sqlite3.c:** name. By judicious selection of the the  portion
of the names
src/sync.c:** Synchronize all sharable changes between the local repository
and a a


-- 
I remain,
Arseniy Terekhin
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] https support in scgi. Docs update.

2016-04-12 Thread Arseniy Terekhin
Hi!

   It took me some time to figure out, that I need "HTTPS on" on my nginx
side. Please update "scgi.wiki":

 location ~ ^/demo_project/ {
 include scgi_params;
 scgi_pass localhost:9000;
 scgi_param SCRIPT_NAME "/demo_project";
+scgi scgi_param HTTPS "on";
 }


-- 
I remain,
Arseniy Terekhin
___
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] Cancelling a cherry-pick/backout

2015-10-19 Thread Arseniy Terekhin
Let me take us back to my issue
(http://www.mail-archive.com/fossil-users@lists.fossil-scm.org/msg21628.html):
>From fossil's trunk do
 `fosstil merge 1c708ccc8f52dd9952883c6be5be1eee81adbf0f --cherrypick`
and you won't be able to `fossil revert` (yes,`fossil co current
--force` will do the trick), as this merge did nothing, but added a
CHERRYPICK to the changes list.
  Thanks to Noam Postavsky, I know that I can `--cherrypick` with
`--dry-run`, and see if there is something to merge. But that's not
what fossil is about. Looking at the code, I see no reason why merge
command says "Merge skipped because it is a no-op." only with
`--dry-run` option.

On Mon, Oct 19, 2015 at 7:53 PM, Richard Hipp  wrote:
> On 10/19/15, Rich Neswold  wrote:
>>
>> I used 'fossil revert' to restore the files' content, but 'fossil
>> status' still shows:
>>
>> BACKOUT 710d130fce71a94dab54f52dcd3f4e55d8ad4349
>> CHERRYPICK  710d130fce71a94dab54f52dcd3f4e55d8ad4349
>> CHERRYPICK  a5c8e10a81a004626efeb84f055a4ecf5bb3b3f6
>> CHERRYPICK  b2e81f9b4cf00fa1cfbb53218155bbf3bda7fae9
>> CHERRYPICK  f53d51808c61d5622c321280ef0987ee93b6b1b8
>>
>
> I tried this and the "fossil revert" worked for me - it cleared out
> all of the cherrypicks.
>
> What version of Fossil are you running?  (What is the output of
> "fossil version".  Mine shows "This is fossil version 1.34
> [3cff1b8f0a] 2015-10-16 20:05:34 UTC" for example.)
>
> Assuming you are running a recent Fossil and are still having trouble,
> can you send a more detailed sequence of commands so that we can try
> to repro the problem?
>
> Another way to reset back to the last committed version is "fossil co
> current --force".  Does that work any better for you?
>
> --
> 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



-- 
I remain,
Arseniy Terekhin
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Empty merge --cherrypick

2015-10-09 Thread Arseniy Terekhin
 Hello!

 Let's say we are on fossil trunk[b4b551aa66] and we want to know
if delta in [1c708ccc8f] is still intact, and if it is not, apply it.
The only way I see, is to do `fossil merge 1c708ccc8f --cherrypick`.
And it kinda works, as `fossil di` shows no output, but cherrypick
action is still shown in `fossil changes`. It would be nice, if it is
not, wouldn't it?

-- 
I remain,
Arseniy Terekhin
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Available Repositories page

2015-03-21 Thread Arseniy Terekhin
Hi!

The --repolist page should not include `.fossil` in the item names. The
patch is attached.

-- 
I remain,
Arseniy Terekhin
Index: src/main.c
==
--- src/main.c
+++ src/main.c
@@ -1437,16 +1437,15 @@
   n = db_int(0, "SELECT count(*) FROM sfile");
   if( n>0 ){
 Stmt q;
 @ Available Repositories:
 @ 
-db_prepare(&q, "SELECT x, substr(x,-7,-10)||'/home'"
+db_prepare(&q, "SELECT substr(x,-7,-10)"
" FROM sfile ORDER BY x COLLATE nocase;");
 while( db_step(&q)==SQLITE_ROW ){
   const char *zName = db_column_text(&q, 0);
-  const char *zUrl = db_column_text(&q, 1);
-  @ %h(zName)
+  @ %h(zName)
 }
 @ 
 cgi_reply();
   }
   sqlite3_close(g.db);

___
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] New skin: Blitz

2015-03-14 Thread Arseniy Terekhin
Perfect skin. I really like `login` button positioning. One thing though,
shouldn't it be
.mainmenu li a{padding: 10px 15px;}
instead of
.mainmenu li {padding: 10px 15px;}
as I expect to see clickable object as  background changes

On Fri, Mar 13, 2015 at 9:11 PM, James Moger  wrote:

> Hello Fossil community,
>
> My name is James and I am not a Fossil user, I'm a git user.  I also
> happen to run a moderately successful on-premise Git server project not
> unlike Fossil, http://gitblit.com.  But that is not why I am writing you.
>
> I've long been an admirer of Fossil's integrated approach and I
> periodically check-in to see how things are moving along in this project.
> I see that in the last few releases Fossil has been getting a lot more
> competent and that is great.
>
> I decided to make some time to play with your DVCS (being a fan of SCM)
> and to whip-up a new skin & accompanying resources  to contribute to your
> effort.  This theme, Blitz, is demonstrated here:
>
> http://dev.gitblit.com:8080/cgi-bin/repo/fossil
> http://dev.gitblit.com:8080/cgi-bin/repo/sqlite
>
> If you've ever seen Gitblit, then this theme will feel comfortable,
> although it is specialized for Fossil and shares little of the same CSS
> code.
>
> Blitz has two variants (with logo & without logo).  It includes an
> alternative Ticket page layout and several image resources which may be of
> use to other skins.
>
> @Richard: I've emailed a signed CLA and a bundle for your review and
> integration consideration.
>
> I hope to contribute more in the future.
>
> -J
>
> ___
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
>


-- 
I remain,
Arseniy Terekhin
___
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] Alternative "skin" for the main Fossil website

2015-02-12 Thread Arseniy Terekhin
On Thu, Feb 12, 2015 at 1:01 AM, Rich Neswold 
wrote:

>
>
> IMO, though, I don't like the lines of text that close together, so I'd
> add a CSS directive like "line-height: 125%" to give a little spacing. But
> that's just me. Otherwise, it's a nice, contemporary look.
>
>
It's not just you. For me "line-height: 145%" looks even better. And I
would fix jumping tabs position when hovering with mouse.
___
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/mkindex.tcl

2015-02-05 Thread Arseniy Terekhin
In addition `fossil extra` and `fossil ls` links at
http://fossil-scm.org/index.html/wcontent are kind of broken too.

On Thu, Feb 5, 2015 at 4:51 PM, Sergei Gavrikov 
wrote:

> Hi
>
> FYI: 'Command-line help' link on permutedindex.html page broken, it
> points on /doc/help (there is missed ../ in www/mkindex.tcl script).
>
> Thanks for Fossil,
> Sergei
> ___
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>



-- 
I remain,
Arseniy Terekhin
___
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] More on Fossil-v-Git

2014-09-05 Thread Arseniy Terekhin
This article is about fossil usage only. The author say nothing about how
cool and rock solid fossil is. I expected to see some facts from
fossil-v-git.wiki. Really upset with the article as it seems to only
confuse Russian community.


On Fri, Sep 5, 2014 at 3:51 PM, Richard Hipp  wrote:

> There seems to be a spirited debate on the relative merits of Fossil and
> Git going on at the Russian-language website:
>
> http://habrahabr.ru/post/235369/
>
> Machine translation here:
>
>
> https://translate.google.com/translate?hl=en&sl=ru&tl=en&u=http%3A%2F%2Fhabrahabr.ru%2Fpost%2F235369%2F
>
> My summary:  Some people "get it" and understand why Fossil is an
> interesting idea.  Others (perhaps due to different backgrounds or work
> styles or expectations) cannot seem to grasp why anyone would ever consider
> using Fossil.
> --
> 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
>
>


-- 
Best regards,
Arseniy Terekhin
___
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] minor fossil-website documentation issue

2014-03-14 Thread Arseniy Terekhin
 <http://fossil-scm.org/>

> On the surface that change sounds easy to make, but after staring at it
> for 5 minutes i cannot seem to find a better/clearer alternative. "WWW
> pages" is just as ambiguous.
>
> Any suggestions?
>

"Available web ui pages"


-- 
Best regards,
Arseniy Terekhin
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Confirm commit

2014-01-09 Thread Arseniy Terekhin
Hello,

When developing, I often execute last command blindly and sometimes it
happens to be `fossil ci -m "text"`. And sometimes I commit,
forgetting that I'm on a wrong branch. So I purpose to add commit
confirmation that contains number of changes and a branch name. One
might say, just be careful. I say — less distraction.

-- 
Best regards,
Arseniy Terekhin
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users