Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 717578 - dev-libs/aws-sdk-cpp: Version bump to 1.8.46
Summary: dev-libs/aws-sdk-cpp: Version bump to 1.8.46
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sven Eden
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-04-15 13:08 UTC by Joonas Niilola
Modified: 2020-09-15 11:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ChangeLog for the new ebuild (ChangeLog.txt,1.21 KB, text/plain)
2020-09-14 08:36 UTC, Sven Eden
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joonas Niilola gentoo-dev 2020-04-15 13:08:59 UTC
A new version 1.7.312 seems to be available. Please update to latest release.
Comment 1 Sven Eden 2020-09-04 05:53:09 UTC
I am working on it, but it is not trivial as bug 735286 also demands a port to python 3.x
Comment 2 Sven Eden 2020-09-04 06:20:46 UTC
Just a note: I have analyzed the current SDK and found out, the the SDK got 64 new modules that aren't covered by our ebuild, yet.

I will need a few days to go threw them to determine which are parts of already handled modules, and which need a handling on their own.
Comment 3 Sven Eden 2020-09-14 08:31:38 UTC
Updated title to version 1.8.46 - The new single-sign-on feature got activated.

I have analyzed all new modules and put them into the new ebuild.
Right now I am testing to build the SDK, but with all modules enabled it got 27376 build targets. That takes a while.

However, I'll see to it that bug 735286 (Py3 Port) also takes place before I'll file a PR.
Comment 4 Sven Eden 2020-09-14 08:36:32 UTC
Created attachment 660105 [details]
ChangeLog for the new ebuild

Here is my provisional ChangeLog.

Please have a look if you are okay with how I distributed the new modules.

Some had to get their own USE flag, as they didn't seem to really fit into any of the "bundle" USE flags. If you have an idea where to put them instead, please let me know.
Comment 5 Joonas Niilola gentoo-dev 2020-09-14 09:37:30 UTC
Looks good.

What would you think about reversing the USE flag logic here? Would it be possible to just enable the core functionality with "minimal" IUSE, and with "-minimal" it'd enable _everything_ else?
Comment 6 Sven Eden 2020-09-14 10:36:24 UTC
(In reply to Joonas Niilola from comment #5)
> Looks good.
> 
> What would you think about reversing the USE flag logic here? Would it be
> possible to just enable the core functionality with "minimal" IUSE, and with
> "-minimal" it'd enable _everything_ else?

Well, the modules are so extremely different, that I don't think we should take away the choice here. I have tried to document all modules (but those under USE="other") enough so users can make an educated choice.

Building everything is really really huge! Someone who only wants to write some Lambdas or manage some EBS or S3 storage would skin us alive for that! ;-)

I have an i7 10th gen with 8*2 cores and am building in memory with 64GB RAM available. The build directory currently holds 20GB and it is running for about 90 minutes now and is at [20956/27376].
Really, we should not put that onto everybody who isn't okay with our USE="minimal" selection, whatever this might be.

However, I do like the idea to add such a USE flag, that would autoselect a specific set of modules. So everybody who just wishes to have a go at the SDK with some easy stuff doesn't need to bother reading through the huge list in metadata.xml.

What might such a minimal modules list contain?
Comment 7 Joonas Niilola gentoo-dev 2020-09-14 13:58:53 UTC
You know better than I do, it was just a wild thought.
Comment 8 Larry the Git Cow gentoo-dev 2020-09-15 11:49:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=110733e64174c6fd57836177d8f68673a5921d48

commit 110733e64174c6fd57836177d8f68673a5921d48
Author:     Sven Eden <sven.eden@prydeworx.com>
AuthorDate: 2020-09-14 13:45:18 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-09-15 11:49:24 +0000

    dev-libs/aws-sdk-cpp: Bump to 1.8.46 and py3 upgrade (#717578)
    
    This ebuild does not only bump the version, but also fixes two issues and adds
    several new modules as follows.
    
    1. USE flag "polly" no longer pulls in media-sound/pulseaudio, as it is not
       needed for "polly", but for "text-to-speech". The new USE flag "pulseaudio"
       lets the user decide whether to depend on media-sound/pulseaudio or not.
       (bug 701752)
    2. All python scripts are upgraded for python-3.7 to 3.9 compatibility
       (bug 735286)
    3. The following modules have been added:
      * accessanalyzer, dataexchange, identitystore, sso, sso-oidc
        Added to USE flag "access-management"
      * appconfig
        New USE flag "appconfig"
      * appflow, braket, migrationhub-config, schemas
        Added to USE flag "other"
      * codeartifact, codeguruprofiler, codeguru-reviewer, codestar-connections,
        codestar-notifications, honeycode
        Added to USE "cloud-dev"
      * compute-optimizer, synthetics
        Added to USE "cloudwatch"
      * ebs
        New USE flag "ebs"
      * elastic-inference
        New USE flag "elasticinference"
      * forecast, forecastquery
        New USE flag "forecast"
      * frauddetector
        New USE flag "frauddetector"
      * imagebuilder, savingsplans
        Added to USE flag "ec2"
      * iotsecuretunneling, iotsitewise
        Added to USE flag "iot"
      * ivs
        Added to USE flag "kinesis"
      * kendra
        New USE flag "kendra"
      * macie2
        Added to USE flag "macie"
      * marketplace-catalog
        Added to USE flag "marketplace"
      * networkmanager
        New USE flag "networkmanager"
      * outposts
        New USE flag "outposts"
      * qldb, qldb-session
        New USE flag "qldb"
      * sagemaker-a2i-runtime
        Added to USE flag "sagemaker"
      * sesv2
        Added to USE flag "email"
      * wafv2
        Added to USE flag "waf"
      * workmailmessageflow
        Added to USE flag "cloud-desktop"
    
    Closes: https://bugs.gentoo.org/701752
    Closes: https://bugs.gentoo.org/717578
    Closes: https://bugs.gentoo.org/735286
    Package-Manager: Portage-3.0.7, Repoman-3.0.1
    Signed-off-by: Sven Eden <sven.eden@prydeworx.com>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 dev-libs/aws-sdk-cpp/Manifest                      |   1 +
 dev-libs/aws-sdk-cpp/aws-sdk-cpp-1.8.46.ebuild     | 183 +++++++++++++++++++++
 ...cpp-upgrade_CI_ConstructReleaseDoc_py-3.9.patch |  10 ++
 ...dk-cpp-upgrade_CI_ExtractBuildArgs_py-3.9.patch |  22 +++
 ...ade_CI_handle_release_notification_py-3.9.patch |   9 +
 ...rade_CI_move_release_doc_to_models_py-3.9.patch |   9 +
 ...droid-build_build_and_test_android_py-3.9.patch |  28 ++++
 ...ry-release-pipeline_lambda_publish_py-3.9.patch |  14 ++
 ...rosslinks_generate_cross_link_data_py-3.9.patch |  19 +++
 ...cpp-upgrade_scripts_build_3rdparty_py-3.9.patch |  70 ++++++++
 ...-cpp-upgrade_scripts_build_example_py-3.9.patch |  18 ++
 ...p-upgrade_scripts_dummy_web_server_py-3.9.patch |  20 +++
 ...-upgrade_scripts_endpoints_checker_py-3.9.patch |  29 ++++
 ...pp-upgrade_scripts_gather_3rdparty_py-3.9.patch |  11 ++
 ...-cpp-upgrade_scripts_generate_sdks_py-3.9.patch |  25 +++
 ...-cpp-upgrade_scripts_renew_license_py-3.9.patch |  11 ++
 ...rade_scripts_run_integration_tests_py-3.9.patch |  17 ++
 dev-libs/aws-sdk-cpp/metadata.xml                  | 132 ++++++++++++---
 18 files changed, 601 insertions(+), 27 deletions(-)