Skip to content

Commit 6a02df3

Browse files
committed
Changes for simulating the epfl environment
This commit needs also the changes in dela#run_epfl_dvoting_locally to redirect the proxies to localhost
1 parent d2ca87c commit 6a02df3

File tree

10 files changed

+4926
-3494
lines changed

10 files changed

+4926
-3494
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
go.sum -diff
2+

devbox.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"packages": [
3+
"git@latest",
4+
"vim@latest",
5+
"nodejs@20",
6+
"lsof@latest",
7+
"procps@latest",
8+
"moreutils@latest",
9+
"go_1_21@latest"
10+
],
11+
"shell": {
12+
"init_hook": [
13+
"alias ls='ls --color'"
14+
],
15+
"scripts": {
16+
"test": [
17+
"echo \"Error: no test specified\" && exit 1"
18+
]
19+
}
20+
}
21+
}

devbox.lock

Lines changed: 200 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,200 @@
1+
{
2+
"lockfile_version": "1",
3+
"packages": {
4+
"git@latest": {
5+
"last_modified": "2024-02-24T23:06:34Z",
6+
"resolved": "github:NixOS/nixpkgs/9a9dae8f6319600fa9aebde37f340975cab4b8c0#git",
7+
"source": "devbox-search",
8+
"version": "2.43.1",
9+
"systems": {
10+
"aarch64-darwin": {
11+
"store_path": "/nix/store/ycg59v1gfzmv8bnnrlpqhprnfn7y6v7b-git-2.43.1"
12+
},
13+
"aarch64-linux": {
14+
"store_path": "/nix/store/idq6ygdm30ka8f577qih3ysl7jjhbp7b-git-2.43.1"
15+
},
16+
"x86_64-darwin": {
17+
"store_path": "/nix/store/5pp0150mbgr2r6lg4x84l2d7hgk38f3d-git-2.43.1"
18+
},
19+
"x86_64-linux": {
20+
"store_path": "/nix/store/g6343av5x49smrfb16j61cif88xahjvz-git-2.43.1"
21+
}
22+
}
23+
},
24+
"github:NixOS/nixpkgs/nixpkgs-unstable": {
25+
"last_modified": "2025-06-02T09:36:13Z",
26+
"resolved": "github:NixOS/nixpkgs/e4b09e47ace7d87de083786b404bf232eb6c89d8?lastModified=1748856973&narHash=sha256-RlTsJUvvr8ErjPBsiwrGbbHYW8XbB%2Foek0Gi78XdWKg%3D"
27+
},
28+
"go_1_21@latest": {
29+
"last_modified": "2024-09-10T15:01:03Z",
30+
"resolved": "github:NixOS/nixpkgs/5ed627539ac84809c78b2dd6d26a5cebeb5ae269#go_1_21",
31+
"source": "devbox-search",
32+
"version": "1.21.13",
33+
"systems": {
34+
"aarch64-darwin": {
35+
"outputs": [
36+
{
37+
"name": "out",
38+
"path": "/nix/store/59bymri4pr8mq5zh678smrf381i3fmy2-go-1.21.13",
39+
"default": true
40+
}
41+
],
42+
"store_path": "/nix/store/59bymri4pr8mq5zh678smrf381i3fmy2-go-1.21.13"
43+
},
44+
"aarch64-linux": {
45+
"outputs": [
46+
{
47+
"name": "out",
48+
"path": "/nix/store/7dqbqicx8szqnyzag6l41gwbjmh1xdk0-go-1.21.13",
49+
"default": true
50+
}
51+
],
52+
"store_path": "/nix/store/7dqbqicx8szqnyzag6l41gwbjmh1xdk0-go-1.21.13"
53+
},
54+
"x86_64-darwin": {
55+
"outputs": [
56+
{
57+
"name": "out",
58+
"path": "/nix/store/ws9bs446vgwmxchqnpjp9503x420iz75-go-1.21.13",
59+
"default": true
60+
}
61+
],
62+
"store_path": "/nix/store/ws9bs446vgwmxchqnpjp9503x420iz75-go-1.21.13"
63+
},
64+
"x86_64-linux": {
65+
"outputs": [
66+
{
67+
"name": "out",
68+
"path": "/nix/store/yij3vkkjv7ghn055v0rqhbjzyh0dy4nq-go-1.21.13",
69+
"default": true
70+
}
71+
],
72+
"store_path": "/nix/store/yij3vkkjv7ghn055v0rqhbjzyh0dy4nq-go-1.21.13"
73+
}
74+
}
75+
},
76+
"lsof@latest": {
77+
"last_modified": "2024-05-12T16:19:40Z",
78+
"resolved": "github:NixOS/nixpkgs/3281bec7174f679eabf584591e75979a258d8c40#lsof",
79+
"source": "devbox-search",
80+
"version": "4.99.3",
81+
"systems": {
82+
"aarch64-darwin": {
83+
"store_path": "/nix/store/a1g4yl0a2j66kyfb65pkp7x81ja0hhvz-lsof-4.99.3"
84+
},
85+
"aarch64-linux": {
86+
"store_path": "/nix/store/3zq2jmmm9a2ygrr1s1jawzpmkl7l2z2c-lsof-4.99.3"
87+
},
88+
"x86_64-darwin": {
89+
"store_path": "/nix/store/8rylwwz0v201jij215irshavnzjijvsd-lsof-4.99.3"
90+
},
91+
"x86_64-linux": {
92+
"store_path": "/nix/store/6nxd0pp8bw4wdf19jwirlf3jzpz5wgzn-lsof-4.99.3"
93+
}
94+
}
95+
},
96+
"moreutils@latest": {
97+
"last_modified": "2025-05-16T20:19:48Z",
98+
"resolved": "github:NixOS/nixpkgs/12a55407652e04dcf2309436eb06fef0d3713ef3#moreutils",
99+
"source": "devbox-search",
100+
"version": "0.70",
101+
"systems": {
102+
"aarch64-darwin": {
103+
"outputs": [
104+
{
105+
"name": "out",
106+
"path": "/nix/store/q1s7hn5zmyhgshzk44qac2z6grjihi9g-moreutils-0.70",
107+
"default": true
108+
}
109+
],
110+
"store_path": "/nix/store/q1s7hn5zmyhgshzk44qac2z6grjihi9g-moreutils-0.70"
111+
},
112+
"aarch64-linux": {
113+
"outputs": [
114+
{
115+
"name": "out",
116+
"path": "/nix/store/jznxv00jmgk83w5gjdbbrx85xpdya1cg-moreutils-0.70",
117+
"default": true
118+
}
119+
],
120+
"store_path": "/nix/store/jznxv00jmgk83w5gjdbbrx85xpdya1cg-moreutils-0.70"
121+
},
122+
"x86_64-darwin": {
123+
"outputs": [
124+
{
125+
"name": "out",
126+
"path": "/nix/store/gs4ci145a0izj9w5x3wlrzj3walrp72s-moreutils-0.70",
127+
"default": true
128+
}
129+
],
130+
"store_path": "/nix/store/gs4ci145a0izj9w5x3wlrzj3walrp72s-moreutils-0.70"
131+
},
132+
"x86_64-linux": {
133+
"outputs": [
134+
{
135+
"name": "out",
136+
"path": "/nix/store/ifsq48dw92bnfjpvs9yr94f8hzi694hw-moreutils-0.70",
137+
"default": true
138+
}
139+
],
140+
"store_path": "/nix/store/ifsq48dw92bnfjpvs9yr94f8hzi694hw-moreutils-0.70"
141+
}
142+
}
143+
},
144+
"nodejs@20": {
145+
"last_modified": "2024-02-24T23:06:34Z",
146+
"plugin_version": "0.0.2",
147+
"resolved": "github:NixOS/nixpkgs/9a9dae8f6319600fa9aebde37f340975cab4b8c0#nodejs_20",
148+
"source": "devbox-search",
149+
"version": "20.11.1",
150+
"systems": {
151+
"aarch64-darwin": {
152+
"store_path": "/nix/store/xr7qgwzvymigkn4lhz8hzdky765m32r4-nodejs-20.11.1"
153+
},
154+
"aarch64-linux": {
155+
"store_path": "/nix/store/gdjc5gacmfpj6warfxhfkjj3i8vhaxq9-nodejs-20.11.1"
156+
},
157+
"x86_64-darwin": {
158+
"store_path": "/nix/store/c0bc4479fbsdmzam1b50yil1ixcaaz4s-nodejs-20.11.1"
159+
},
160+
"x86_64-linux": {
161+
"store_path": "/nix/store/vz13mi0w75q96sfjxz2ylnv8812hvf34-nodejs-20.11.1"
162+
}
163+
}
164+
},
165+
"procps@latest": {
166+
"last_modified": "2024-05-12T16:19:40Z",
167+
"resolved": "github:NixOS/nixpkgs/3281bec7174f679eabf584591e75979a258d8c40#procps",
168+
"source": "devbox-search",
169+
"version": "3.3.17",
170+
"systems": {
171+
"aarch64-linux": {
172+
"store_path": "/nix/store/jjpk2lwj4plbmc6ciicnwi6c7wbbnffi-procps-3.3.17"
173+
},
174+
"x86_64-linux": {
175+
"store_path": "/nix/store/yydp37nqcgi89fvdhbkgy4ysgmy9pf7b-procps-3.3.17"
176+
}
177+
}
178+
},
179+
"vim@latest": {
180+
"last_modified": "2024-02-24T23:06:34Z",
181+
"resolved": "github:NixOS/nixpkgs/9a9dae8f6319600fa9aebde37f340975cab4b8c0#vim",
182+
"source": "devbox-search",
183+
"version": "9.1.0075",
184+
"systems": {
185+
"aarch64-darwin": {
186+
"store_path": "/nix/store/pyjljl0636hm0msvp3s7wddny9nkrlpk-vim-9.1.0075"
187+
},
188+
"aarch64-linux": {
189+
"store_path": "/nix/store/5d14cxx9nnfw4jyp4xnx0invnnn0l0d5-vim-9.1.0075"
190+
},
191+
"x86_64-darwin": {
192+
"store_path": "/nix/store/8g15fjb0zx0qzfhkm4nc0bg2qny6a935-vim-9.1.0075"
193+
},
194+
"x86_64-linux": {
195+
"store_path": "/nix/store/y56kl969hm03i78vla8zr2si524c5v9s-vim-9.1.0075"
196+
}
197+
}
198+
}
199+
}
200+
}

go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ module github.com/dedis/d-voting
22

33
go 1.21
44

5+
redirect go.dedis.ch/dela => ./dela
6+
57
require (
68
github.com/gorilla/mux v1.8.0
79
github.com/opentracing/opentracing-go v1.2.0

0 commit comments

Comments
 (0)