René's URL Explorer Experiment


Title: Suggestions on Python processing of cloud.spec file in packaging directory · Issue #4513 · apache/cloudstack · GitHub

Open Graph Title: Suggestions on Python processing of cloud.spec file in packaging directory · Issue #4513 · apache/cloudstack

X Title: Suggestions on Python processing of cloud.spec file in packaging directory · Issue #4513 · apache/cloudstack

Description: ISSUE TYPE Improvement Request COMPONENT NAME packaging CLOUDSTACK VERSION 4.15 CONFIGURATION N/A otherwise OS / ENVIRONMENT CentOS-8.2 SUMMARY In the packaging\centos7 and packaging\centos8 directories, there are many problems about Pyt...

Open Graph Description: ISSUE TYPE Improvement Request COMPONENT NAME packaging CLOUDSTACK VERSION 4.15 CONFIGURATION N/A otherwise OS / ENVIRONMENT CentOS-8.2 SUMMARY In the packaging\centos7 and packaging\centos8 direct...

X Description: ISSUE TYPE Improvement Request COMPONENT NAME packaging CLOUDSTACK VERSION 4.15 CONFIGURATION N/A otherwise OS / ENVIRONMENT CentOS-8.2 SUMMARY In the packaging\centos7 and packaging\centos8 direct...

Opengraph URL: https://github.com/apache/cloudstack/issues/4513

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Suggestions on Python processing of cloud.spec file in packaging directory","articleBody":"\u003c!--\r\nVerify first that your issue/request is not already reported on GitHub.\r\nAlso test if the latest release and master branch are affected too.\r\nAlways add information AFTER of these HTML comments, but no need to delete the comments.\r\n--\u003e\r\n\r\n##### ISSUE TYPE\r\n * Improvement Request\r\n\r\n\r\n##### COMPONENT NAME\r\npackaging\r\n\r\n\r\n##### CLOUDSTACK VERSION\r\n4.15\r\n\r\n##### CONFIGURATION\r\nN/A otherwise\r\n\r\n##### OS / ENVIRONMENT\r\nCentOS-8.2\r\n\r\n##### SUMMARY\r\nIn the packaging\\centos7 and packaging\\centos8 directories, there are many problems about Python processing in the cloud.spec file.\r\n1. python2 is used in the current compilation environment, while python3 is used in some running environments, which causes confusion. It is suggested that package dependency of the running environment should not be handled in the compilation environment, and the basic environmental requirements should be explained in the installation document of the running environment. Considering the transitional period between two major versions of python, it is recommended to use python2 only when compiling and python3 as much as possible in the running environment.\r\n2. It is not recommended to download the package of python3 running environment and put it in RPM file at compile time, but to run “pip install \" at install time, because these installation packages are updated frequently and should not be limited to a lower version by cloudstack. At the same time, because of the existence of mirror image, it is more appropriate for pip to download from the mirror image site faster.\r\n3. It is not recommended to add dependencies such as Requires: python36-libvirt, Requires: python, Requires: python3, and Requires: python3-pip to cloud.spec. At present, Python is used for compilation and installation, or tar package installation directly, instead of RPM installation. After I cancel these dependencies, I compile smoothly. If I add these, I have to install python2 and python3 at the same time using RPM, which is easy to cause conflicts.\r\n\r\nIn addition, it is suggested that, when the two major versions of python are used together, the commands previously used in python2 should be modified instead of python commands, so as to be clearly distinguished from python3.\r\n\r\nAdd the compilation environment python processing way:\r\nOperating system: CentOS-8.2\r\nPython2 installation uses yum install python2\r\nPython3.7.9 is compiled with source code and installed in python3.7 under the home directory.\r\n\r\n[cloud.spec.zip](https://github.com/apache/cloudstack/files/5688626/cloud.spec.zip)\r\n\r\n![1606899306](https://user-images.githubusercontent.com/37821954/100850716-2c34fc80-34bf-11eb-8c4a-6977d94aa176.png)\r\n\r\n\r\n##### STEPS TO REPRODUCE\r\n\r\n##### EXPECTED RESULTS\r\n\r\n##### ACTUAL RESULTS\r\n\r\n","author":{"url":"https://github.com/saliven1970","@type":"Person","name":"saliven1970"},"datePublished":"2020-12-02T08:03:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/4513/cloudstack/issues/4513"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:19596f1c-a1dc-d1aa-f46f-2eeb482c5cea
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id82A2:3EE845:43FA6CC:5DB3FF4:6A4F4D7B
html-safe-nonce15707c33a3d2f40366497b094620ebb1e3a1b438c74b116806c702088a1df083
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MkEyOjNFRTg0NTo0M0ZBNkNDOjVEQjNGRjQ6NkE0RjREN0IiLCJ2aXNpdG9yX2lkIjoiNzE0NDUyNDk1NjE5ODA0NTM5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac2dc9091661e9d70bc1d0d88c105892b63d7715f645bfc46be035a7f22cc5de24
hovercard-subject-tagissue:755042976
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/apache/cloudstack/4513/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9c6a97e15f40c194c3d668aad581911456617fb3054a3a79bea5d01fda4e0a13/apache/cloudstack/issues/4513
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9c6a97e15f40c194c3d668aad581911456617fb3054a3a79bea5d01fda4e0a13/apache/cloudstack/issues/4513
og:image:altISSUE TYPE Improvement Request COMPONENT NAME packaging CLOUDSTACK VERSION 4.15 CONFIGURATION N/A otherwise OS / ENVIRONMENT CentOS-8.2 SUMMARY In the packaging\centos7 and packaging\centos8 direct...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesaliven1970
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-preview
go-importgithub.com/apache/cloudstack git https://github.com/apache/cloudstack.git
octolytics-dimension-user_id47359
octolytics-dimension-user_loginapache
octolytics-dimension-repository_id9759448
octolytics-dimension-repository_nwoapache/cloudstack
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id9759448
octolytics-dimension-repository_network_root_nwoapache/cloudstack
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4b249b445842943ed31549e027f57a8ade9881ed
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/apache/cloudstack/issues/4513#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Fcloudstack%2Fissues%2F4513
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Fcloudstack%2Fissues%2F4513
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=apache%2Fcloudstack
Reloadhttps://github.com/apache/cloudstack/issues/4513
Reloadhttps://github.com/apache/cloudstack/issues/4513
Reloadhttps://github.com/apache/cloudstack/issues/4513
Please reload this pagehttps://github.com/apache/cloudstack/issues/4513
apache https://github.com/apache
cloudstackhttps://github.com/apache/cloudstack
Notifications https://github.com/login?return_to=%2Fapache%2Fcloudstack
Fork 1.3k https://github.com/login?return_to=%2Fapache%2Fcloudstack
Star 3k https://github.com/login?return_to=%2Fapache%2Fcloudstack
Code https://github.com/apache/cloudstack
Issues 536 https://github.com/apache/cloudstack/issues
Pull requests 266 https://github.com/apache/cloudstack/pulls
Discussions https://github.com/apache/cloudstack/discussions
Actions https://github.com/apache/cloudstack/actions
Projects https://github.com/apache/cloudstack/projects
Wiki https://github.com/apache/cloudstack/wiki
Security and quality 0 https://github.com/apache/cloudstack/security
Insights https://github.com/apache/cloudstack/pulse
Code https://github.com/apache/cloudstack
Issues https://github.com/apache/cloudstack/issues
Pull requests https://github.com/apache/cloudstack/pulls
Discussions https://github.com/apache/cloudstack/discussions
Actions https://github.com/apache/cloudstack/actions
Projects https://github.com/apache/cloudstack/projects
Wiki https://github.com/apache/cloudstack/wiki
Security and quality https://github.com/apache/cloudstack/security
Insights https://github.com/apache/cloudstack/pulse
Suggestions on Python processing of cloud.spec file in packaging directoryhttps://github.com/apache/cloudstack/issues/4513#top
PythonWarning... Python code Ahead!https://github.com/apache/cloudstack/issues?q=state%3Aopen%20label%3A%22Python%22
type:improvementhttps://github.com/apache/cloudstack/issues?q=state%3Aopen%20label%3A%22type%3Aimprovement%22
4.16.0.0https://github.com/apache/cloudstack/milestone/16
https://github.com/saliven1970
saliven1970https://github.com/saliven1970
on Dec 2, 2020https://github.com/apache/cloudstack/issues/4513#issue-755042976
cloud.spec.ziphttps://github.com/apache/cloudstack/files/5688626/cloud.spec.zip
https://user-images.githubusercontent.com/37821954/100850716-2c34fc80-34bf-11eb-8c4a-6977d94aa176.png
PythonWarning... Python code Ahead!https://github.com/apache/cloudstack/issues?q=state%3Aopen%20label%3A%22Python%22
type:improvementhttps://github.com/apache/cloudstack/issues?q=state%3Aopen%20label%3A%22type%3Aimprovement%22
4.16.0.0https://github.com/apache/cloudstack/milestone/16
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.