Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microfsexp #11

Closed
wants to merge 244 commits into from
Closed

Microfsexp #11

wants to merge 244 commits into from

Conversation

gjwatney
Copy link

Originating Project/Creator
Affected Component
Affected Architectures(s)
Related Issue(s)
Has Unit Tests (y/n)
Builds Without Errors (y/n)
Unit Tests Pass (y/n)
Documentation Included (y/n)

Change Description

A description of the changes contained in the PR.

Rationale

A rationale for this change. e.g. fixes bug, or most projects need XYZ feature.

Testing/Review Recommendations

Fill in testing procedures, specific items to focus on for review, or other info to help the team verify these changes are flight-quality.

Future Work

Note any additional work that will be done relating to this issue.

LeStarch and others added 30 commits June 10, 2021 15:42
* lestarch: reworking INSTALL docs for v3.1.0

* lestarch: adding back in note on virtual environments
* lestarch: adding in autocoder helpers file

* lestarch: preventing rerunning of autocoders per-module

* lestarch: INFO_ONLY argument to autocoders now unncessary and removed

* lestarch: ai helpers WIP

* lestarch: updated autocoder implementations

* lestarch: refactoring and fixing cmake UTs

* lestarch: adding breif autocoder and target integration guide

* lestarch: bringing in original documentation

* lestarch: refactoring documentation and spelling

* lestarch: fixing disgarded codegen target

* lestarch: sp

* lestarch: fixin autocoder CMake review comments
* Revise deframer design

* Revise Deframer model and SDD

* Revise Deframer model and SDD

* Revise Deframer SDD

* Revise SDD for Deframer

* Revise SDD for Deframer

* Revise SDD for Deframer

* Revise SDD for Deframer

* Revise SDD for Deframer

* Revise Deframer SDD and model

* Revise Deframer SDD

* Revise Deframer model and SDD

* Revise SDD for Deframer

* Revise SDD for Deframer

* Revise Deframer

Revise SDD and model
Fix memory leak in code

* Revise Deframer SDD and model

* Revise SDD for Deframer

* Revise Deframer model and SDD

* Revise Deframer model and SDD

* Revise Deframer model and SDD

* Revise SDD for Deframer

* Fix typo

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise SDD for Deframer

* Revise SDD for Deframer

* Fix typo

* Revise Deframer SDD

* Revise SDD for Deframer

* Revise SDD for Deframer

* Revise SDD for Deframer

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise diagrams in Deframer SDD

* Revise diagrams in Deframer SDD

* Revise SDD for Deframer

* Revise SDD for Deframer

* Rename PlantUML files

* Revise SDD for Deframer

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Add missing files

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer model and SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Fix typo

* Revise Deframer SDD

* Revise Deframer design

* Revise Deframer SDD

Add comments to implementation

* Revise Deframer SDD

* Revise Deframer SDD

* Reorganize deframer design docs

* Revise Deframer SDD

* Revise topology diagrams in Deframer SDD

* Revise Deframer SDD

* Update revision date

* Revise Deframer SDD

Revise sequence diagrams

* Revise header file for Deframer

* Revise Deframer interface

Add config constants

* Revise Deframer implementation

Rename DeframerComponentImpl --> Deframer

* Revise Deframer implementation

* Revise Deframer implementation

* Revise Deframer design and implementation

* Revise Deframer implementation

* Revise Deframer implementation

* Revise F Prime framing protocol

Add check for integer overflow

* Revise Deframer implementation

* Revise Deframer implementation

* Revise comment

* Revise Deframer implementation

* Revise Deframer implementation

* Disable the random seed for now

* Revise Deframer code

* Fix scrub warnings

* Revise Deframer: Fix spelling in comment

* Revise Deframer implementation after code review

* Refactor Deframer

Rename variables

* Pull in update from STest repo

* Remove trailing space

* Fix spelling issues

* Remove uses of C++11 auto

To support uses of older compilers

* Code cleanup
* Removed aligned allocator for now. Not c++11

* Removed AllignedAlloc header
* Revise deframer design

* Revise Deframer model and SDD

* Revise Deframer model and SDD

* Revise Deframer SDD

* Revise SDD for Deframer

* Revise SDD for Deframer

* Revise SDD for Deframer

* Revise SDD for Deframer

* Revise SDD for Deframer

* Revise Deframer SDD and model

* Revise Deframer SDD

* Revise Deframer model and SDD

* Revise SDD for Deframer

* Revise SDD for Deframer

* Revise Deframer

Revise SDD and model
Fix memory leak in code

* Revise Deframer SDD and model

* Revise SDD for Deframer

* Revise Deframer model and SDD

* Revise Deframer model and SDD

* Revise Deframer model and SDD

* Revise SDD for Deframer

* Fix typo

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise SDD for Deframer

* Revise SDD for Deframer

* Fix typo

* Revise Deframer SDD

* Revise SDD for Deframer

* Revise SDD for Deframer

* Revise SDD for Deframer

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise diagrams in Deframer SDD

* Revise diagrams in Deframer SDD

* Revise SDD for Deframer

* Revise SDD for Deframer

* Rename PlantUML files

* Revise SDD for Deframer

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Add missing files

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer model and SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Revise Deframer SDD

* Fix typo

* Revise Deframer SDD

* Revise Deframer design

* Revise Deframer SDD

Add comments to implementation

* Revise Deframer SDD

* Revise Deframer SDD

* Reorganize deframer design docs

* Revise Deframer SDD

* Revise topology diagrams in Deframer SDD

* Revise Deframer SDD

* Update revision date

* Revise Deframer SDD

Revise sequence diagrams

* Revise header file for Deframer

* Revise Deframer interface

Add config constants

* Revise Deframer implementation

Rename DeframerComponentImpl --> Deframer

* Revise Deframer implementation

* Revise Deframer implementation

* Revise Deframer design and implementation

* Revise Deframer implementation

* Revise Deframer implementation

* Revise F Prime framing protocol

Add check for integer overflow

* Revise Deframer implementation

* Revise Deframer implementation

* Revise comment

* Revise Deframer implementation

* Revise Deframer implementation

* Disable the random seed for now

* Revise Deframer code

* Fix scrub warnings

* Revise Deframer: Fix spelling in comment

* Revise Deframer implementation after code review

* Refactor Deframer

Rename variables

* Pull in update from STest repo

* Remove trailing space

* Fix spelling issues

* Remove uses of C++11 auto

To support uses of older compilers

* Revise Deframer unit tests

* Revise Deframer unit tests

Add coverage of error cases

* Fix bug in test code

* Revise Deframer unit tests

Add code coverage

* Revise Deframer unit tests

* Revise Deframer unit tests

Enable 'ut' tests in addition to 'ut-unified' tests

* Revise Deframer unit tests

Rename executable
Add comments in CMakeLists.txt

* Revise Deframer unit tests

Rename subdirectory

* Revise Deframer unit tests

* Revise Deframer unit tests

* Revise Deframer unit tests

* Code cleanup

* Refactor F Prime deframing protocol

* Revise Deframer unit tests

* Fix bug in test code

* Revise comments

* Disable random seed for Deframer

Some seeds cause failures

* Revise test output

Add comments and requirement mappings

* Revise Deframer unit tests

* Revise Deframer unit tests

* Revise Deframer unit tests

Add test for routing file packet when bufferOut is unconnected

* Revise Deframer unit tests

Correct type in sizeof expression

* Pare down deframer tests for debugging

* Revise Deframer UTs

Turn on debug output

* Refactor Deframer UTs

* Refactor Deframer UTs

* Refactor Deframer UTs

* Refactor Deframer UTs

* Refactor Deframer UTs

* Refactor Deframer UTs

* Refactor Deframer UTs

* Refactor Deframer unit tests

* Refactor Deframer UTs

* Refactor Deframer UTs

* Refactor Deframer UTs

* Refactor Deframer UTs

* Refactor Deframer UTs

* Refactor Deframer UTs

* Refactor Deframer UTs

* Refactor Deframer UTs

* Refactor Deframer UTs

* Revise Deframer UTs

* Refactor Deframer UTs

* Refactor Deframer UTs

* Refactor Deframer UTs

* Refactor Deframer UTs

* Refactor Deframer UTs

* Refactor Deframer UTs

* Refactor Deframer UTs

* Refactor Deframer UTs

* Refactor Deframer UTs

* Refactor Deframer UTs

* Refactor Deframer UTs

* Revise Deframer UTs

* Refactor Deframer UTs

* Refactor Deframer UTs

* Refactor Deframer UTs

* Refactor Deframer UTs

* Refactor Deframer UTs

* Refactor Deframer UTs

* Add missing file

* Refactor Deframer unit tests

* Refactor Deframer UTs

* Refactor Deframer UTs

* Revise Deframer UTs

* Refactor Deframer UTs

* Revise Deframer UTs

Re-enable all tests

* Revise Deframer UTs

* Refactor Deframer UTs

* Refactor Deframer UTs

* Refactor Deframer UTs

* Refactor Deframer UTs

* Refactor Deframer UTs

* Refactor Deframer unit tests

* Refactor Deframer UTs

* Refactor Deframer UTs

* Refactor Deframer UTs

* Refactor Deframer UTs

* Refactor Deframer UTs

* Remove trailing spaces

* Revise comment

* Revise comment

* Revise comments

* Revise comment

* Remove trailing space

* Rename parameters to avoid name hiding

* Fix spelling

* Replace (void) with ()

* Fix use after free bug
* Experimental PPC build

* VxWorks/GCC 4.3.3 compile backfixes

* Changed using to typedef for older gcc

* Added fp_compat.hpp header and commented code back in

* Reverted vxworks experimental changes

* Removed vxworks submodule

* Some other reversions

* Spelling

* Update fp_compat.hpp

* lestarch: deleting this

* lestarch: reverting FP compat.  Projects can add back in where needed.

* Delete fp_compat.hpp

Co-authored-by: M Starch <LeStarch@googlemail.com>
* Added mutex unlock alias

* Added test that Mutex is 'BasicLockable'
* lestarch: fixing versioning

* lestarch: sp

* lstarch: sp
* Fixed bugs found while compiling for baremetal.

* line number in which assert occurs has changed due to the addition of the operator=. Updating the expected line numbers to match where the asserts are now.

* addressing pr comments.

* updated line numbers in unit test to match what is auto generated.

* fixed comment
* Revise Ref topology model

Update FPP version
Use new FPP syntax for concrete instance types

* Revise RPI example

Use new FPP syntax for instance types

* Revise Ref and RPI topologies

Use new FPP syntax for LinuxTime instance

* Update FPP version

* Update FPP version

* Revise Ref topology

Remove special C++ code for blockDriver

* Update RPI topology

Remove specialized code for declaring linuxTimer instance

* Update FPP version

* lestarch: bumping latest version of FPP

* Update .lgtm.yml

* lestarch: installing sbt

* lestarch: adding pip upgrade

Co-authored-by: M Starch <LeStarch@googlemail.com>
…asa#1467)

* Updated RateGroupDriver. Moved constructor arguments to new configure() call

* Updated topology to new RateGroupDriver constructor and configure() function

* Updated docs, added assert to make sure it is configured

* Fixed RPI and MathComponent tutorial code

* Fixed configure description

* Moved rgDivs back to configObjects

* Fixed typo in rateGroupDriver instance

* Updated RPI and MathComponent RDG FPP
* lestarch: adding rate group documentation

* lestarch: rate group documentation review fixes

* lestarch: sp

* lestarch: final review comments

* lestarch: adding an example rate group section
* Replace lists created with list() with []

* last f-string concat
* Use f-strings for concatenating str instead of '+

* misc fstring concatenation

* lestarch: fix python formating

Co-authored-by: M Starch <LeStarch@googlemail.com>
Co-authored-by: M Starch <LeStarch@googlemail.com>
* lestarch: switching to requirements.txt for installation, and setup.py to generate base meta-package

* lestarch: updating setup for CI to use new requirements.txt

* lestarch: working packages

* lestarch: spelling etc

* lestarch: formatting

* lestarch: setuptools SCM to LGTM
@gjwatney
Copy link
Author

A description of the changes contained in the PR

Merged OpenFreeSpaceTest along with other unit test changes

@gjwatney gjwatney closed this Mar 14, 2023
@github-actions
Copy link

github-actions bot commented Mar 14, 2023

@check-spelling-bot Report

Unrecognized words, please review:

  • apps
  • argparse
  • args
  • arity
  • aspx
  • autocomplete
  • autogenerated
  • aws
  • bw
  • bytearray
  • cfg
  • checkbox
  • chmod
  • ci
  • cpp
  • cppdbg
  • cpy
  • csv
  • cxx
  • datetime
  • delattr
  • deserialize
  • DHTML
  • dockerfile
  • dropdown
  • elif
  • endfor
  • endif
  • endswith
  • etree
  • ev
  • exe
  • fd
  • fh
  • fwlink
  • gainsboro
  • getattr
  • getcwd
  • getpass
  • gety
  • gh
  • gz
  • hasattr
  • hh
  • hpp
  • href
  • htm
  • html
  • http
  • hu
  • hz
  • img
  • ini
  • inl
  • ino
  • Intelli
  • ip
  • isabs
  • isdir
  • isinstance
  • issubclass
  • iu
  • jpg
  • json
  • len
  • lifecycle
  • lightgreen
  • lightyellow
  • linkid
  • listdir
  • ljust
  • localtime
  • lstrip
  • lte
  • makedirs
  • metadata
  • middleware
  • mkdir
  • mq
  • MTIME
  • multiline
  • MVC
  • Mypy
  • namespace
  • nbsp
  • Nh
  • orangered
  • overridable
  • pdf
  • perl
  • php
  • phtml
  • posix
  • pragma
  • proj
  • py
  • quickstart
  • rb
  • readline
  • regex
  • rmdir
  • rmtree
  • rng
  • rp
  • rstrip
  • rtf
  • rx
  • setattr
  • shutil
  • SIGABRT
  • splitext
  • splitlines
  • startswith
  • strftime
  • structs
  • stylesheet
  • Substr
  • svg
  • sys
  • td
  • timezone
  • tl
  • tt
  • tz
  • ud
  • url
  • urllib
  • urlopen
  • utc
  • utils
  • uuid
  • vm
  • vue
  • vx
  • wp
  • wx
  • xhtml
  • xls
  • xlsx
  • xml
  • xsl
  • xslt
  • yml
  • zd
  • zsh
  • zu
Previously acknowledged words that are now absent ablack asyc asynch autodocs autogenerator Bassic bcm blogs BLSPSERIALDRIVERCOMPONENTIMPLCFG COMXBEE configs DASSERT DBUILD DCMAKE DENABLE deserializes DFPRIME DISF DPRIVATE DPROTECTED DSTATIC DSTUBBED DTGT fcheck fds featuredarticles filefor filesystems fno fprofile fsanitize fsanitizers fstrength ftest GENREP getbuffer getsize github Heade hyperlinks ipv kevin ldl LINUXUARTDRIVER lpthread lrt mailto meminfo Microfs microfsexp mindepth multline Mutexed NDELAY oran plugins PNGs puml PYS pytests Rce regexs rpaetz runcycles sbt scanf SDFLIGHT segfault setbuffer SIGSEGV sprintf srcs ssh stackoverflow statfs subfolders tgz toolchains tts ubuntu unittests vfs Wconversion Werror Wextra Wformat wget Whitelisted wikipedia Wnon Woverloaded Wshadow Wsign Wundef XBee xmls xoff xon
Some files were were automatically ignored

These sample patterns would exclude them:

^FppTest/port/clean$

You should consider adding them to:

.github/actions/spelling/excludes.txt

File matching is via Perl regular expressions.

To check these files, more of their words need to be in the dictionary than not. You can use patterns.txt to exclude portions, add items to the dictionary (e.g. by adding them to allow.txt), or fix typos.

To accept these unrecognized words as correct (and remove the previously acknowledged and now absent words), run the following commands

... in a clone of the git@github.com:gjwatney/fprime-timcanham-microfsexp.git repository
on the microfsexp branch:

update_files() {
perl -e '
my @expect_files=qw('".github/actions/spelling/expect.txt"');
@ARGV=@expect_files;
my @stale=qw('"$patch_remove"');
my $re=join "|", @stale;
my $suffix=".".time();
my $previous="";
sub maybe_unlink { unlink($_[0]) if $_[0]; }
while (<>) {
if ($ARGV ne $old_argv) { maybe_unlink($previous); $previous="$ARGV$suffix"; rename($ARGV, $previous); open(ARGV_OUT, ">$ARGV"); select(ARGV_OUT); $old_argv = $ARGV; }
next if /^(?:$re)(?:(?:\r|\n)*$| .*)/; print;
}; maybe_unlink($previous);'
perl -e '
my $new_expect_file=".github/actions/spelling/expect.txt";
use File::Path qw(make_path);
use File::Basename qw(dirname);
make_path (dirname($new_expect_file));
open FILE, q{<}, $new_expect_file; chomp(my @words = <FILE>); close FILE;
my @add=qw('"$patch_add"');
my %items; @items{@words} = @words x (1); @items{@add} = @add x (1);
@words = sort {lc($a)."-".$a cmp lc($b)."-".$b} keys %items;
open FILE, q{>}, $new_expect_file; for my $word (@words) { print FILE "$word\n" if $word =~ /\w/; };
close FILE;
system("git", "add", $new_expect_file);
'
(cat '.github/actions/spelling/excludes.txt' - <<EOF
$should_exclude_patterns
EOF
) |grep .|
sort -f |
uniq > '.github/actions/spelling/excludes.txt.temp' &&
mv '.github/actions/spelling/excludes.txt.temp' '.github/actions/spelling/excludes.txt'
}

comment_json=$(mktemp)
curl -L -s -S \
  --header "Content-Type: application/json" \
  "https://api.github.com/repos/timcanham/fprime/issues/comments/1468650826" > "$comment_json"
comment_body=$(mktemp)
jq -r .body < "$comment_json" > $comment_body
rm $comment_json

patch_remove=$(perl -ne 'next unless s{^</summary>(.*)</details>$}{$1}; print' < "$comment_body")
  

patch_add=$(perl -e '$/=undef;
$_=<>;
s{<details>.*}{}s;
s{^#.*}{};
s{\n##.*}{};
s{(?:^|\n)\s*\*}{}g;
s{\s+}{ }g;
print' < "$comment_body")
  

should_exclude_patterns=$(perl -e '$/=undef;
$_=<>;
exit unless s{(?:You should consider excluding directory paths|You should consider adding them to).*}{}s;
s{.*These sample patterns would exclude them:}{}s;
s{.*\`\`\`([^`]*)\`\`\`.*}{$1}m;
print' < "$comment_body" | grep . || true)

update_files
rm $comment_body
git add -u
If the flagged items are 🤯 false positives

If items relate to a ...

  • binary file (or some other file you wouldn't want to check at all).

    Please add a file path to the excludes.txt file matching the containing file.

    File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.

    ^ refers to the file's path from the root of the repository, so ^README\.md$ would exclude README.md (on whichever branch you're using).

  • well-formed pattern.

    If you can write a pattern that would match it,
    try adding it to the patterns.txt file.

    Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.

    Note that patterns can't match multiline strings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.