Skip to content

Commit c6a244d

Browse files
Make josh username uppercase (#1177)
This should make it more obvious that this is not a real person Change: uppcase-josh
1 parent d101468 commit c6a244d

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

josh-proxy/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ fn create_repo_base(path: &PathBuf) -> josh::JoshResult<josh::shell::Shell> {
469469
("http", &[("receivepack", "true")] as &[(&str, &str)]),
470470
(
471471
"user",
472-
&[("name", "josh"), ("email", "[email protected]")],
472+
&[("name", "JOSH"), ("email", "[email protected]")],
473473
),
474474
(
475475
"uploadpack",
@@ -905,12 +905,12 @@ pub fn merge_meta(
905905

906906
let signature = if let Ok(time) = std::env::var("JOSH_COMMIT_TIME") {
907907
git2::Signature::new(
908-
"josh",
908+
"JOSH",
909909
910910
&git2::Time::new(time.parse()?, 0),
911911
)
912912
} else {
913-
git2::Signature::now("josh", "[email protected]")
913+
git2::Signature::now("JOSH", "[email protected]")
914914
}?;
915915

916916
let oid = transaction.repo().commit(

tests/proxy/markers.t

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -374,8 +374,6 @@
374374
| | | `-- d379f3645131d769fe0e5de2d075a69417ea94
375375
| | |-- 32
376376
| | | `-- 1f48cf6c921bde6a53891503bfdefad0040b59
377-
| | |-- 37
378-
| | | `-- 7526ccc19d67a0bc3fd88edcc76e355f99a225
379377
| | |-- 3d
380378
| | | `-- d7fdbfe787ed80cb58a5905851a1840102e5f2
381379
| | |-- 3e
@@ -386,11 +384,14 @@
386384
| | | `-- ba4ca11186832c55431d069bcc673a697ac081
387385
| | |-- 49
388386
| | | `-- 0782f700bcfb460af23fd4804534b219f845a6
387+
| | |-- 6c
388+
| | | `-- adbbeea146ce3172c8229e9d573e3eab7bdff1
389389
| | |-- 6f
390390
| | | `-- a39dde3631ce9a1934bcbb94b838237769a44e
391391
| | |-- 77
392392
| | | `-- cc643f01813fec7eaac6388bbe44886e2659bd
393393
| | |-- 8e
394+
| | | |-- 1b4e9d32c8a6c0138a4316eb94c36c1e7de384
394395
| | | `-- a81685295ad3ab09a9961a259982ae768d0e0e
395396
| | |-- 95
396397
| | | |-- 2e0ed4fdd6cc6daf3d1c4fcb138fddc8ffdabb
@@ -399,18 +400,17 @@
399400
| | | `-- 51c22e33a18b65ecc2dfcb07ac21ee53ecae8d
400401
| | |-- 9e
401402
| | | `-- 6ec84b9177b428ce4a7343fca238e864cdf3d7
403+
| | |-- a2
404+
| | | `-- b32d1c6c2e22ae44b3b3169ae14230d713c284
402405
| | |-- a9
403406
| | | `-- 4835bf48c2916fbd6984c20564315e9c58660d
404-
| | |-- af
405-
| | | `-- cd0562612cb622b5b647e6a849b3a452c29fb8
406407
| | |-- b0
407408
| | | `-- f8e35251e96a874f6c597a2eb2f597b4d4aed2
408409
| | |-- b2
409410
| | | `-- 8b2106a36e97a096e33a95825aff9f7d4860b5
410411
| | |-- b7
411412
| | | `-- 39c5e88e64a494ccf6a0980788c2b2ef429f28
412413
| | |-- bf
413-
| | | |-- 0cb72a9a6b2834ffaba469d238001f983787f8
414414
| | | `-- 3ce158537f47e137717eb738930e95facdd300
415415
| | |-- ca
416416
| | | `-- 8c6bc19dc6ec1ea4f60d4982b003edb4e26c26
@@ -476,8 +476,6 @@
476476
| | `-- d379f3645131d769fe0e5de2d075a69417ea94
477477
| |-- 30
478478
| | `-- bad8e97384f1ac8cbccd35304d85c9e12b5665
479-
| |-- 37
480-
| | `-- 7526ccc19d67a0bc3fd88edcc76e355f99a225
481479
| |-- 3d
482480
| | `-- d7fdbfe787ed80cb58a5905851a1840102e5f2
483481
| |-- 43
@@ -490,10 +488,14 @@
490488
| | `-- 3cf076586b0dec8f8547b5bfd27f4327e2e489
491489
| |-- 62
492490
| | `-- 4b4ae13c87b02e347717cedff72da5e175c689
491+
| |-- 6c
492+
| | `-- adbbeea146ce3172c8229e9d573e3eab7bdff1
493493
| |-- 6f
494494
| | `-- a39dde3631ce9a1934bcbb94b838237769a44e
495495
| |-- 77
496496
| | `-- cc643f01813fec7eaac6388bbe44886e2659bd
497+
| |-- 8e
498+
| | `-- 1b4e9d32c8a6c0138a4316eb94c36c1e7de384
497499
| |-- 91
498500
| | `-- 509498b7b323626ac259fae13f6c50eea5c947
499501
| |-- 95
@@ -503,10 +505,10 @@
503505
| | `-- 51c22e33a18b65ecc2dfcb07ac21ee53ecae8d
504506
| |-- 9e
505507
| | `-- 6ec84b9177b428ce4a7343fca238e864cdf3d7
508+
| |-- a2
509+
| | `-- b32d1c6c2e22ae44b3b3169ae14230d713c284
506510
| |-- a9
507511
| | `-- 4835bf48c2916fbd6984c20564315e9c58660d
508-
| |-- af
509-
| | `-- cd0562612cb622b5b647e6a849b3a452c29fb8
510512
| |-- b0
511513
| | |-- d4426b7d7d8157600c990d18b62e8a237bffa6
512514
| | `-- f8e35251e96a874f6c597a2eb2f597b4d4aed2
@@ -519,7 +521,6 @@
519521
| |-- b7
520522
| | `-- 39c5e88e64a494ccf6a0980788c2b2ef429f28
521523
| |-- bf
522-
| | |-- 0cb72a9a6b2834ffaba469d238001f983787f8
523524
| | `-- 3ce158537f47e137717eb738930e95facdd300
524525
| |-- ca
525526
| | `-- 8c6bc19dc6ec1ea4f60d4982b003edb4e26c26
@@ -553,4 +554,4 @@
553554
|-- namespaces
554555
`-- tags
555556
556-
107 directories, 106 files
557+
108 directories, 106 files

0 commit comments

Comments
 (0)