Commit graph

46366 commits

Author SHA1 Message Date
Joey Hess
2e1fe1620e
handle comutations in subdirs of the git repository
Eg, a computation might be run in "foo/" and refer to "../bar" as an
input or output.

So, the subdir is part of the computation state.

Also, prevent input or output of files that are outside the git
repository. Of course, the program can access any file on disk if it
wants to; this is just a guard against mistakes. And it may also be
useful if the program comunicates with something less trusted than it,
eg a container image, so input/output files communicated by that are not
the source of security problems.
2025-02-25 15:08:38 -04:00
Joey Hess
ce05a92ee7
add field desc 2025-02-24 16:41:02 -04:00
Joey Hess
556f44d404
update for new interface 2025-02-24 16:15:04 -04:00
Joey Hess
40be51c98a
reimplement using new compute program interface 2025-02-24 16:01:03 -04:00
Joey Hess
921850d05c
support addcomputed --fast
This complicates the interface but it's still simpler to understand than
the old interface.
2025-02-24 13:48:46 -04:00
Joey Hess
490174b068
new compute program interface
This is much more flexible, and also simpler to understand.
2025-02-24 12:44:20 -04:00
Joey Hess
b804f8a3cc
update 2025-02-21 15:09:46 -04:00
Joey Hess
e0b46ef7ad
compute special remote mostly implemented
Except for some of the hard parts: progress displays, incremental
verification, and getting inputs before running a computation.

Untested! In order to test this, git-annex addcomputed needs to be
implemented.
2025-02-21 15:02:53 -04:00
Joey Hess
4f1eea9061
remove unused adjustedBranchRefresh associated file parameter 2025-02-21 14:51:02 -04:00
Joey Hess
e897229088
wip 2025-02-20 17:23:15 -04:00
Joey Hess
4f3d9f8115
update 2025-02-20 13:27:59 -04:00
Joey Hess
c1b53dbbd0
wip 2025-02-20 13:27:47 -04:00
Joey Hess
a2fa2a8c5f
update 2025-02-19 16:03:34 -04:00
Joey Hess
2f11c65491
comments 2025-02-19 15:14:52 -04:00
Joey Hess
b5319ec575
documentation for compute remote and associated commands
None of this is implemented yet.
2025-02-19 14:29:18 -04:00
Joey Hess
ace9944d1c
add REPRODUCIBLE 2025-02-19 14:16:36 -04:00
Joey Hess
f52385f63d
optional and required inputs and some other changes 2025-02-19 12:47:32 -04:00
Joey Hess
f4c3fdeaed
improved draft design 2025-02-18 15:46:47 -04:00
Joey Hess
9b42f5fe89
improve apiurl description 2025-02-18 14:46:10 -04:00
Joey Hess
d394f0b020
git-lfs apiurl parameter
git-lfs: Added an optional apiurl parameter.

This needs version 1.2.5 of the haskell git-lfs library to be used.
stack.yaml updated to use that.

Note that git-annex enableremote can be used to add apiurl= to an existing
git-lfs special remote. To allow unsetting the apiurl and instead use
the probed url, support enableremote with apiurl set to an empty string.

Sponsored-by: Luke T. Shumaker
2025-02-18 14:11:21 -04:00
sharad
dcf2f71696 Added a comment: Faced same issue for long time 2025-02-17 19:30:28 +00:00
Joey Hess
6a5131fe0b
OsPath build fix 2025-02-17 14:56:56 -04:00
Joey Hess
f6bd8ac9ab
OsPath build fix 2025-02-17 14:46:43 -04:00
Joey Hess
550ffc98fb
OSX build fix 2025-02-17 14:06:06 -04:00
Joey Hess
03827783bc
OSX build fixes 2025-02-17 14:05:19 -04:00
Joey Hess
1fb69fe01c
OSX build fixes 2025-02-17 14:04:08 -04:00
Joey Hess
9f2ce19858
OSX build fix 2025-02-17 14:01:54 -04:00
Joey Hess
66b8ba8fb0
OSX build fixes 2025-02-17 13:59:52 -04:00
Joey Hess
5324f34092
Merge branch 'ospath' 2025-02-17 11:58:20 -04:00
datamanager
93fb1ba536 Added a comment 2025-02-15 21:46:33 +00:00
puck
f32f22bc64 2025-02-15 10:36:03 +00:00
Joey Hess
70a2661334
OsPath conversion for OSXMkLibs 2025-02-14 16:53:00 -04:00
Joey Hess
e8b00faea8
Merge branch 'master' into ospath 2025-02-14 16:28:43 -04:00
Joey Hess
56d28eebdc
Merge branch 'master' of ssh://git-annex.branchable.com 2025-02-14 15:41:23 -04:00
Joey Hess
6d5c352485
further fix OSX packaging program builds
Broken by commit e5be81f8d4
2025-02-14 15:40:48 -04:00
anarcat
438ff929f3 more details on my issues 2025-02-14 17:54:24 +00:00
anarcat
73d4997047 Added a comment: similar topic 2025-02-14 17:51:29 +00:00
anarcat
376d2b25e3 Added a comment: similar topic 2025-02-14 17:47:02 +00:00
Joey Hess
e6e69f8f93
draft 2025-02-13 16:12:07 -04:00
Joey Hess
bf6446528d
comment 2025-02-13 13:51:21 -04:00
Joey Hess
2ff0adba0b
comment 2025-02-13 13:01:15 -04:00
Joey Hess
406527570e
OsPath conversion of DistributionUpdate 2025-02-12 13:27:34 -04:00
Joey Hess
25e4f84e8f
push down OsPath into CopyFile 2025-02-12 13:11:27 -04:00
Joey Hess
0f47eceacf
stop exporting RawFilePath 2025-02-12 12:59:30 -04:00
Joey Hess
2567bc0e2c
avoid head warnings with recent ghc versions 2025-02-12 12:43:03 -04:00
Joey Hess
46d38b002d
remove the git-union-merge command
This has never been built and shipped as part of git-annex,
and including it as a pedagolical example in
the source code doesn't have much benefit. The program was not currently
buildable after recent OsPath changes.

Of course, Git/UnionMerge.hs is still available and can be used.
2025-02-12 12:37:36 -04:00
Joey Hess
17c1a1dde4
fix description of ParallelBuild 2025-02-12 12:32:22 -04:00
Joey Hess
1819cb4c94
Revert "stack.yaml: temporarily build with older ghc"
This reverts commit 2f9a384e48.
2025-02-11 17:02:13 -04:00
Joey Hess
bab26da74b
Merge branch 'master' into ospath 2025-02-11 16:56:17 -04:00
Joey Hess
2057bc1c2b
fix windows and OSX packaging program builds
Broken by commit e5be81f8d4
2025-02-11 16:53:01 -04:00