Hello Matthias, To extend #require over amforth-shell.py sessions simply add data persistence to "self._uploaded = set()".
See https://docs.python.org/2/library/persistence.html It would be much simpler. Enoch, Your faithful shadow. P/S "spying on developers" was said tongue-in-cheek :-) Matthias Trute <mtr...@web.de> writes: > Hi Enoch, > >> I don't see the benefit of automatically collecting my uploaded file >> names into the firmware. > > Just don't define a wordlist with the name uploaded-wl. > It not part of the default (or any other) configuration. > I should write a recipe for it, it seems. > >> In fact, it's a sort of spying after the >> developer... > > Ouch. That's what Open Source is good at ;) > > Seriosly: It makes the require statement a really > useful instruction, esp when working with modules. > It prevents uploading files that are already > present, even if the shell session is (for what > ever reason) restarted. > > A release management for production quality > code that deserves this name will of course > not include such information. See above. > >> an unnecessary firmware bloating... > > Again: see above. > >> >> Can you please make this feature at least a command line option that is >> disabled by default. > > I'll think about it. > >> Most users won't use it and the failed run-time >> tests to uploaded-wl existence are annoying. > > Removing the message is easy (in fact, its an artifact). > > And what "most" users think about it... I know of two > other users that use it (except me) and now of one who > doesn't. Makes 3:1. Not relly "most". In neither respect. > > Matthias > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ Amforth-devel mailing list for http://amforth.sf.net/ Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel