Itamar Turner-Trauring
56e3aaad03
Lint fix and cleanup.
2023-03-24 11:41:25 -04:00
meejah
6c0c9470cf
Merge pull request #1206 from tahoe-lafs/2916.grid-manager-proposal.6
...
Grid Manager: more control over which storage-servers a client uploads to
2023-02-28 19:05:32 +00:00
Itamar Turner-Trauring
f4255cdaa3
More accurate names.
2023-02-07 09:03:45 -05:00
Itamar Turner-Trauring
435df4923f
Merge branch 'master' into 2916.grid-manager-proposal.6
2022-10-05 10:18:09 -04:00
Itamar Turner-Trauring
d50c98a1e9
Calculate URI extension size upfront, instead of hand-waving with a larger value.
2022-08-16 14:34:40 -04:00
meejah
7ad6c9269c
Merge branch 'master' into 2916.grid-manager-proposal.5
2021-08-25 14:04:53 -06:00
Itamar Turner-Trauring
0d0dd4dee9
Rip out all references to the unused IProgress API.
2021-03-31 10:35:25 -04:00
meejah
4a5bb5e8ff
Merge branch 'master' into 2916.grid-manager-proposal.5
2021-03-23 16:04:50 -06:00
Itamar Turner-Trauring
70c0607789
Enable BytesWarning across all tests ported to Python 3, fixing problems that caught.
2021-02-24 14:36:15 -05:00
Itamar Turner-Trauring
a06956632b
More unicode-of-bytes bug fixes.
2021-02-12 11:37:43 -05:00
meejah
3c646991ad
Merge branch 'master' into 2916.grid-manager-proposal.5
2021-01-25 15:42:25 -07:00
Jean-Paul Calderone
e0fa228622
expand partial/lambda into full functions for clarity
2021-01-25 08:23:40 -05:00
Jean-Paul Calderone
5a0c913f58
document the new parameter
2021-01-25 08:21:39 -05:00
meejah
307a53dd71
Merge branch 'master' into 2916.grid-manager-proposal.5
2021-01-20 23:42:35 -07:00
Jean-Paul Calderone
12087738d6
Switch from fireEventually to until
2021-01-20 13:54:37 -05:00
meejah
613a6f80aa
Merge branch 'master' into 2916.grid-manager-proposal.5
2021-01-04 15:12:17 -07:00
Jason R. Coombs
574613a892
Merge branch 'master' into 3399.mypy
2020-12-26 12:45:09 -05:00
Jason R. Coombs
090031cbfc
Remove confirm_share_allocation from interface (unused).
2020-12-18 10:55:20 -05:00
Itamar Turner-Trauring
9bf221dea4
Match Foolscap better.
2020-12-11 13:10:56 -05:00
Itamar Turner-Trauring
36bf9224e6
More progress on Python 3, unbreak Python 2.
2020-12-10 10:52:07 -05:00
Jason R. Coombs
c3a22966e8
Add stubs for methods demanded by IPeerSelector
2020-11-29 14:52:45 -05:00
Jason R. Coombs
4998c4693f
Ignore type checks on Referenceable objects. Ref warner/foolscap#78 .
2020-11-29 13:57:46 -05:00
meejah
25ff7c6f55
Merge branch 'master' into 2916.grid-manager-proposal.5
2020-11-13 16:48:14 -07:00
Itamar Turner-Trauring
5b76bf7f44
Fix trailing whitespace.
2020-10-07 10:12:31 -04:00
Itamar Turner-Trauring
f2e5688723
Port to Python 3.
2020-10-07 10:06:02 -04:00
meejah
9c89100f6d
Merge master
2020-10-01 19:04:01 -06:00
Itamar Turner-Trauring
565c48045e
Closer to passing tests.
2020-09-25 13:28:59 -04:00
Itamar Turner-Trauring
6fe68c792c
Tests pass on Python 2 and 3.
2020-09-21 13:21:19 -04:00
Itamar Turner-Trauring
125a6855d6
More progress towards test_upload on Python 3.
2020-09-21 13:21:19 -04:00
Itamar Turner-Trauring
c3bb367a93
Tests pass on Python 3.
2020-09-18 14:31:23 -04:00
Itamar Turner-Trauring
cb24c3eccf
Merge branch '3416.test-encode-python-3' into 3419.test-encode-python-3-trying-again
2020-09-18 13:38:44 -04:00
Itamar Turner-Trauring
a0ff941fff
Try to fix Python 3 again.
2020-09-18 13:36:54 -04:00
Itamar Turner-Trauring
7b302871e4
Python 2 tests pass again.
2020-09-18 11:41:28 -04:00
Itamar Turner-Trauring
7d8320b843
Python 3 fixes.
2020-09-16 11:13:23 -04:00
Itamar Turner-Trauring
a758f32edf
Try to make test_storage import on Python 3.
2020-08-26 10:53:02 -04:00
meejah
60fea95e23
Merge branch 'master' into 2916.grid-manager-proposal.5
2020-05-07 18:58:55 -06:00
meejah
310fb60247
move AES to a helper-function style
2019-06-17 15:54:46 -06:00
heartsucker
008825b0fd
replaced referecnes to pycryptopp AES with own wrapper
2019-06-13 22:18:55 -06:00
Jean-Paul Calderone
72cf590320
Use IStorageServer instead of RemoteReference in a lot of places
2019-05-31 13:41:07 -04:00
meejah
ee3e1cbcf2
wip; updates to grid-manager impl
2019-05-30 16:01:45 -06:00
tpltnt
c8f11dc2d3
ported old-style classes to new-style
2019-05-26 08:28:18 +02:00
heartsucker
a087a5be72
removed tuple unpacking in function definitons for python3 compatibility
2019-04-18 13:37:18 +02:00
Jean-Paul Calderone
552459b6a3
remove unused import
2019-04-04 19:45:31 -04:00
Jean-Paul Calderone
3c44cb65a9
add logging around peer selection and upload
2019-04-03 10:32:04 -04:00
heartsucker
dbfcf8ae00
replaced StringIO imports with six.moves
2019-03-28 12:31:37 +01:00
Jean-Paul Calderone
87daa3ec5a
Remove dead debug logging code.
2018-04-26 15:32:02 -04:00
meejah
05f48c3601
Various cleanups, fixes and improvements
...
Squashed all commits that were meejah's between
30d68fb499f300a393fa0ced5980229f4bb6efda
and
33c268ed3a8c63a809f4403e307ecc13d848b1ab
On the branch meejah:1382.markberger-rewrite-rebase.6 as
per review
2017-06-05 16:31:41 -06:00
meejah
b6d9945b95
default answer for every share
...
refactor hypothesis to be 'pytest style' and add another one
get rid of 'shares->set(1 thing)' in generate_mappings return
Add a unittest hypothesis came up with
fix tests since we return peers, not sets-of-1-peer
add more debug
add a unit-test that's like test_problem_layout_ticket_1128
fix bug
add a note
fix utest
unit-test for bigger numbers
re-insert markberger code for testing
results of pairing with david
2017-06-05 16:26:46 -06:00
meejah
ef17ef2c62
fix happiness calculation
...
unit-test for happiness calculation
unused function
put old servers_of_happiness() calculation back for now
test for calculate_happiness
remove some redundant functions
2017-06-05 16:26:46 -06:00
David Stainton
42011e775d
Make correction to docstring for Tahoe2ServerSelector's _handle_existing_response
...
Add comments 10 and 8 from the servers of happiness spec
Fix bug in _filter_g3 for servers of happiness
Remove usage of HappinessUpload class
here we modifying the PeerSelector class.
we make sure to correctly calculate the happiness value
by ignoring keys who's value are None...
Remove HappinessUpload and tests
Replace helper servers_of_happiness
we replace it's previous implementation with a new
wrapper function that uses share_placement
2017-06-05 16:26:46 -06:00