Task #3166
opentracking: src code file reorg
Added by Victor Julien over 6 years ago. Updated 27 days ago.
Description
Reorg code files to not have a single src dir containing all files.
VJ Updated by Victor Julien over 6 years ago Actions #1
- Blocks Feature #1025: seperate #ifdef UNITTEST code into their own files added
JI Updated by Jason Ish about 6 years ago Actions #2
- Status changed from Assigned to In Review
VJ Updated by Victor Julien almost 6 years ago Actions #3
- Target version changed from 6.0.0beta1 to 7.0.0-beta1
VJ Updated by Victor Julien over 4 years ago Actions #4
- Target version changed from 7.0.0-beta1 to 8.0.0-beta1
JI Updated by Jason Ish about 2 years ago Actions #5
- Status changed from In Review to In Progress
Moving back to in-progress.
JI Updated by Jason Ish about 2 years ago Actions #6
- Related to Optimization #3836: Formatting rust code added
JI Updated by Jason Ish over 1 year ago Actions #7
- Related to Optimization #6754: libsuricata: restructure directory and files to allow for include files to be name spaced added
JI Updated by Jason Ish over 1 year ago Actions #8
A few ideas of code reorganization have happened, but we haven't settled on one.
1. Modular re-org without consideration for the library
- PR: https://github.com/OISF/suricata/pull/10041
- Moves "detect-*" into "detect/" and so.
2. Re-organize to be a first class library (#6754)
- PR: https://github.com/OISF/suricata/pull/10421
- The idea here is that almost all C source files are moved into a directory named suricata or libsuricata.
- Brings a natural include pattern of "suricata/filename.h"
- Executables, including suricata would live in the src/ directory or some other directory like tools/. Curl is an example of another project where its developed as a library, and the popular command is just one of the executables generated from it.
Both of these have gone kind of stale, just adding PRs to the existing work in case we pick them up.
VJ Updated by Victor Julien about 1 year ago Actions #9
- Target version changed from 8.0.0-beta1 to 9.0.0-beta1
PA Updated by Philippe Antoine 27 days ago Actions #11
- Subject changed from src code file reorg to tracking: src code file reorg