[CDRIVER-4640] Simplify the source archive generation Created: 12/May/23  Updated: 07/Nov/23  Resolved: 18/Jul/23

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.25.0

Type: Task Priority: Unknown
Reporter: Colby Pike Assignee: Colby Pike
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: CDRIVER-4546
Quarter: FY24Q2
Backwards Compatibility: Minor Change

 Description   

One of the build outputs of the C driver is a source archive. This is posted on the GitHub release.

The source archive itself is not a simple archive of the source directory, but rather an archive composed of some generated components (documentation) as well as a subset of the original source components (not all of the source tree is included). Keeping this archive process up-to-date with changes to the driver is tedious and it is unknown how much benefit it provides to our users over a regular Git archive.



 Comments   
Comment by Githook User [ 07/Nov/23 ]

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}

Message: Update NEWS and docs for 1.25.0 (#1461)

  • update NEWS for 1.25.0
  • link to GitHub release page, not tarball

The tarball is removed in 1.25.0 as part of CDRIVER-4640.

  • move `:man_page:` directive

Appears to fix HTML rendering. Cause is not known.
Branch: r1.25
https://github.com/mongodb/mongo-c-driver/commit/035f71a0a48386374c1610748bcae8937c48b317

Comment by Githook User [ 01/Nov/23 ]

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}

Message: Update NEWS and docs for 1.25.0 (#1461)

  • update NEWS for 1.25.0
  • link to GitHub release page, not tarball

The tarball is removed in 1.25.0 as part of CDRIVER-4640.

  • move `:man_page:` directive

Appears to fix HTML rendering. Cause is not known.
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/a09129be6a3e1c875d4f923111e47b9a6ed4702c

Comment by Colby Pike [ 18/Jul/23 ]

It was ultimately decided that it was beneficial enough to simply remove the release archive altogether and update all remaining scripts to reflect this new process. This potentially breaks users that relied on the source archive as their primary source for the driver, but it should be reasonably easy to migrate such processes to instead use the repository as the source release.

Comment by Githook User [ 18/Jul/23 ]

Author:

{'name': 'vector-of-bool', 'email': 'vectorofbool@gmail.com', 'username': 'vector-of-bool'}

Message: CDRIVER-4640 Remove the Release Archive (#1333)

  • Remove CMake code for source distribution

This removes code that accumulates lists of sources to include in the
source dist, as well as the targets which generate it.

  • "RELEASE" mode does not use release archive
  • link-sample tasks do not use the source archive
  • No more make-release-archive
  • Rename make_release_archive -> make_docs
  • Rename the variant
  • Define a variant tag for protecting merges
  • Use stable Fedora for RPM build (for now)
  • Use git archive to create the source archive
  • Bring packaging tasks as PR-protected
  • Tweak pkg version detection
  • Tweak spec patchfile
  • Get source filename from rpmspec
  • Note pending removal of the release archive
    Branch: master
    https://github.com/mongodb/mongo-c-driver/commit/75db6e1af6f5f779602fb475c93a88dac76c2202
Generated at Wed Feb 07 21:21:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.