lwIP - A Lightweight TCP/IP stack - Patches: patch #9520, httpd: add a gawk version of...
You are not allowed to post comments on this tracker with your current authentication level.
patch #9520: httpd: add a gawk version of makefsdata
Submitter: | Mike Kleshov <kleshov> | ||
Submitted: | Mon 18 Dec 2017 08:25:42 PM UTC | ||
Category: | apps | Priority: | 3 - Low |
Status: | Wont Do | Privacy: | Public |
Assigned to: | None | Open/Closed: | Closed |
Planned Release: | None |
Sat 06 Jan 2018 07:54:33 PM UTC, comment #4: |
Simon Goldschmidt <goldsimon> |
Sat 06 Jan 2018 06:32:31 PM UTC, comment #3: I guess what I'm trying to say is this: keep httpd simple. If some functionality requires only a minor modification from the user, let him do it. Say, gzip is easy to add: just compress the file and add a proper HTTP header. Another example is fs directory structure: a flat directory of files in server root is good enough for most people. |
Mike Kleshov <kleshov> |
Sat 06 Jan 2018 03:56:32 PM UTC, comment #2: I agree, adding this to git would probably be too much. The thing is, this bare-bones Awk script is simple enough to expand even for someone not familiar with Awk. I just don't know what would be a good place for something like this.
|
Mike Kleshov <kleshov> |
Sat 06 Jan 2018 01:32:00 PM UTC, comment #1: If this got added to git, who would maintain it if someone makes changes to httpd or makefsdata in the future? lwIP is a C project. That's why even the perl version of 'makefsdata' is outdated.
|
Simon Goldschmidt <goldsimon> |
Mon 18 Dec 2017 08:25:42 PM UTC, original submission:
I find gawk very useful for my makefiles. One example is a simple bin2c, the other is parsing bitmaps and converting them to C arrays in an appropriate format. gawk is readily available not only for unixes but also for Windows (it's just a single .exe file, see GnuWin32.)
|
Mike Kleshov <kleshov> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2018-01-07 | kleshov | Status | None | Wont Do | |
Open/Closed | Open | Closed | |||
2017-12-18 | kleshov | Attached File | - | Added makefsdata.awk, #42676 |
Powered by Savane 3.13-f8d8.
Corresponding source code
I'm OK with that.
Well, in this case it is encapsulated in makefsdata. You could gzip it outside, but then you would have to find a way to tell makefsdata that a files is gziped to include the correct header.
That's your opinion. Ask any web page designer I worked with and they will say no ;-)