Commit Graph

76 Commits

Author SHA1 Message Date
hsjobeki
1a556e3812 refactor: split concerns in multiple files 2023-01-05 17:37:54 +01:00
hsjobeki
9b701bb6c8 nodejs: clean up builder 2023-01-04 14:31:18 +01:00
hsjobeki
a9001c21eb add: little documentation for new nodejs builder 2022-12-30 22:49:43 +01:00
Yusuf Bera Ertan
a24fb71c40
docs: update docs for rust subsystem 2022-12-18 03:17:28 +03:00
DavHau
986480a327 docs: acknowledge funding more
- Move funding section to the top of the readme
- add funding paragraph to the intro of the docs
2022-12-15 14:04:37 +07:00
DavHau
01b5d43524 chore: use projects.toml in docs and examples 2022-12-13 12:42:03 +07:00
DavHau
cb641555c8 chore: lib.nix remove projectsJson from flake outputs 2022-12-13 12:42:03 +07:00
phaer
c51db6ebeb docs: add pypi-wheel fetcher 2022-11-23 20:43:20 +01:00
DavHau
01f58c8f5b fix: contributing guide 2022-11-21 15:46:54 +01:00
DavHau
919b8f6891 feat: rewrite contributors.md and integration test it 2022-11-16 17:38:00 +01:00
hsjobeki
77a41b1d1f docs: improve override section 2022-11-16 15:10:50 +01:00
Antoine Carnec
d624cf0b6f Set a sensical path in command instructions 2022-11-14 12:55:30 +00:00
Yusuf Bera Ertan
e104aca557
docs: add documentation for setting profile and flags while using crane builder 2022-11-13 15:26:46 +03:00
Yusuf Bera Ertan
03f9323d2c
docs: update extending dream2nix document to reflect module system changes 2022-10-23 02:43:48 +03:00
DavHau
1e0d20959a
docs: add development roundup (july - september) (#326)
Co-authored-by: Yusuf Bera Ertan <y.bera003.06@protonmail.com>
2022-10-17 16:06:21 +00:00
hsjobeki
b05fdf2a40 docs/SUMMARY.md: remove empty draft sections. 2022-10-16 15:40:16 +02:00
hsjobeki
0c8971f1ef docs: improve structure 2022-10-11 11:37:31 +02:00
Martin Toman
26a0088b9d php: add packagist translator 2022-09-27 12:51:19 -07:00
Martin Toman
c07df07605 docs: php: add granular builder 2022-09-17 14:00:25 -07:00
Martin Toman
969cba514c docs: php: add example to docs 2022-09-12 14:54:59 -07:00
Martin Toman
b2269bd1cb docs: php: add builder simple 2022-09-09 12:47:12 -07:00
DavHau
a015a05db4 chore: update documentation for indexers 2022-08-31 20:59:19 +02:00
DavHau
c8e889250b
Merge pull request #271 from tinybeachthor/docs-fetchers
docs: add `Fetchers` section to docs
2022-08-31 12:52:49 +02:00
Martin Toman
f2622d1e09 docs: add outline to python quickstart 2022-08-26 16:29:15 -07:00
Martin Toman
d3524727b2 docs: split out define target platforms subsection 2022-08-26 16:29:12 -07:00
Martin Toman
f41f301e58 docs: fix nodejs quickstart FAQ 2022-08-26 12:03:55 -07:00
Martin Toman
400c2406db docs: fetchers 2022-08-26 12:01:19 -07:00
Martin Toman
ed7edff5ca docs: add php subsystems section 2022-08-25 17:21:08 -07:00
Martin Toman
5893814164 docs: add nodejs to subsystems 2022-08-17 13:25:39 -07:00
DavHau
e654ffaa10 feat: module system improvements
- add documentation to the subsystem-loading interface
- expose evaled modules publicly via `framework`
- add option config.modules to allow users to include their own modules
- update examples for extending dream2nix
2022-08-15 15:34:24 +02:00
DavHau
73d0dbc482
Merge pull request #239 from tinybeachthor/docs-highlight-nix
docs: add nix syntax highlighting
2022-08-11 16:39:45 +02:00
Martin Toman
71e4ba973a docs: add nix syntax highlighting 2022-08-10 10:07:30 -07:00
Martin Toman
206bd6fe82 docs: fix typos 2022-08-09 10:35:28 -07:00
Martin Toman
3e5c108e2c docs: nodejs: add guides/getting-started-nodejs 2022-08-09 10:34:36 -07:00
Martin Toman
92d025e1ae docs: split out "Install nix" section 2022-08-06 10:02:07 -07:00
DavHau
b478f29d7a add documentation for the haskell subsystem 2022-07-22 17:19:54 +02:00
DavHau
e8fe3f803f rename examples under ./examples
Apply naming scheme {subsystem}_{test-name}
2022-07-22 16:02:21 +02:00
DavHau
9ce7b78c1f
Revert "refactor: readme/docs" 2022-07-18 18:58:36 +02:00
DavHau
3808b309dc refactor: readme/docs
The motivation of this change is to trim down the github front page (README.md). Code examples should not be part of that page. It should be short and only contain the most important information that's necessary for a rough overview.

- add sections `Quick Start` and `Presentation ...` to docs
- move usage examples from readme to `Quick Start` in the docs
- trim down the explanation about `Documentation` a bit
- move the youtube presentation to the end
-
2022-07-17 21:17:41 +02:00
DavHau
932ccb13dc fix systemsFromFile
- make use of config.projectRoot to ge relative path of systems file
2022-07-16 18:58:04 +02:00
DavHau
7cd64d386d python improvements, docs and guide.
- add warning to readme and docs stating that dream2nix is unstable software
- refactor structure of docs: remove title .md pages, instead add titles via (# title) to SUMMARY
- change order of doc topics. move `guides` and `subsystems` to the front
- add docs for python subsystem
- add getting started guide for python
- extend ./examples/python to make use of translator options
- add new function to dlib `systemsFromFile` that allows to load the `supportedSystems` from a file. This alows changing the supported systems without touching the flake.
- move pip translator args to extra file `args.nix` to allow embedding in docs
- fix pip translator
- add a .gitignore to the basic flake template
- use new systemsFromFile function in basic flake template
2022-07-16 15:03:37 +02:00
Lele Gaifax
c69534abef Fix typos in documentation 2022-07-14 11:31:44 +02:00
Yusuf Bera Ertan
d657fcfac8
docs: fix development roundup section 2022-07-12 16:42:12 +03:00
Yusuf Bera Ertan
05167f7e6f
feat: indexers (#184)
* feat: add translate and shell commands

* feat: add indexer modules

* feat(nodejs): add a basic npm indexer

* feat: add an index app for indexing using an indexer

* feat(rust): add crates-io indexer

* refactor: use configFile in more places

* feat: implement translate-index app

* refactor: move indexers out of subsystems since they aren't subsystem specific

* fix: discard string context for config text

* docs: add a preliminary document for indexers

* docs: add examples for crates-io and npm indexer inputs

* feat: add support for setting sourceRoot in dream-lock, fix translate source patching

* fix: don't discard context from config passed as text

* fix: remove duplicate resolves

* fix: shell command

* refactor: remove useless nix calls, improve the apps

* feat: improve cli apps UX, implement runNixCmdInSrc, remove shell

* docs: more comments

* feat: add generatePackagesFromLocksTree util

* fix: pass args to generatePackagesFromDreamLocks correctly

* Update indexers.md

* chore: remove license from crates-io indexer

* fix: pass config loaded from env vars to loadConfig

* refactor: don't expose dream2nix internally

* feat: add makeOutputsForIndexes utility

* refactor: make make(Flake)OutputsForIndexes interface consistent with make(Flake)Outputs

* fix: allow passing pkgs to makeFlakeOutputsForIndexes

* fix: remove unused code

* fix: rename var to expected name

* refactor(utils/index): improve and fix overrideOutputs arg

* fix(utils/index): actually pass prev outputs to overrideOutputs

* refactor: patch all sources instead of using a seperate field in dream lock

* fix(utils/index): use .program to access the program

* fix: correct jq command in translate app

* refactor: improve translate app performance

* feat: add crates-io-simple indexer

* fix(apps/translate): only set dir if relPath is set

* fix(apps/callNixWithD2N): pin nixpkgs

* fix: unloaded config passed to dlib

* refactor: rewrite root source patching in nix

* tests: add a unit test for replace root sources

Co-authored-by: DavHau <hsngrmpf+github@gmail.com>
2022-07-12 12:33:04 +02:00
DavHau
6eb67f2775
Merge pull request #188 from nix-community/dev-roundups
Add development roundup April - June
2022-07-12 11:07:34 +02:00
Yusuf Bera Ertan
757501574f
docs: add more examples for overriding rust-toolchain 2022-07-06 20:30:29 +03:00
Yusuf Bera Ertan
cb09518ff9
docs: mention more stuff in dev roundup 2022-07-06 19:10:51 +03:00
Yusuf Bera Ertan
5e0de19443
docs: move development round ups to separate files 2022-07-06 19:03:04 +03:00
DavHau
4e5e4e4a14 Add development roundup April - June 2022-07-06 16:00:02 +02:00
DavHau
89bfa7c971 docs: rename Concepts and Benefits -> Architectural Considerations 2022-07-06 15:43:21 +02:00