Fossil

History of src/tar.c of a426154b3e6bdeb8
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History of file src/tar.c at check-in a426154b3e6bdeb8

2021-07-11
19:16
Checked into the wrong branch... ... (file: [6459b768da] check-in: [005bba0650] user: drh branch: wrong-branch, size: 26925)
2021-03-11
13:22
Numerous help text consistency tweaks based on forum discussion [forum:8c644048f0]. ... (file: [e7e3c2133f] check-in: [4cb50c4ef3] user: stephan branch: trunk, size: 26847)
2021-01-21
23:33
Add the --list option to the "tarball", "zip", and "sqlar" commands. Also rig those commands so that if the output filename is an empty string or "/dev/null" then they do not actually form the output archive. ... (file: [95e8c3d5dd] check-in: [c88880fa8a] user: drh branch: trunk, size: 26846)
2020-12-22
12:13
Removed the parameter from style_finish_page() since the resulting content div class is now redundant with respect to the body class. This potentially breaks CSS made against old class names that a prior commit on this branch changed, but such skins would be made against an unreleased version of Fossil, it's unlikely many are using that first version of the feature anyway, and most of the class names did *not* change unless you were targeting a "div" instead of "body" or just a generic class name. None of the shipping skins are affected. ... (file: [95037a85c5] check-in: [0e83ca88ce] user: wyoung branch: body-feature-class, size: 25676)
2020-11-07
13:25
Rename the "style_body_and_footer()" interface to "style_finish_page()" and add a more detailed header comment to the implementation. ... (file: [be281fab81] check-in: [942b2076c6] user: drh branch: default-css-cleanups, size: 25694)
2020-11-05
23:15
Added a parameter to style_footer() and renamed it to match its actual function (style_body_and_footer()) so we can add a CSS class to each page that indicates which major Fossil feature served the page, so we can have module-specific CSS. ... (file: [fed8b3b99c] check-in: [ef5424b683] user: wyoung branch: default-css-cleanups, size: 25702)
2020-09-11
15:40
If the "fossil import --git" command encounters a file that looks like a well-formed Fossil artifact, append a line to the end of that file so that it is no longer a well-formed artifact before importing it. This prevents "manifest" files that found their way into Git from being reinterpreted by Fossil when the repository is reimported back into Fossil. ... (file: [9197c27d24] check-in: [2777682b63] user: drh branch: trunk, size: 25666)
2020-05-27
22:14
Updated all user-facing documentation and "fossil help" output (plus select internal comments and function names) to use "hash" rather than "UUID". No functional changes. (Yet?) See forum thread https://www.fossil-scm.org/forum/forumpost/ddc14c6866 for discussion. ... (file: [f7b0290f4a] check-in: [df5201950e] user: wyoung branch: uuid-to-hash, size: 25649)
2020-04-30
15:00
Fix the file_perm() utility routine so that it actually uses the eFType parameter. ... (file: [8329031f9a] check-in: [388b5e5982] user: drh branch: trunk, size: 25639)
2019-09-27
23:56
Added -- support to (3-way-merge, open, sqlar, stash save|snapshot, tarball, touch, undo/redo, update, zip). ... (file: [a6823da436] check-in: [52ae3288ab] user: stephan branch: double-dash-flag, size: 25848)
2019-07-06
20:29
For the tar / zip web pages, avoid dangling references involving zRid. ... (file: [ded518e27f] check-in: [dbe16d7bb4] user: mistachkin branch: trunk, size: 25629)
2018-07-15
19:56
Clarify the difference between fossil_fatal() and fossil_panic(). The fossil_panic() interface puts a message on the error log when generating webpages. Otherwise the two routines are identical. Convert some fossil_fatal() calls into fossil_panic() where appropriate. The goal here is to limit messages on the error log to things that require attention from the system administrator, or represent bugs. ... (file: [2c6c9b81bd] check-in: [3f5ab71744] user: drh branch: trunk, size: 25606)
2018-04-06
12:01
Enhance the /tarball, /zip, and /sqlar pages so that the checkin name to be downloaded can be expressed as part of the URI, and without the need for query parameters. ... (file: [6e64099b33] check-in: [3e94c7ed74] user: drh branch: trunk, size: 25606)
2018-02-25
19:09
Add ETags cache control to the /tarball, /zip, and /sqlar pages. ... (file: [d83930676c] check-in: [f2492f3bb6] user: drh branch: etags-cache-control, size: 24315)
2017-11-30
17:58
Refactor the symlink processing logic so that most of the file access routines take a new parameter indicating the conditions under which symlinks should and should not be followed. This should fix a few bugs related to symlink processing. Lots of testing required before merging to trunk. ... (file: [69a1c4327e] check-in: [e7767de263] user: drh branch: symlink-refactor, size: 24284)
2017-09-29
00:53
Add support for the "l" flag to the "manifest" setting to enable creation of a file "manifest.symlinks" which lists the names of all symlinks ... (file: [e2c25fed59] check-in: [8d6bdd1e00] user: andygoth branch: andygoth-enhanced-symlink, size: 24681)
2017-08-05
04:17
Enable processing of versioned manifest setting when creating zips and tarballs outside of an open checkout directory ... (file: [7f1a32be9c] check-in: [da23bec780] user: andygoth branch: trunk, size: 24098)
2017-06-09
13:09
Update the /tarball and /zip pages to return status code 404 if given an unknown checkin to download. ... (file: [5022464271] check-in: [a10fc448ed] user: drh branch: trunk, size: 24049)
2017-03-15
18:34
On the /tarball and /zip pages, use r= as the query parameter to select which check-in to download. The uuid= query parameter is still accepted as an alias for backwards compatibility. ... (file: [17b09ed44d] check-in: [ece33ee1b6] user: drh branch: trunk, size: 24008)
2017-03-01
18:21
Remove unused local variables. ... (file: [7d2471e3ae] check-in: [cb92c69c2a] user: drh branch: trunk, size: 23712)
2017-02-28
19:47
Fix the tarball and ZIP archive generators so that the use the display hash to populate the manifest.uuid file. ... (file: [ccd159559d] check-in: [9a8986b791] user: drh branch: fossil-2.0, size: 23727)
2016-10-04
19:06
Fix harmless compiler warnings. ... (file: [8cfe3f2ef8] check-in: [3f06618c96] user: mistachkin branch: trunk, size: 23811)
2016-09-23
02:27
Merge updates from trunk. ... (file: [684d2f84d0] check-in: [0934366187] user: mistachkin branch: jan-manifest-tags, size: 23807)
2016-09-15
19:42
Fix typo in comment. ... (file: [f6dbb51806] check-in: [adffcf5b60] user: mistachkin branch: trunk, size: 22627)
04:12
Even more consistency. ... (file: [2c0535c6aa] check-in: [e5cbf41c04] user: mistachkin branch: tarAndZip, size: 22617)
04:01
Make it easier to debug the ZIP web page. Enhance consistency between the Tarball and ZIP web pages. ... (file: [cb2f593d5e] check-in: [b945876253] user: mistachkin branch: tarAndZip, size: 22536)
2016-08-03
01:18
Merge with trunk; resolved tar and zip generation to handle include/exclude globs. ... (file: [cb30437487] check-in: [de9e7651a9] user: jan branch: jan-manifest-tags, size: 23716)
2016-06-17
12:38
Fix a typo in the built-in documentation for the "tarball" command. ... (file: [3d8ec6d43a] check-in: [e0da91e96f] user: drh branch: trunk, size: 22536)
2016-06-15
08:38
More consistancy in using <br /> and <hr /> HTML tags ... (file: [2c940b4142] check-in: [bd559ff0d0] user: jan.nijtmans branch: trunk, size: 22537)
2016-06-10
12:46
Add the --include and --exclude options to the tarball and zip commands and the in= and ex= query parameters to the /tarball and /zip webpages. ... (file: [2f7b592395] check-in: [ef449a1173] user: drh branch: trunk, size: 22533)
2016-03-12
22:02
Remove support for miniz because the upstream project appears to be unmaintained. UPDATE: The miniz project is still being maintained and this branch is a dead-end. ... (file: [f92ef7b607] check-in: [b9f31fe1e7] user: mistachkin branch: removeMiniz, size: 19464)
2016-01-04
00:22
Fix: Extract filename for manifest.tags. ... (file: [ecbf6a514f] check-in: [185669ce21] user: jan branch: jan-manifest-tags, size: 20204)
2016-01-03
23:55
Add manifest.tags to tarballs when appropriate, and decouple manifest and manifest.uuid. ... (file: [227b6155ee] check-in: [80ceedbdea] user: jan branch: jan-manifest-tags, size: 20167)
2015-02-28
10:11
replaced 'checkin' with 'check-in' in code-comment, inline command help-text, SQL-statement comment, fatal error messages and some non-functional webpage-content ... (file: [9d67347c9e] check-in: [7c30266a45] user: michai branch: ml-jb-doc-typos, size: 19566)
2015-02-14
14:55
Added the referred_from_login() function and use it to enhance the /zip and /tarball pages so that they show a download button to click if the referrer page was /login. ... (file: [d3a332c83b] check-in: [bcebe55e91] user: drh branch: login-enhancements, size: 19562)
12:24
When the user is "nobody", make the g.anon permission vector for "anonymous" available in addition to g.perm. Hyperlinks to pages that would be available to anonymous are shown rather than suppressed. When permission is denied and control jumps to login_needed() a new flag shows whether or not logging in as "anonymous" would help. Work in progress. ... (file: [dc2ecf7d82] check-in: [2f50d427a9] user: drh branch: login-enhancements, size: 19223)
2015-02-10
08:24
Speedup handling of checked-out files: When multiple information about a file is requested (size, mtime, permission flags) only call stat() once. ... (file: [99b559d287] check-in: [dd94e596f4] user: jan.nijtmans branch: trunk, size: 19213)
2014-09-23
16:02
When generating the "manifest" file in a checkout because "fossil setting manifest" is turned on, add an extra line of text to the end of the file to prevent the file from being interpreted as a valid control artifact in case the complete source tree is imported into another unrelated Fossil project. ... (file: [0a4c8e0915] check-in: [1dd4be80ca] user: drh branch: trunk, size: 19250)
2014-08-23
06:08
Add miniz as a compile-time feature, leaving zlib as the default compression library. All makefiles should build. The DMC and PellesCGMake makefiles are not yet supported with miniz. Also, when using miniz, OpenSSL support for zlib is disabled in the MinGW makefile. ... (file: [fea3c7f9e5] check-in: [c693a3365c] user: mistachkin branch: optionalMiniz, size: 19216)
2014-08-19
16:52
"the zip file patch" from Baruch. ... (file: [8f24bfc705] check-in: [26ecec6c2c] user: stephan branch: miniz, size: 19115)
2014-08-18
17:13
Replaced zlib usage with local copy of miniz. Seems to work. ... (file: [980fed13e8] check-in: [579ae389ce] user: stephan branch: miniz, size: 19114)
2014-08-05
17:27
Updates to the "help" text for the tarball command. Add hyperlinks for accessing content on the /cachestat webpage. ... (file: [15033d1cad] check-in: [b6a5023fae] user: drh branch: trunk, size: 19114)
2014-07-31
21:13
/zip now ignores the .zip extension, analog to how /tar does. Minor doc improvements in /zip and /tar from the ML. ... (file: [0b574a4883] check-in: [e0199bfc43] user: stephan branch: trunk, size: 18797)
2014-07-30
15:40
Call verify_all_options() on most of fossil CLI commands. - Skip all the test-* commands for now (may be unnecessary) - Skip sha1sum, md5sum and artifact because they can take "-" as argument and verify_all_options() would call fatal. Need to handle those differently... - Command with subcommands that have their options are remaining: branch, bisect, cache, configuration, json, sql, stash, tag, ticket, user, wiki. (not sure how to handle those yet..) ... (file: [68a15a9a12] check-in: [a426154b3e] user: mgagnon branch: verify-all-options, size: 18668)
2014-04-25
21:11
Add a cache that will save /zip and /tarball objects and reissue them from cache when requested a second time. The "fossil cache" command is used to control the cache. Turned off by default and must be enabled using "fossil cache init". ... (file: [21d0c0bc63] check-in: [450b62ff3a] user: drh branch: trunk, size: 18601)
2014-03-23
17:14
Added some text to the /tar help, per ML suggestion. ... (file: [dac0efd367] check-in: [7ba06f150c] user: stephan branch: trunk, size: 18388)
2014-03-09
00:15
Add the ability to restrict CPU-intensive web pages when the server load average gets too high. This feature is turned off by default. ... (file: [5dec7d3f02] check-in: [5e26a1b9b2] user: drh branch: trunk, size: 18178)
2014-01-11
19:11
Fix a harmless valgrind warning in the tarball generator. ... (file: [4fd4440b5f] check-in: [64fc6d15e5] user: drh branch: trunk, size: 18160)
2013-12-22
10:21
According to RFC 1952, MTIME=0 means no time stamp is available ... (file: [d8f62d1690] check-in: [518896951a] user: jan.nijtmans branch: trunk, size: 18162)
2013-10-11
08:36
Make sure that EVERY source file includes "config.h" before any other system includes. This is the first step in making fossil compile for Win64 using MinGW. ... (file: [7e83fb52d6] check-in: [c30cd93b91] user: jan.nijtmans branch: trunk, size: 18161)
2013-10-04
09:30
Better error-message in case of "manifest file is malformed" ... (file: [20ce2d11be] check-in: [1eb438d61a] user: jan.nijtmans branch: pending-review, size: 18161)
2012-08-29
13:57
Allow UTF-8 characters in sources. translate.exe will translate it to ASCII ... (file: [ed1d0b8c64] check-in: [9f6abc5968] user: jan.nijtmans branch: msvc-broken, size: 18157)
2012-08-08
13:22
When using /zip or /tarball without a UUID, use "trunk" instead of "tip" as the default. Ticket [300fc543b24250e256] ... (file: [2ccfdb903a] check-in: [eb0933ca55] user: drh branch: trunk, size: 18158)
12:41
If no uuid= query parameter is used for the /tarball or /zip URIs, then use the latest checkin (aka "tip"). Ticket [300fc543b24250e256867]. ... (file: [ec3cf1447d] check-in: [8f00221682] user: drh branch: trunk, size: 18156)
2012-06-29
15:59
Update to the latest SQLite4 that requires converting preprocessor macro prefixes from "SQLITE_" to "SQLITE4_". ... (file: [3cbddc6f07] check-in: [0328d68181] user: drh branch: sqlite4, size: 18179)
2012-06-27
12:30
Begin a branch that is modified to use sqlite4 instead of sqlite3 as the storage engine. This check-in compiles (on unix) but does not work. ... (file: [0586de90f2] check-in: [6823912746] user: drh branch: sqlite4, size: 18178)
2012-06-11
17:33
merge trunk again... (previous merge was not from latest trunk from fossil-scm.org) ... (file: [29d6c7af56] check-in: [7a57ab6465] user: mgagnon branch: mgagnon_fix, size: 18195)
2012-04-11
16:37
Sorry - failed to tap ctrl-x s before that last commit :/. ... (file: [f286bf17c6] check-in: [ad1628626a] user: stephan branch: trunk, size: 18153)
16:33
Second half of the tarball fix (CLI mode, i missed that one). ... (file: [bde842b65a] check-in: [b79d2b77fe] user: stephan branch: trunk, size: 18153)
16:28
Fixed: /tarball accepted non-checkin rids (but of course could not generate a tarfile from them). Bug report from Justin Gedge on the mailing list. ... (file: [df94c8b760] check-in: [f982e3764b] user: stephan branch: trunk, size: 18066)
2012-03-29
14:54
Add vim modline everywhere ... (file: [45f9d748dc] check-in: [a496d8e88d] user: mgagnon branch: mgagnon_fix, size: 18096)
2012-02-01
12:09
Doc change only: documented -R/--repository for zip/tar commands. ... (file: [c3c2ce39a2] check-in: [a84aadad5a] user: stephan branch: trunk, size: 18054)
2011-11-03
17:31
Break up the command-line commands into commonly-use and auxiliary commands and only show the commonly-used ones with "fossil help". Add a new command "fossil commands" to show auxiliary and test commands. ... (file: [8c729ae1b6] check-in: [841772c858] user: drh branch: trunk, size: 18031)
2011-09-28
11:35
Use the check-in time as the timestamp for zlib compression on tarballs, os that every tarball for the same check-in is identical. ... (file: [3e0bdccc21] check-in: [3e141b792c] user: drh branch: trunk, size: 18030)
2011-09-14
17:45
Refactored g.okXXX perms flags to g.perm.XXX. ... (file: [a673fd8b35] check-in: [34b4dec0bc] user: stephan branch: stephan-hack, size: 17980)
2011-09-08
11:59
Introduce new file_wd_* functions that use stat() or lstat() depending on 'allow-symlinks' setting, and use them when dealing with files inside the working directory. Make file_* functions always use stat() as before merging symlink support. Fix renaming of symlinks when merging (via new function symlink_copy()). Rename create_symlink() to symlink_create(). ... (file: [0ea241f03e] check-in: [8a0c546990] user: dmitry branch: symlinks, size: 17977)
2011-08-25
11:42
Introduce constants for internal permissions (executable/symlink). ... (file: [3a400c7728] check-in: [f6daee3e7b] user: dmitry branch: symlinks, size: 17972)
2011-08-24
20:01
Support symlinks in tarballs. ... (file: [6058760743] check-in: [72e3bbd071] user: dmitry branch: symlinks, size: 17939)
2011-08-14
07:21
Merge trunk into ben-testing, adjusting for versionable settings. ... (file: [bcc5531633] check-in: [246ac307bb] user: ben branch: ben-testing, size: 17342)
2011-08-12
12:13
Fix harmless compiler warnings in tar.c. ... (file: [e68544809d] check-in: [073725ae0c] user: drh branch: trunk, size: 17322)
2011-08-04
15:54
Merge trunk into ben-testing ... (file: [471b8f0ff9] check-in: [3eb07708b1] user: ben branch: ben-testing, size: 17264)
2011-07-24
19:47
Use a Blob object rather than a custom printf function in order to construct the PAX header for tarballs. ... (file: [de7c9f3c4b] check-in: [02ce8b4a46] user: drh branch: ge-tarfix, size: 17244)
00:36
Improvements to tar generation. Uses the format documented in Posix.1-2008 to handle long file names and UTF-8. ... (file: [dabd31f47a] check-in: [2ef37b3b2a] user: ge branch: ge-tarfix, size: 18483)
2011-06-02
19:38
Merge versionable settings and empty-dirs setting from versionable-settings branch ... (file: [dec860466c] check-in: [30ebed1903] user: ben branch: ben-testing, size: 10133)
2011-06-01
22:32
In contexts where only a check-out makes since, only resolve tags or branch names into check-outs, not events or other artifacts. Ticket [5f611295e3c2a8]. ... (file: [c460954725] check-in: [2a013f0228] user: drh branch: trunk, size: 10113)
2011-05-31
12:52
Always use the alternate-form flag "#" to control the number of input bytes to printf conversions like %t, %h, and %q. Do not use precision in those cases since precision limits the number of output characters, not the number of input characters. Ticket [8967ea1df4f51af]. ... (file: [4bf7db1d3f] check-in: [e5e6ca4659] user: drh branch: trunk, size: 10101)
2011-05-27
12:03
Do not use strcmp() for comparison since the sort order can vary by locale. Use fossil_strcmp() instead. Ticket [3f0216560679fd41]. ... (file: [7a18f7a8d9] check-in: [32ad9a1584] user: drh branch: trunk, size: 10102)
2011-05-21
16:18
Slightly hacky way of putting versioned properties in .fossil-settings dir. Version ignore-glob, binary-glob, crnl-glob and manifest. Glob splitting allows line breaks as well as spaces and commas. ... (file: [f6495999cc] check-in: [56b75c768a] user: ben branch: bens-expr, size: 10115)
2011-04-08
17:09
Fix copy-paste issues with the header comment for the tarball generator. ... (file: [7a0649e73c] check-in: [e5609b76cb] user: drh branch: trunk, size: 10095)
2011-03-17
15:33
When generating a tarball, remove the complete ".tar.gz" suffix from the filename to create the top-level directory name, not just the ".gz" part. ... (file: [2732f788de] check-in: [9ca5bbf8a6] user: drh branch: trunk, size: 10099)
2011-03-14
12:16
Put two blank pages at the end of a generated TAR file. Ticket [b767f47cdefef12]. ... (file: [11eda37a51] check-in: [a5ebf2f5df] user: drh branch: trunk, size: 9809)
2011-03-09
15:45
Change the tarball generator to use the USTAR tar format. ... (file: [da3b21044e] check-in: [1b7777b9ee] user: drh branch: trunk, size: 9743)
02:23
Add the ability to deliver compressed tarballs in addition to ZIP archives. ... (file: [8850032107] check-in: [d5d676f0c7] user: drh branch: trunk, size: 9104)