.gitignore

3 views
Skip to first unread message

Grégory Vanuxem

unread,
Sep 24, 2023, 1:15:31 PM9/24/23
to fricas...@googlegroups.com
Hello,

I'm setting up a new more general Git management environment on my
machine and looking at the FriCAS vanilla .gitignore file, I allowed
myself to send here a diff with the one I use. I just did two
additions today to the one I use. It could be of interest even if some
stuff will not suit all needs.

┌──(greg㉿ellipse)-[~/Git/jlfricas]
└─$ diff -u /home/greg/Tmp/fricas/.gitignore .gitignore
--- /home/greg/Tmp/fricas/.gitignore 2023-09-24 18:59:55.011395614 +0200
+++ .gitignore 2023-09-24 18:46:43.161378119 +0200
@@ -6,6 +6,8 @@
*.fasl
*.NRLIB/
*.o
+*.output
+do_it.*

build/

@@ -124,3 +126,9 @@
stamp-*

target/
+src/doc/sphinx/source/_ext/__pycache__/edit_on_github.cpython-311.pyc
+contrib/emacs/gen-cpl.lib
+src/etc/gen-cpl.data
+src/etc/gen-cpl.fn
+src/etc/gen-cpl.lib
+src/lisp/raw_prelisp_map

Regards,
_
Greg
.gitignore.diff

Waldek Hebisch

unread,
Sep 24, 2023, 3:34:27 PM9/24/23
to fricas...@googlegroups.com
On Sun, Sep 24, 2023 at 07:14:53PM +0200, Grégory Vanuxem wrote:
> Hello,
>
> I'm setting up a new more general Git management environment on my
> machine and looking at the FriCAS vanilla .gitignore file, I allowed
> myself to send here a diff with the one I use. I just did two
> additions today to the one I use. It could be of interest even if some
> stuff will not suit all needs.

To say the truth, I would prefer to keep .gitignore as small as
possible. IIUC .gitignore plays role when commiting changes.
At that time git remainds about possibly forgotten files.
When using separate build directory there should be almost
no trash in repository, so not much need to ignore things.
OTOH too wide ignore pattern may lead to missing files during
commit.

--
Waldek Hebisch

Grégory Vanuxem

unread,
Sep 24, 2023, 5:49:21 PM9/24/23
to fricas...@googlegroups.com
Frankly speaking , to be consistent, the only thing to take in it is '*.output'.

It's my mistake, shame on me, I quickly sent the diff  because I was working on a new Git management environment and that with other successful things made me overly enthusiastic.

I should have only evoked *.output.
> --
> You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to fricas-devel...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/fricas-devel/ZRCPP1GCzffnBnBF%40fricas.org.

__
Greg

Grégory Vanuxem

unread,
Sep 27, 2023, 8:33:34 AM9/27/23
to fricas...@googlegroups.com
Let me add, wouldn't it be better to modify at least the line:

src/lisp/do_it.sbcl
to
src/lisp/do_it.*

After all, FriCAS is buildable on other Lisp implementations.

No addition.
__
Greg
Reply all
Reply to author
Forward
0 new messages