20 September 2017, 21:13 | #1 |
Zone Friend
Join Date: Apr 2006
Location: Gothenburg/Sweden
Age: 48
Posts: 344
|
Sourcecontrol?
Just curious, any Amiga asmcoders here that uses some kind of "sourcecontrol" (SVN/GIT/Whatever) for their stuff?
I'm just looking for inspiration and I am interested in how you guys are working with your stuff. Personally I'm running an SVN-server on my NAS (I'm using WinUAE on my Windows-machine...), but Tortoise SVN sometimes complains when I want to compare versions (especially if Asm-One has "saved marks" in these files) which annoys me. |
20 September 2017, 21:34 | #2 | ||
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,539
|
Quote:
Never needed much more than that for my small projects. GIT would be overkill and requires so many resources that you are forced to develop on a powerful system. I can use CVS even on my 68k Amigas. The server runs some daily scripts, which check out the current version for some of my projects, builds them with cross compilers, and creates release and snapshot archives. Quote:
|
||
20 September 2017, 22:11 | #3 |
Registered User
Join Date: Oct 2014
Location: Europe
Posts: 475
|
I'm adding a different number at the end of each file with significant changes (.bak are automatic). The entire sourcecode base directory is saved every once in awhile to as much local places as possible.....
That's my sourcecontrol.... |
21 September 2017, 06:02 | #4 |
Registered User
Join Date: Jun 2016
Location: europe
Posts: 1,062
|
Asm-one is saving bookmarks in a binary format, you can disable that in settings (A-[): general, uncheck save marks.
If you are actually using them, well then you'll most likely have to preprocess (e.g. make an alias for preprocess to tmp file and then diff that), as already mentioned. Last edited by a/b; 21 September 2017 at 06:09. |
21 September 2017, 09:33 | #5 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,355
|
Backup copies once in a while, file copy or if/endc for big or temporary changes...
Sometimes running a diff util on two versions. This is the only source control I need for asm. |
21 September 2017, 11:04 | #6 |
Registered User
Join Date: Jun 2016
Location: UK
Posts: 428
|
Git can handle binary files without issue.
|
21 September 2017, 18:44 | #7 |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,539
|
Most revision control systems can handle binaries. But you want them as text to see the diffs between two versions.
|
21 September 2017, 23:10 | #8 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
I'm using Git when cross-developing, mainly because it seemed to be the most popular choice.
I use a simple script that clones a default repo acting as a starter project. The build-script automatically makes a temporary commit for every succesful build, and when I'm happy with the changes I squash all the temporaries into a single proper commit. The editor has Git integration, and most commands for building and "Gitting" are bound to hotkeys. For ASM-One you'd have to step out of WinUAE, I don't think there's any Amiga port of Git, but things could be set up to work without too much hassle. I have no NAS or other kind of server, just two computers in a LAN, and one of them runs a Git server that I can push to for backing up or sharing to the other computer, but most of the time I just keep a simple local repo on the hard drive. |
22 September 2017, 08:40 | #9 |
Registered User
Join Date: Jul 2014
Location: Finland
Posts: 1,186
|
I have a NFS mount on the Amiga which on the server side is a git repository, works for me.
|
22 September 2017, 11:34 | #10 |
Registered User
Join Date: Sep 2008
Location: Germany
Age: 49
Posts: 138
|
doing cross-assembling from linux
I have a complete tree under git control, including fs-uae configuration files, kickstarts, workbench disks, documentation and of course the assembler sources. This way I can setup a "build" environment in a couple of minutes under linux which means, installing fs-uae, compiling vasm, vlink, and creating a local clone of the central git which is on AWS CodeCommit. |
22 September 2017, 12:10 | #11 |
Registered User
Join Date: Jan 2005
Location: UmeƄ
Age: 43
Posts: 934
|
If running the client on the amiga is a requirement, there is a subversion client available.
I havent tried that port myself, but compared to cvs, svn does support renaming of files without loosing history (no, hacking the csv repo files manually to do a rename with intact history doesn’t count) and handles binaries better. |
22 September 2017, 21:19 | #12 |
Zone Friend
Join Date: Apr 2006
Location: Gothenburg/Sweden
Age: 48
Posts: 344
|
I did this aswell back in the good old days, I probably still have several hundred versions of my A/NES NES-emulator .
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|