Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
.. _roadmap-current:
.. _roadmap-2024:
Roadmap 2024
============
(Version 1.0, last modified 2024-03-22)
This document provides an overview of the technical roadmap of the Software
Heritage initiative for the year 2024.
Live tracking of the roadmap implementation progress during the year is
available from a dedicated `GitLab board
<https://gitlab.softwareheritage.org/groups/product-management/-/boards?label_name[]=roadmap%202024>`_.
.. contents::
:depth: 3
..
License identification
----------------------
Design a data model for license information
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/license-identification/-/issues/3>`__
- Priority: medium
- Tags: Licence detection, SWH Sec
**Description:**
Integrate license information to the Software Heritage Data Model, covering all the use cases and levels of license detection
**Includes work:**
- Review state of the art
- Define or identify an ontology for license information
- must take into account the ability to track license changes over time (including a project changing license without actually changing each files)
- Design and implement the model
**KPIs:**
- Updated data model deployed in production
Collect license information from external platforms (as extrinsic metadata)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/license-identification/-/issues/2>`__
- Priority: high
- Tags: Licence detection
**Description:**
Collect extrinsic metadata about license from platforms when available (GitHub, package managers..)
**Includes work:**
- Identify the platforms that provide license information
- Update related loaders to collect the license data
**KPIs:**
- Number of platforms that provide license information
- Number of origins for which license metadata has been collected
Mine license information from the archive (as intrinsic metadata)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/license-identification/-/issues/1>`__
- Priority: high
- Tags: Licence detection
**Description:**
Update indexers in order to generalize file scans for license information with latest tools.
This approach is not exhaustive, because some files do not contain relevant information
**Includes work:**
- Select the most accurate code-scanning engine for license detection (ScanCode, ..). Different strategies might be required for different levels (e.g. scan per project, or scan per file).
- Update the actual license detection indexer
- Deploy and run the updated indexer
**KPIs:**
- Number of contents indexed per license type
Documentation
-------------
Review existing documentation according to identified personas
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/documentation/-/issues/1>`__
- Priority: medium
- Tags:
**Description:**
The existing documentation is fairly extensive but somewhat unfocused. There is work scheduled to come up with personas to reflect on various Software Heritage stakeholders. Once that work is done, the existing documentation should be reviewed to identify who could be interested in which parts.
**Includes work:**
- Review each piece of documentation.
- Tag each page with the personas that could be interested.
- Identify undocumented aspects.
- Perform “low-hanging fruit” changes in the documentation.
**KPIs:**
- Pages of the documentation tagged with a set of personas.
- List of areas lacking documentation.
- Update of the documentation landing page to better fit the different personas.
SWH Scanner
-----------
Release a first version of the swh-scanner product
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/swh-scanner/-/issues/10>`__
- Priority: high
- Tags: Scanner
**Description:**
Industrialize and improve the swh-scanner CLI to provide a full-featured product ready for regular use.
Octobus is handling a bunch of improvements under a NGI Search grant.
**Includes work:**
- Improve industrialization and portability
- Improve HTTP querying capabilities
- Identify content (origin, version, CVE, licence)
- Handle Exclusion patterns + VCS ignore definitions
- Improve configuration and documentation
- Implement progress indicators
- Provide an enhanced result dashboard
**KPIs:**
* Release and announce a first version of swh-scanner
SWH Sec
-------
Large scale archives retrieval (vault)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/swh-sec/-/issues/6>`__
- Priority: medium
- Tags: SWH Sec
**Description:**
Integrate massive caching facilities to the vault and setup a storage infrastructure in order to enable large-scale recovery of numerous projects
**Includes work:**
* Specify heuristics for vault pre-cooking strategies
* Design and implement vault pre-cooking services
* Design the infrastructure requirements for cooking and storage
* Deploy the vault caching solution in production
**KPIs:**
* Vault caching system in production
* Number of project cooked and stored in the cache
Certified Deposit
-----------------
Specify requirements for certified deposit
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/certified-deposit/-/issues/1>`__
- Priority: low
- Tags: Certified deposit
**Description:**
Specify the functional and technical requirements to create a certified timestamped deposit service
**Includes work:**
- Interview stakeholders
- Identify and describe the use cases
- Review state of the art of certified timestamping
- Specify the technical requirements
**KPIs:**
- Validated specification
Institutional Portal
--------------------
Implement and deploy the institutional portal
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/institutional-portal/-/issues/4>`__
- Priority: medium
- Tags: Institutional portal
**Description:**
Implement and deploy the software artifacts for the Software Heritage Institutional Portal
**Includes work:**
* Implement the backend services and APIs
* Implement the web UI components
* Setup a staging environment
* Setup the production infrastructure
* Deploy in production
**KPIs:**
* Institutional portal operational in production
* Number of portal instances
Design software architecture for the institutional portal
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/institutional-portal/-/issues/2>`__
- Priority: medium
- Tags: Institutional portal
**Description:**
Design the software architecture and UI/UX for the SWH institutional portal
**Includes work:**
* Specify the UI/UX for an configurable webapp according to the specified use cases
* Design the required APIs
* Design the software architecture
* Specify the infrastructure requirements
**KPIs:**
* Validated UI mockup
* Validated technical specification
Specify requirements for institutional portal
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/institutional-portal/-/issues/1>`__
- Priority: high
- Tags: Institutional portal
**Description:**
Specify the requirements for a Software Heritage Institutional Portal, to present, qualify and extract software catalogs for specific entities (institutions, administrations, ..)
**Includes work:**
- Identify the categories of institutions that could require an institutional portal
- Collect and analyse each institutions requirements
- Specify use cases for a generic specification
**KPIs:**
- List of described use cases
- Generic specification for a Software Heritage Institutional Portal
Mirrors
-------
Documentation for mirror operators
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/mirrors/-/issues/6>`__
- Priority: low
- Tags: Mirrors
**Description:**
Publish a comprehensive documentation for mirror operators
**Includes work:**
- Update the existing mirrors documentation
- Publish and share the updated documentation
**KPIs:**
- Published and up-to-date mirrors-operating documentation
Mirror tooling for scrubbing
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/mirrors/-/issues/5>`__
- Priority: medium
- Tags: Mirrors
**Description:**
Implement srubbing tools to control the integrity of the mirrors replayed data
**Includes work:**
- Implement a scrubber for ENEA mirror
**KPIs:**
- Coverage of ENEA archive scrubbed
Mirror tooling for mailmap
^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/mirrors/-/issues/4>`__
- Priority: high
- Tags: Mirrors
**Description:**
Validate a policy and implement tools for mailmaps in the mirrors
**Includes work:**
- Specify and validate the mailmap policy for mirrors
- Validate whether the personal data transfer is ok for existing requests, preempt the issue for further requests
- Design and implement tools for mirrors
**KPIs:**
- Mailmap tools in production on active mirrors
Mirror tooling for takedown
^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/mirrors/-/issues/3>`__
- Priority: high
- Tags: Mirrors
**Description:**
Setup SWH mirrors tooling for takedown requests in accordance with the [documented process](https://docs.softwareheritage.org/sysadm/mirror-operations/takedown-notices.html).
**Includes work:**
- Design a workflow for a secure transfer of takedown requests data to mirrors
- Implement the workflow and deploy the solution for existing mirrors
- Provide mirrors with the SWH tools for takedown requests processing
**KPIs:**
- Takedown notification pipeline in production for active mirrors
- Takedown processing tools available for active mirrors
- Usage statistics
SWH Mirror at Duisburg-Essen university
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/mirrors/-/issues/2>`__
- Priority: medium
- Tags: Mirrors
**Description:**
Collaborate with Duisburg-Essen university to create a SWH Mirror
**Includes work:**
* Guidance and contribution to UniDue architecture and infrastructure choices
* Specific developments if necessary (to be determined according to the chosen technical solutions)
* Developments of tools for Winery replication (for Ceph-based object storage)
* Help to deployment
**KPIs:**
* validated architecture and first POC
Mirror instance at GRNET
^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/mirrors/-/issues/1>`__
- Priority: high
- Tags: Mirrors
**Description:**
Collaborate with GRNET to create a SWH Mirror
**Includes work:**
* Guidance and contribution to GRNET architecture and infrastructure choices
* Specific developments if necessary (to be determined according to the chosen technical solutions)
* Help to deployment
**KPIs:**
* validated architecture and first POC
SWH.org Website
---------------
Refactor the architecture of the SWH website
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/swh-org-website/-/issues/1>`__
- Priority: high
- Tags: SWH.org website
**Description:**
Refactor the architecture of the SWH Wordpress website, in order to integrate the latest upgrades and integrate new features to ease the content edition and management.
Ideally it should use no or a very limited amount of extensions (for ease of self-maintainance). This migration work will be outsourced to an external provider.
**Includes work:**
- Specify the technical and functional requirements
- Cleanup the actual wordpress (unused pages and categories)
- Update the testing platform to match the production website
- Coordinate and validate the work of the provider
**KPIs:**
- Upgraded website in production
- New features available in production
SWH Archive Website
-------------------
Setup a Software Citation UI feature
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/swh-archive-website/-/issues/4>`__
- Priority: high
- Tags: SWH archive website
**Description:**
Provide users with a web UI feature that enables to generate and export citations for Software artifacts (SWHID) in multiple formats, and display the citation requests per project
**Includes work:**
- Design the right interface
- Implement the UI feature in swh-web
- Display the number of citation requests for a project
**KPIs:**
- Available user-friendly UI for Software citation
- Supported citation formats
- Number of citation requests per project
Design presentation of Metadata on Web UI
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/swh-archive-website/-/issues/2>`__
- Priority: medium
- Tags: SWH archive website
**Description:**
Design presentation of intrinsic and extrinsic metadata for any artifact on web UI and add linked data capabilities (Semantic Web solutions)
**Includes work:**
* Specify the expected use cases
* Design metadata view for Web UI
* Allow export of metadata (in multiple formats - APA/ BibTeX/ CodeMeta/ CFF)
* Assistance and contribution to CodeMeta
* Add linked data capabilities
**KPIs:**
* Specification and POC
Takedown notice management UI
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/swh-archive-website/-/issues/1>`__
- Priority: high
- Tags: Mirrors, SWH archive website
**Description:**
Set up a workflow to handle takedown requests, manageable via a web UI
**Includes work:**
* Validate the takedown workflow specification
* Implement a web UI using a common workflow management tool (see product-management/swh-archive-website#3)
* Specify the mechanism to trigger the takedown through the web UI, taking into account that a service able to remove data from the archive requires a lot of care
**KPIs:**
* Takedown notice handling integrated to swh-web
SWH Core Platform
-----------------
Automate the production and publication of derived datasets
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/core-platform/-/issues/55>`__
- Priority: high
- Tags: SWH Sec
**Description:**
Provide tooling for an automated production and publishing of derived datasets
**Includes work:**
- Design and implement the required automation tools
- Setup and configure an automation pipeline
- Provide a dashboard for monitoring
**KPIs:**
- Number of derived datasets automatically published
Map software versions to objects in the archive
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/core-platform/-/issues/54>`__
- Priority: medium
- Tags: SWH Sec, Scanner
**Description:**
Several key use cases require to be able to identify objects in the archive related to specific software versions.
This mapping needs to be implemented in the archive
**Includes work:**
- Design and implement updates on the data model to store software version information
- Specify heuristics and methods to establish the mapping between a software version and an object in the archive
- Implement and run the tools to store the information
**KPIs:**
- Number of software and versions identified in the archive
Investigate on forge discovery automation
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/core-platform/-/issues/53>`__
- Priority: low
- Tags:
**Description:**
Investigate on solutions for forges discovery automation, based on IP scanning tools
**Includes work:**
- Identify and benchmark available tools
- Setup a POC
**KPIs:**
- POC
Precompute relevant characteristics of the graph
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/core-platform/-/issues/52>`__
- Priority: medium
- Tags:
**Description:**
Compute and store relevant characteristics of the graph, including size estimations and depth.
For each node:
- expanded size (size of cooking as a directory/tarball)
- effective/de-duplicated size (size of cooking as a git-bare repo)
- subgraph size (number of nodes + edges)
- depth of the subgraph
- depth of the subgraph made of objects only of the same type *eg. only commits* (generation number)
**Includes work:**
* Design and implement the required data model upgrades
* Design and implement tools for computing the actual graph
* Design and implement a solution to compute data in flight
**KPIs:**
* % of the graph computed
Improve ingestion efficiency
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/core-platform/-/issues/48>`__
- Priority: medium
- Tags: SWH Sec
**Description:**
Improve ingestion efficiency to reduce the lag on major forges
**Includes work:**
- Optimize loaders
- Optimize scheduling policies
**KPIs:**
- Number of out of date repos (absolute and per platform)
- Total archive lag (e.g., in days)
Design and implement a unified software datamodel
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/core-platform/-/issues/47>`__
- Priority: medium
- Tags: Licence detection, SWH Sec
**Description:**
Create a unified data model to integrate software-related metadata (licence, CVE, issues, pull requests, discussions, comments...) for indexing, querying and retrieval.
**Includes work:**
- Design a comprehensive and extensive data model (maybe drawing inspiration from or reusing ForgeFed specifications)
- Implement the model in the SWH data model storage architecture
**KPIs**
- types of data stored in the model
Deploy a unified software data model storage infrastructure
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/core-platform/-/issues/42>`__
- Priority: medium
- Tags: Licence detection, SWH Sec
**Description:**
Establish a scalable, robust and sustainable infrastructure to support the enrichment and intensive use of the Software Heritage archive for software-related metadata.
**Includes work:**
- Identify and study possible architectural solutions for a unified model storage
- Validate and design a solution for a unified software data model storage architecture
- Specify and validate the required infrastructure for unified software data model storage
- Deploy the required infrastructure for unified software data model storage
**KPIs:**
- Infrastructure available in production
- Performance indicators for massive queries
Enrich the archive with CVE metadata
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/core-platform/-/issues/34>`__
- Priority: medium
- Tags: SWH Sec
**Description:**
Integrate CVE metadata in the archive.
**Includes work:**
- Design and implement a model to store CVE metadata
- Design and implement a crawler to collect CVE metadata
- Ingest the CVE metadata
**KPIs:**
- % of CVE ingested in the archive
Enable inclusion filters in listers
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/core-platform/-/issues/21>`__
- Priority: low
- Tags:
**Description:**
Actual listers only enable to define exclusion filters (ex: archive all origins but those from a given directory).
In some cases, we need to apply inclusion filters (ex : archive only origins located in a given directory)
**Includes work:**
- Design and implement an inclusion filter for all relevant listers
**KPIs:**
- Number of inclusion filters applied in production
Recover the ingestion backlog
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/core-platform/-/issues/19>`__
- Priority: medium
- Tags: SWH Sec
**Description:**
Increase the horsepower for ingestion capacity in order to recover the ingestion backlog, temporarily using a large-scale computing platform.
**Includes work:**
- Specify infrastructure requirements to deploy as many loaders as possible (wrt the storage bandwidth capcity)
- Deploy the ingestion tooling on the infrastructure
- Run the ingestion
**KPIs:**
- GitHub lag recovered
- Amount of resources used (CPU time, duration..)
Implement rate-limiting in swh-vault
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/core-platform/-/issues/18>`__
- Priority: medium
- Tags:
**Description:**
Implement a rate-limiting mechanism in swh-vault based on the computed size estimations of the nodes before cooking. The purpose of this feature is to prevent overload in some edge cases and possibly establish a rate-limiting system to avoid abusive usage of the vault.
**Includes work:**
* Implement the cost-calculator
* Implement the rate-limiting
* Make it configurable according to the user profile
**KPIs:**
* Rate-limiting activated on swh-vault in production
* Number of rejected cooking requests
* Number of cooked projects
Cassandra in production as primary storage
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/core-platform/-/issues/17>`__
- Priority: high
- Tags:
**Description:**
Use Cassandra as primary storage in production, in replacement of PostgreSQL
*2023 history: https://gitlab.softwareheritage.org/groups/swh/-/milestones/82#tab-issues*
**Includes work:**
* Benchmark the Cassandra infrastructure
* Switch to Cassandra in production for primary storage
**KPIs:**
* Replayed data validated
* Live staging archive instance in parallel of the legacy postgresql instance
* Live production archive instance in parallel of the legacy postgresql instance
* Cassandra primary storage in staging
* Cassandra primary storage in production
Scale-out objstorage in production as primary objstorage
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/core-platform/-/issues/16>`__
- Priority: high
- Tags:
**Description:**
Have the Ceph-based objstorage for SWH (Winery) in production as primary storage and set up equivalent MVP in staging (maybe use the same Ceph cluster for this)
*2023 history: https://gitlab.softwareheritage.org/groups/swh/-/milestones/83#tab-issues*
**Includes work:**
* Benchmark Ceph-based objstorage
* Switch to Ceph-based objstorage as primary storage
* Handle Mirroring
**KPIs:**
* Ceph-based obj-storage in production as primary storage
Extend archive check and repair tools
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/core-platform/-/issues/15>`__
- Priority: high
- Tags:
**Description:**
Set up background jobs to regularly check - and repair when necessary - data validity, in all SWH data stores. This includes both blobs (swh-objstorage) and other graph objects (swh-storage) on all the copies (in-house, kafka, azure, upcoming mirrors, etc.)
*2023 history: https://gitlab.softwareheritage.org/groups/swh/-/milestones/103#tab-issues*
**Includes work:**
* Add scrubbing for the object storage
* Add metrics and Grafana dashboard for scrubbing process
* Automatically repair and recover objects found to be invalid (fixers)
**KPIs:**
* List of scrubbers deployed in production
* Monitoring tools deployed in production
* Rolling report of operations per datastore including errors found and fixed at each iteration
Support archiving repositories containing SHA1 hash conflicts on blobs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/core-platform/-/issues/14>`__
- Priority: high
- Tags:
**Description:**
Enable the possibility to use multiple hash types for objects checksums in order to get rid of the limitations imposed by having SHA1 as a primary key for the object storage internally.
**Includes work:**
- Add tests on multiplexed object storages with different primary keys
- Deployment of sha256-based swh.objstorage at CEA
- Migrate swh.journal to use composite object keys for the content topic
**KPIs:**
* Multiple hash storage facility in production
* Ability to archive git repos that contains sample SHAttered collisions blobs (they are currently detected and refused)
Release a Bulk On-demand Archival feature
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/core-platform/-/issues/11>`__
- Priority: high
- Tags:
**Description:**
Provide a solution for bulk archival of large amounts of origins, using the same logic as Save Code Now but different queues in order to avoid swamping the Save Code Now queue, whose purpose is to almost instantly archive a single origin at a time.
**Includes work:**
- Specify the user requirements
- Design a technical solution
- Implement the tooling and an API
- Define the access restrictions to the feature
- Deploy the solution in production
**KPIs:**
- Total number of origins archived using bulk save code now
- Average number of origins per bulk request
Design and implement a provenance search API v1
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/core-platform/-/issues/10>`__
- Priority: medium
- Tags: Scanner
**Description:**
Provide an API that enables to retrieve the probable first origin for a given content, based on swh-provenance and swh-graph.
**Includes work:**
- Validate the provenance index data
- Design the provenance API endpoints
- Implement the provenance REST API and the required backend APIs
- Design and deploy a provenance infrastructure in production
- Deploy the Provenance REST API v1 in production
**KPIs:**
- API available in production
Provide an exectuvie-friendly monitoring of services
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/core-platform/-/issues/7>`__
- Priority: low
- Tags:
**Description:**
Provide a high-level and easy to find dashboard of running services with documented key indicators.
**Includes work:**
* Gather public site metrics
* Publish and document a dedicated dashboard
* Add links to it on common web applications (web app and docs.s.o)
**KPIs:**
* Indicators available for public sites status
* Indicators for archive workers status
* Indicators for archive behavior
* Main dashboard that aggregates the indicators
* Dashboard referenced in common web applications
Graph export and graph compression in production
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/core-platform/-/issues/6>`__
- Priority: high
- Tags: SWH Sec
**Description:**
Have the graph compression pipeline running in production with less then a month of lag Deployment, hosting and pipeline tooling
*2023 history: https://gitlab.softwareheritage.org/groups/swh/-/milestones/59#tab-issues*
**Includes work:**
* Finish the refactoring (rewriting in Rust)
* Setup an automatic scheduled generation
* Provide a dashboard for monitoring
**KPIs:**
* Graph compression pipeline in production
* Last update date / number of updates per year
Setup swh webhook for vault cooking
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/core-platform/-/issues/4>`__
- Priority: low
- Tags: SWH archive website
**Description:**
Implement a webhook for vault cooking based on swh-webhooks architecture
**Includes work:**
- Write and validate a specification
- Design the user interface to configure the webhook in the SWH webapp
- Implement and deploy the solution
**KPIs:**
- Webhook deployed in production
- Usage statistics
Setup swh webhook for Deposit
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/core-platform/-/issues/3>`__
- Priority: low
- Tags: SWH archive website
**Description:**
Implement a webhook for deposit based on swh-webhooks architecture
**Includes work:**
- Write and validate a specification
- Design the user interface to configure the webhook in the SWH webapp
- Implement and deploy the solution
**KPIs:**
- Webhook deployed in production
- Usage statistics
Sysadmin tooling for Takedown notices
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `View in GitLab <https://gitlab.softwareheritage.org/product-management/core-platform/-/issues/1>`__
- Priority: high
- Tags:
**Description:**
The swh-alter module has been developed to improve automation capabilities of the sysadmin tools for takedown notices processing.
It's a CLI tool that provides an admin interface for takedown actions, aiming at covering deletion capabilities for both the storage (Postrges, Cassandra, Kafka journal client) and the object storage (ZFS, Ceph/Winery, Azure and S3). It also provides an encrypted recovery bundle mechanism to be able to rollback deletion upon error.
**Includes work:**
- Wire deletion in Elastic Search
- Wire deletion on Azure and S3
- End-to-end testing on staging
- Configure for production environment
**KPIs:**
* Production-ready sysadmin swh-alter tooling
* Number of takedown requests processed using swh-alter