Who's Online |
55 user(s) are online ( 42 user(s) are browsing Forums)
Members: 0
Guests: 55
more...
|
|
Headlines |
-
arabic_console_devicepro2.lha - driver/input
Aug 11, 2022
-
kittymusicraft.library.lha - development/library
Aug 8, 2022
-
amiarcadia.lha - emulation/gamesystem
Aug 8, 2022
-
amosextension.library.lha - library/misc
Aug 8, 2022
-
luettjebookholler.lha - office/misc
Aug 6, 2022
-
mce.lha - game/utility
Aug 5, 2022
-
ign-addon-ods.lha - office/spreadsheet
Aug 5, 2022
-
avalanche_deu.lha - utility/archive
Aug 4, 2022
-
mednafen.lha - emulation/gamesystem
Aug 3, 2022
-
avalanche.lha - utility/archive
Aug 3, 2022
|
|
|
|
Re: updating sgit
|
Posted on: 2019/7/22 12:51
#21
|
Just popping in 
Joined: 2011/7/20 20:01 Last Login
: 2021/11/23 14:38
From In the sticks
Group:
Registered Users
|
@Hans
I absolutely agree! So you're seeing delays if you're simply adding single files at a time in the root directory? E.g. If you do
sgit add foo_0.c sgit add foo_1.c sgit add foo_2.c ................ sgit add foo_n.c
on an empty repo are all of them slow or does the delay increase, the more files you add? Just working out what I need to replicate to see it.
As for a debugger, I absolutely agree again! I need to take another look at db101, but anything like gdb would be a huge boon for development cheers
billy
|
|
|
|
Re: updating sgit
|
Posted on: 2019/7/23 5:05
#22
|
Home away from home 
Joined: 2007/1/26 21:48 Last Login
: 8/5 6:43
From New Zealand
Group:
Registered Users
|
@billyfish
Just tested with a much smaller project, and it's proportional to the repository size. No idea what it's doing.
NOTE: I'm using a A1222/Tabor system, with system components that aren't optimized for the P1022 CPU**. So reading from disk is currently on the slow side. Hence I notice it more.
Nevertheless, adding a single file shouldn't require reading megabytes of data from disk...
Hans
** This is the CPU with the non-standard FPU.
|
|
|
|
Re: updating sgit
|
Posted on: 2019/7/26 6:04
#23
|
Home away from home 
Joined: 2006/11/26 21:45 Last Login
: Today 15:44
From a dying planet
Group:
Registered Users
|
@billyfish
I don't know the inner workings of sgit, so i may be completely off tzhe track here, but would it be possible to make sgit take use of ExtMem?
Especially sgit fetch eats away lots of memory which could(?) be moved to ExtMem.
Again, maybe sgit doesn't do anything and the memory is handled by the OS, i don't know, just something i stubled over today (updating a big project after some month in hiatus).
|
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
|
|
|
Re: updating sgit
|
Posted on: 2019/7/28 16:53
#24
|
Just popping in 
Joined: 2019/3/19 9:20 Last Login
: Today 8:50
From United Kingdom
Group:
Registered Users
|
@billyfish
The error I get is an assertation failed. Here it is, showing context:
[Work:]> t:
[RAM Disk:T]> makedir test
[RAM Disk:T]> cd test
[RAM Disk:T/test]> sgit init Initialized empty Git repository in /RAM Disk/T/test/.git/
[RAM Disk:T/test]> touch foo
[RAM Disk:T/test]> sgit add foo
[RAM Disk:T/test]> sgit status # On an unnamed branch assertion "ref" failed: file "/var/lib/jenkins/workspace/sgit.amiga/libgit2/src/refs.c", line 367
[RAM Disk:T/test]> sgit version sgit version 0.639 using libgit2 0.26.3 and OpenSSL 1.0.1u 22 Sep 2016
|
My Amiga blog: markround.com/amigaMy hardware: X5000 running OS4.1; A1200 Vampire V1200v2, KS 3.1.4
|
|
|
Re: updating sgit
|
Posted on: 2019/7/29 2:42
#25
|
Just popping in 
Joined: 2018/1/20 18:06 Last Login
: 6/22 20:22
From SF Bay Area, California
Group:
Registered Users
|
@billyfish
I used sgit for the first time today. I'm a frequent user of git so I'm very interested in any updates you can achieve.
alias git=sgit
;)
|
|
|
|
Re: updating sgit
|
Posted on: 2019/8/5 20:32
#26
|
Just popping in 
Joined: 2019/3/19 9:20 Last Login
: Today 8:50
From United Kingdom
Group:
Registered Users
|
Ah, I got it all working now - seems like the assertation error was only thrown on an empty repo with no commits. I've now got it all hooked up and working with GitHub nicely and have blogged about it (including a link to this thread!) http://www.markround.com/blog/2019/08 ... -development-environment/ I aim to try and get a cross-compiling environment going so I can help contribute to your efforts, but in the meantime please do let me know if/when you have a binary available for testing. Many thanks again for all your work on this, it's very much appreciated.
|
My Amiga blog: markround.com/amigaMy hardware: X5000 running OS4.1; A1200 Vampire V1200v2, KS 3.1.4
|
|
|
Re: updating sgit
|
Posted on: 2019/8/11 12:47
#27
|
Just popping in 
Joined: 2011/7/20 20:01 Last Login
: 2021/11/23 14:38
From In the sticks
Group:
Registered Users
|
@mdr Awesome, I managed to confirm your issue yesterday as I'm finally getting some time back on sgit again, hurrah! I'll keeo you posted chaps, my aim is to have a version with the move and commit updates finished in the next week or two. I'll make this available and then start on the issues and updates that you guys have mentioned, keep them coming
|
|
|
|
Re: updating sgit
|
Posted on: 2019/8/13 10:32
#28
|
Home away from home 
Joined: 2006/11/26 21:45 Last Login
: Today 15:44
From a dying planet
Group:
Registered Users
|
@billyfish Did someone mention "bisect" yet? ...uh, yes, "someone" did 
|
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
|
|
|
Re: updating sgit
|
Posted on: 2019/8/26 6:49
#29
|
Home away from home 
Joined: 2007/1/26 21:48 Last Login
: 8/5 6:43
From New Zealand
Group:
Registered Users
|
@billyfish
It would also be nice if sgit tag accepted the -a and -m parameters.
Hans
|
|
|
|
Re: updating sgit
|
Posted on: 2019/8/26 12:15
#30
|
Site Builder 
Joined: 2006/12/2 23:57 Last Login
: Today 13:54
From Athens/Dublin
Group:
Staff members Webmasters
|
I would like to add a +1 to Hans last comment. The tag manipulation is necessary.
@billyfish Keep up the good work. Looking forward to testing one of your builds.
|
|
|
|
Re: updating sgit
|
Posted on: 2019/9/3 10:49
#31
|
Home away from home 
Joined: 2007/1/26 21:48 Last Login
: 8/5 6:43
From New Zealand
Group:
Registered Users
|
@billyfish
I've been using sgit on my X1000 now, and I can confirm that the slowdowns with "add" and "status" are a problem even on fast machines. The bigger the repository, the longer you have to wait.
I have a project with over 300 MB of data,** including the build directory which sgit should ignore, and sgit add . can take over a minute.
Does sgit do a full diff of everything all the time, including files that haven't been modified?
Hans
** NOTE: The size of the actual source is much smaller.
|
|
|
|
Re: updating sgit
|
Posted on: 2019/9/19 7:13
#32
|
Home away from home 
Joined: 2007/1/26 21:48 Last Login
: 8/5 6:43
From New Zealand
Group:
Registered Users
|
@billyfish Any progress? Sgit add is now unbearably slow for me. I'm considering using my FTP server to either transfer source files back to the PC to commit, or to start cross-compiling binaries (in which case I need to build a GCC 8 cross-compiler first). I'd prefer to use native tools, but sgit's issues are costing a lot of time (reported another one last night). Hans
Edited by Hans on 2019/9/19 9:39:08
|
|
|
|
Re: updating sgit
|
Posted on: 2019/10/10 20:19
#33
|
Just can't stay away 
Joined: 2007/7/14 21:30 Last Login
: Yesterday 17:37
From Lothric
Group:
Registered Users
|
There is some strange issue with sgit diff: on some projects, sgit status shows a file in modified states but sgit diff doesn't show anything. I don't know what exactly triggers it, but it has happened with more than one project now. Removing .gitignore doesn't help.
|
|
|
|
Re: updating sgit
|
Posted on: 2019/10/11 2:18
#34
|
Site Builder 
Joined: 2006/12/2 23:57 Last Login
: Today 13:54
From Athens/Dublin
Group:
Staff members Webmasters
|
@capehill This might happen in case the file creation or update date changes, or permissions. sgit diff shows only changes in the code.
|
|
|
|
Re: updating sgit
|
Posted on: 2019/10/11 14:43
#35
|
Just can't stay away 
Joined: 2006/11/30 11:30 Last Login
: Today 15:11
From Finland
Group:
Registered Users
|
@walkero
Unless "sgit status" works differently from "git status" on other OSes it shouldn't show a file as modified if only its date stamp has changed.
|
|
|
|
Re: updating sgit
|
Posted on: 2019/10/11 18:01
#36
|
Just can't stay away 
Joined: 2007/7/14 21:30 Last Login
: Yesterday 17:37
From Lothric
Group:
Registered Users
|
@walkero It was a content change in code file. I still cannot make sgit diff show any changes on the original repo for that file, but if I reclone my project and modify the file, it works. It's actually possible to reproduce my issue by going back the commit before problematic one: Quote: sgit clone https://github.com/capehill/tequila t2 cd t2 sgit reset --soft 774538c6e7660adff59fc479b815179c24247f53 sgit status # On branch master # Your branch is behind its upstream branch 'origin/master' by 1 commits. # Changes to be committed: # # modified: profiler.c # sgit diff
sgit diff does nothing here.
|
|
|
|
Re: updating sgit
|
Posted on: 2019/10/11 19:13
#37
|
Just can't stay away 
Joined: 2006/11/30 11:30 Last Login
: Today 15:11
From Finland
Group:
Registered Users
|
@Capehill
"git diff" will only show file changes that haven't been staged using "git add". This is how regular git works on other platforms.
To unstage the file profiler.c you need to do: git reset HEAD profiler.c
|
|
|
|
Re: updating sgit
|
Posted on: 2019/10/11 19:34
#38
|
Just can't stay away 
Joined: 2007/7/14 21:30 Last Login
: Yesterday 17:37
From Lothric
Group:
Registered Users
|
@salass00
Yes, you are correct and in fact with "reset --mixed" my example works OK but I'm actually convinced sgit has occasionally this problem with diff. It happened today again with other file that was modified but not added for commit.
My workflow is always sgit diff before sgit add.
Strange.
|
|
|
|
Re: updating sgit
|
Posted on: 2020/4/14 5:03
#39
|
Home away from home 
Joined: 2007/1/26 21:48 Last Login
: 8/5 6:43
From New Zealand
Group:
Registered Users
|
Any progress with improving sgit?
Last week I encountered the "broken pipe" failure again when pushing a commit to the remote server. I was able to work around it by checking out the code again, reapplying the changes and then doing a push. However, having to do that really slows you down.
Hans
|
|
|
|
Re: updating sgit
|
Posted on: 2020/4/21 15:52
#40
|
Just popping in 
Joined: 2011/7/20 20:01 Last Login
: 2021/11/23 14:38
From In the sticks
Group:
Registered Users
|
@Hans Sorry for the loooooong delay about this. My plan to update sgit hit a couple of major snags. Apart from my spare time getting squeezed by my research work taking up way more time than I anticipated, I got my head around the way that simplegit was working and then realised the major issue. So simplegit is a wrapper that calls libgit2 ( https://libgit2.org/) for its actual git functionality. Now simplegit uses a fork of libgit2 ( https://github.com/sba1/libgit2/tree/a ... e14a6487a3de17174ef9ac831) so to get the latest git functionality requires this being brought up to data as it is currently 1729 commits behond the main libgit repo. So consequently that is a lot of upstream changes to pull in and I was bracing myself as to how to go about this. If it can be brought up to date, then I would definitely make a pull request to get the amiga-specfic changes into the main tree so we don't have to go through this again. If you want the latest snapshot of how far I'd progressed with sgit, its available at https://drive.google.com/open?id=1wogEmqm4cyytWmjU6eNPenTyQiyQ-i1fIt's quite a while so my memory is a bit hazy, from what I remember the commit behaviour has been update to be like the standard git behaviour so that sgit commit -a -m "..." where the -a flag automatically stages files that have been modified and deleted, but new files you have not told Git about are not affected. I will try and take another look at this to see what further updates I can do. However the big win will be to get the libgit2 part back up to date. cheers billy
|
|
|
Currently Active Users Viewing This Thread:
1
(
0 members
and 1 Anonymous Users
)
|
|
|