Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WiP] Draft for Gentoo configuration #611

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open
Changes from 2 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
27ca573
Draft for Gentoo configuration
TheChymera Apr 12, 2024
304d24e
Use HTTPS
TheChymera Apr 12, 2024
32cd210
Adding test template to develop gentoo support
TheChymera Apr 25, 2024
91df306
Added containerfile contents
TheChymera Apr 25, 2024
3428ab9
Corrected command
TheChymera Apr 25, 2024
7f72cf7
Trying to add package manager support
TheChymera Apr 25, 2024
01fd95a
ignore Yarik's venvs/
yarikoptic Apr 30, 2024
a5df85f
We are not yet fully ready for gentoo in recipes
yarikoptic Apr 30, 2024
39b79fc
Provide base skeleton for gentoo to pass test_cli tests
yarikoptic Apr 30, 2024
6bca6f5
Add some demo options for instructions -- the problem is that it is f…
yarikoptic Apr 30, 2024
9b0d75f
image versions not handled in this template, reusing parameters for hash
TheChymera May 1, 2024
c8cb922
Embedding Gentoo image resource identifiers into the logic
TheChymera May 1, 2024
456c479
Making gentoo template/invocation work (more TODOs)
yarikoptic May 24, 2024
30ab193
Added new hashes
TheChymera May 28, 2024
e7f1720
Updated hashes and dates after test, provide AFNI with version fix as…
TheChymera May 29, 2024
758951b
updated hashes
TheChymera Jun 7, 2024
8b5df1d
Rudimentary fix to blunt stab at a test + added TODOs
yarikoptic Jun 11, 2024
722e555
Removed config tracking in ancillary files
TheChymera Jul 29, 2024
5420c04
Updated hashes
TheChymera Jul 30, 2024
54c98f6
better package for testing
TheChymera Jul 30, 2024
5fd6303
Even smaller package for testing
TheChymera Jul 30, 2024
cc0d86e
flake8 fixes
TheChymera Aug 2, 2024
6887052
Merge branch 'master' into jen2
Remi-Gau Aug 15, 2024
6d76eb5
run precommit
Remi-Gau Aug 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions neurodocker/templates/gentoo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
# Instructions to add NeuroDebian repositories.

name: gentoo
url: https://www.gentoo.org/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is nothing gentoo below yet, misleading commit message etc. Please squash it with whatever actually gentoo specific changes you place into this PR

binaries:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
binaries:
binaries:
arguments:
required:
- portage_version
- stage3_version
optional:
- gentoo_hash
- science_hash

TODO: defaults somehow -- may be just straight in the code as {{ self.get("portage_version", "20240324") }}

urls:
australia: https://neuro.debian.net/lists/{{ self.os_codename }}.au.{{ self.full_or_libre }}
china-tsinghua: https://neuro.debian.net/lists/{{ self.os_codename }}.cn-bj1.{{ self.full_or_libre }}
china-scitech: https://neuro.debian.net/lists/{{ self.os_codename }}.cn-bj2.{{ self.full_or_libre }}
china-zhejiang: https://neuro.debian.net/lists/{{ self.os_codename }}.cn-zj.{{ self.full_or_libre }}
germany-munich: https://neuro.debian.net/lists/{{ self.os_codename }}.de-m.{{ self.full_or_libre }}
germany-magdeburg: https://neuro.debian.net/lists/{{ self.os_codename }}.de-md.{{ self.full_or_libre }}
greece: https://neuro.debian.net/lists/{{ self.os_codename }}.gr.{{ self.full_or_libre }}
japan: https://neuro.debian.net/lists/{{ self.os_codename }}.jp.{{ self.full_or_libre }}
usa-ca: https://neuro.debian.net/lists/{{ self.os_codename }}.us-ca.{{ self.full_or_libre }}
usa-nh: https://neuro.debian.net/lists/{{ self.os_codename }}.us-nh.{{ self.full_or_libre }}
usa-tn: https://neuro.debian.net/lists/{{ self.os_codename }}.us-tn.{{ self.full_or_libre }}
arguments:
required:
- version
- os_codename
optional:
full_or_libre: full
dependencies:
apt:
- ca-certificates
- curl
- dirmngr
- gnupg2
instructions: |
{{ self.install_dependencies() }}
curl -fsSL {{ self.urls[self.version] }} \
> /etc/apt/sources.list.d/neurodebian.sources.list
curl -sSL https://dl.dropbox.com/s/zxs209o955q6vkg/neurodebian.gpg | apt-key add -
(apt-key adv --refresh-keys --keyserver hkp://pool.sks-keyservers.net:80 0xA5D32F012649A5A9 || true)
apt-get -qq update
Loading