René's URL Explorer Experiment


Title: semantic-release generate-config --pyproject produces unreadable toml · Issue #702 · python-semantic-release/python-semantic-release · GitHub

Open Graph Title: semantic-release generate-config --pyproject produces unreadable toml · Issue #702 · python-semantic-release/python-semantic-release

X Title: semantic-release generate-config --pyproject produces unreadable toml · Issue #702 · python-semantic-release/python-semantic-release

Description: The problem when i execute semantic-release generate-config -f toml --pyproject >> pyproject.toml it adds tons of NUL in the file. Its impossible to handle that. My IDE is pycharm. The same in notepad++. Expected behavior to get a correc...

Open Graph Description: The problem when i execute semantic-release generate-config -f toml --pyproject >> pyproject.toml it adds tons of NUL in the file. Its impossible to handle that. My IDE is pycharm. The same in note...

X Description: The problem when i execute semantic-release generate-config -f toml --pyproject >> pyproject.toml it adds tons of NUL in the file. Its impossible to handle that. My IDE is pycharm. The same i...

Opengraph URL: https://github.com/python-semantic-release/python-semantic-release/issues/702

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"semantic-release generate-config --pyproject produces unreadable toml","articleBody":"## The problem\r\n\r\nwhen i execute semantic-release generate-config -f toml --pyproject \u003e\u003e pyproject.toml it adds tons of NUL in the file. Its impossible to handle that. My IDE is pycharm. The same in notepad++.\r\n\r\n## Expected behavior\r\n\r\nto get a correct formatted, easy to read .toml\r\n\r\n## Environment\r\n\r\nPlease state which OS you are using and provide the output of the following commands:\r\n\r\n```shell\r\npython --version \r\n3.11\r\npip --version\r\npip 23.2.1 from C:\\Users\\xx.xx\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\pip (python 3.11)\r\nsemantic-release --version\r\nsemantic-release, version 8.0.8\r\npip freeze\r\naltgraph==0.17.3\r\nblinker==1.6.2\r\ncertifi==2023.7.22\r\ncffi==1.15.1\r\ncharset-normalizer==3.2.0\r\nclick==8.1.7\r\ncolorama==0.4.6\r\nconfigparser==6.0.0\r\ncoverage==7.3.0\r\ncryptography==41.0.3\r\ndefusedxml==0.7.1\r\ndistlib==0.3.7\r\ndotty-dict==1.3.1\r\nFlask==2.3.3\r\nfrom-root==1.3.0\r\ngitdb==4.0.10\r\nGitPython==3.1.34\r\nidna==3.4\r\nimportlib-metadata==6.8.0\r\nimportlib-resources==5.7.0\r\niniconfig==2.0.0\r\nitsdangerous==2.1.2\r\njaraco.classes==3.3.0\r\njeepney==0.8.0\r\nJinja2==3.1.2\r\njira==3.5.2\r\nkeyring==24.2.0\r\nldap3==2.9.1\r\nmarkdown-it-py==3.0.0\r\nMarkupSafe==2.1.3\r\nmdurl==0.1.2\r\nmocker==1.1.1\r\nmore-itertools==10.1.0\r\noauthlib==3.2.2\r\npackaging==23.1\r\npefile==2023.2.7\r\npluggy==1.3.0\r\npyasn1==0.5.0\r\npybuilder==0.13.10\r\npycparser==2.21\r\npycrest==0.0.6\r\npydantic==1.10.12\r\nPygments==2.16.1\r\nPyHamcrest==2.0.4\r\npyinstaller==5.13.2\r\npyinstaller-hooks-contrib==2023.8\r\nPyMySQL==1.1.0\r\npynsist==2.8\r\nPySimpleGUI==4.60.5\r\npytest==7.4.0\r\npytest-mock==3.11.1\r\npython-gitlab==3.15.0\r\npython-semantic-release==8.0.8\r\npywin32==306\r\npywin32-ctypes==0.2.2\r\nrequests==2.31.0\r\nrequests-oauthlib==1.3.1\r\nrequests-toolbelt==1.0.0\r\nrequests_download==0.1.2\r\nrich==13.5.2\r\nscreeninfo==0.8.1\r\nSecretStorage==3.3.3\r\nshellingham==1.5.3\r\nshutils==0.1.0\r\nsmmap==5.0.0\r\ntomlkit==0.12.1\r\ntyping_extensions==4.7.1\r\nurllib3==2.0.4\r\nWerkzeug==2.3.7\r\nyarg==0.1.9\r\nzipp==3.16.2\r\n\r\n```\r\n\r\nPlease also indicate which Python build tool(s) you are using (e.g. `pip`, `build`,\r\n`poetry`, etc.), including the version number too.\r\npybuilder, pip\r\n\r\n## Configuration\r\n\r\nPlease add your `semantic-release` configuration, and if applicable also provide\r\nyour `build-system` configuration from `pyproject.toml`.\r\n\r\npyproject.toml:\r\n```\r\n[build-system]\r\nrequires = [\"pybuilder\u003e=0.12.0\"]\r\nbuild-backend = \"pybuilder.pep517\"\r\n[ t o o l . s e m a n t i c _ r e l e a s e ] \r\n \r\n a s s e t s   =   [ ] \r\n \r\n c o m m i t _ m e s s a g e   =   \" { v e r s i o n } \\ n \\ n A u t o m a t i c a l l y   g e n e r a t e d   b y   p y t h o n - s e m a n t i c - r e l e a s e \" \r\n \r\n c o m m i t _ p a r s e r   =   \" a n g u l a r \" \r\n \r\n l o g g i n g _ u s e _ n a m e d _ m a s k s   =   f a l s e \r\n \r\n m a j o r _ o n _ z e r o   =   t r u e \r\n \r\n t a g _ f o r m a t   =   \" v { v e r s i o n } \" \r\n \r\n \r\n \r\n [ t o o l . s e m a n t i c _ r e l e a s e . b r a n c h e s . m a i n ] \r\n \r\n m a t c h   =   \" ( m a i n | m a s t e r ) \" \r\n \r\n p r e r e l e a s e _ t o k e n   =   \" r c \" \r\n \r\n p r e r e l e a s e   =   f a l s e \r\n \r\n \r\n \r\n [ t o o l . s e m a n t i c _ r e l e a s e . c h a n g e l o g ] \r\n \r\n t e m p l a t e _ d i r   =   \" t e m p l a t e s \" \r\n \r\n c h a n g e l o g _ f i l e   =   \" C H A N G E L O G . m d \" \r\n \r\n e x c l u d e _ c o m m i t _ p a t t e r n s   =   [ ] \r\n \r\n \r\n \r\n [ t o o l . s e m a n t i c _ r e l e a s e . c h a n g e l o g . e n v i r o n m e n t ] \r\n \r\n b l o c k _ s t a r t _ s t r i n g   =   \" { % \" \r\n \r\n b l o c k _ e n d _ s t r i n g   =   \" % } \" \r\n \r\n v a r i a b l e _ s t a r t _ s t r i n g   =   \" { { \" \r\n \r\n v a r i a b l e _ e n d _ s t r i n g   =   \" } } \" \r\n \r\n c o m m e n t _ s t a r t _ s t r i n g   =   \" { # \" \r\n \r\n c o m m e n t _ e n d _ s t r i n g   =   \" # } \" \r\n \r\n t r i m _ b l o c k s   =   f a l s e \r\n \r\n l s t r i p _ b l o c k s   =   f a l s e \r\n \r\n n e w l i n e _ s e q u e n c e   =   \" \\ n \" \r\n \r\n k e e p _ t r a i l i n g _ n e w l i n e   =   f a l s e \r\n \r\n e x t e n s i o n s   =   [ ] \r\n \r\n a u t o e s c a p e   =   t r u e \r\n \r\n \r\n \r\n [ t o o l . s e m a n t i c _ r e l e a s e . c o m m i t _ a u t h o r ] \r\n \r\n e n v   =   \" G I T _ C O M M I T _ A U T H O R \" \r\n \r\n d e f a u l t   =   \" s e m a n t i c - r e l e a s e   \u003c s e m a n t i c - r e l e a s e \u003e \" \r\n \r\n \r\n \r\n [ t o o l . s e m a n t i c _ r e l e a s e . c o m m i t _ p a r s e r _ o p t i o n s ] \r\n \r\n a l l o w e d _ t a g s   =   [ \" b u i l d \" ,   \" c h o r e \" ,   \" c i \" ,   \" d o c s \" ,   \" f e a t \" ,   \" f i x \" ,   \" p e r f \" ,   \" s t y l e \" ,   \" r e f a c t o r \" ,   \" t e s t \" ] \r\n \r\n m i n o r _ t a g s   =   [ \" f e a t \" ] \r\n \r\n p a t c h _ t a g s   =   [ \" f i x \" ,   \" p e r f \" ] \r\n \r\n \r\n \r\n [ t o o l . s e m a n t i c _ r e l e a s e . r e m o t e ] \r\n \r\n n a m e   =   \" o r i g i n \" \r\n \r\n t y p e   =   \" g i t h u b \" \r\n \r\n i g n o r e _ t o k e n _ f o r _ p u s h   =   f a l s e \r\n \r\n \r\n \r\n [ t o o l . s e m a n t i c _ r e l e a s e . r e m o t e . t o k e n ] \r\n \r\n e n v   =   \" G H _ T O K E N \" \r\n \r\n \r\n \r\n [ t o o l . s e m a n t i c _ r e l e a s e . p u b l i s h ] \r\n \r\n d i s t _ g l o b _ p a t t e r n s   =   [ \" d i s t / * \" ] \r\n \r\n u p l o a d _ t o _ v c s _ r e l e a s e   =   t r u e \r\n \r\n \r\n \r\n \r\n```\r\n\r\n## Logs\r\n\r\nPlease provide debug logs for the command you are using with the `-vv` flag, e.g.\r\n\r\n```\r\n[10:48:31] DEBUG    [semantic_release.cli.commands.main] DEBUG      main.py:101\r\n                    main.main: Forwarding to generate-config\r\n```\r\n\r\nIf using GitHub actions, ensure the `root_options` contains the `-vv` flag\r\nfor verbosity, and attach your workflow definition.\r\n\r\n## Additional context\r\n\r\ni can not add those NULs to the project.toml pasted here. so i attach a little screenshot:\r\n\r\n![Unbenannt](https://github.com/python-semantic-release/python-semantic-release/assets/117813624/2ea7c5a8-c975-4f6c-9978-faec1165483b)\r\n","author":{"url":"https://github.com/damnmso","@type":"Person","name":"damnmso"},"datePublished":"2023-09-07T08:50:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":18},"url":"https://github.com/702/python-semantic-release/issues/702"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:55ec7108-3465-07a6-5689-ac7f8982dead
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAAA4:189F37:FEC8B5:146D087:69923EF9
html-safe-nonce7e7317e5c3564156409034963dbf3899837bcae2f62f1a2c17cb46f0c381f442
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQUE0OjE4OUYzNzpGRUM4QjU6MTQ2RDA4Nzo2OTkyM0VGOSIsInZpc2l0b3JfaWQiOiI3MDc1NTcxNjQxMDgyODU1MTYyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacad056571eeb9b24de01c45565391e66bb85ff0a56f5b90bc4c3a40ecfb25a86e
hovercard-subject-tagissue:1885415327
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/python-semantic-release/python-semantic-release/702/issue_layout
twitter:imagehttps://opengraph.githubassets.com/87a7a5a47356419c3426819a38d9075fba352530ee302e0af882a12564f06747/python-semantic-release/python-semantic-release/issues/702
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/87a7a5a47356419c3426819a38d9075fba352530ee302e0af882a12564f06747/python-semantic-release/python-semantic-release/issues/702
og:image:altThe problem when i execute semantic-release generate-config -f toml --pyproject >> pyproject.toml it adds tons of NUL in the file. Its impossible to handle that. My IDE is pycharm. The same in note...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedamnmso
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-preview
go-importgithub.com/python-semantic-release/python-semantic-release git https://github.com/python-semantic-release/python-semantic-release.git
octolytics-dimension-user_id116517554
octolytics-dimension-user_loginpython-semantic-release
octolytics-dimension-repository_id39765732
octolytics-dimension-repository_nwopython-semantic-release/python-semantic-release
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id39765732
octolytics-dimension-repository_network_root_nwopython-semantic-release/python-semantic-release
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
release848bc6032dcc93a9a7301dcc3f379a72ba13b96e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-semantic-release/python-semantic-release/issues/702#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-semantic-release%2Fpython-semantic-release%2Fissues%2F702
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2Fpython-semantic-release%2Fpython-semantic-release%2Fissues%2F702
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=python-semantic-release%2Fpython-semantic-release
Reloadhttps://github.com/python-semantic-release/python-semantic-release/issues/702
Reloadhttps://github.com/python-semantic-release/python-semantic-release/issues/702
Reloadhttps://github.com/python-semantic-release/python-semantic-release/issues/702
python-semantic-release https://github.com/python-semantic-release
python-semantic-releasehttps://github.com/python-semantic-release/python-semantic-release
Notifications https://github.com/login?return_to=%2Fpython-semantic-release%2Fpython-semantic-release
Fork 264 https://github.com/login?return_to=%2Fpython-semantic-release%2Fpython-semantic-release
Star 1k https://github.com/login?return_to=%2Fpython-semantic-release%2Fpython-semantic-release
Code https://github.com/python-semantic-release/python-semantic-release
Issues 63 https://github.com/python-semantic-release/python-semantic-release/issues
Pull requests 24 https://github.com/python-semantic-release/python-semantic-release/pulls
Actions https://github.com/python-semantic-release/python-semantic-release/actions
Security 0 https://github.com/python-semantic-release/python-semantic-release/security
Insights https://github.com/python-semantic-release/python-semantic-release/pulse
Code https://github.com/python-semantic-release/python-semantic-release
Issues https://github.com/python-semantic-release/python-semantic-release/issues
Pull requests https://github.com/python-semantic-release/python-semantic-release/pulls
Actions https://github.com/python-semantic-release/python-semantic-release/actions
Security https://github.com/python-semantic-release/python-semantic-release/security
Insights https://github.com/python-semantic-release/python-semantic-release/pulse
New issuehttps://github.com/login?return_to=https://github.com/python-semantic-release/python-semantic-release/issues/702
New issuehttps://github.com/login?return_to=https://github.com/python-semantic-release/python-semantic-release/issues/702
#1400https://github.com/python-semantic-release/python-semantic-release/pull/1400
semantic-release generate-config --pyproject produces unreadable tomlhttps://github.com/python-semantic-release/python-semantic-release/issues/702#top
#1400https://github.com/python-semantic-release/python-semantic-release/pull/1400
bugSomething isn't working properlyhttps://github.com/python-semantic-release/python-semantic-release/issues?q=state%3Aopen%20label%3A%22bug%22
confirmedPrevent from becoming stalehttps://github.com/python-semantic-release/python-semantic-release/issues?q=state%3Aopen%20label%3A%22confirmed%22
good first issuea good start point for new contributorshttps://github.com/python-semantic-release/python-semantic-release/issues?q=state%3Aopen%20label%3A%22good%20first%20issue%22
needs-docsDocumentation needs to be updatedhttps://github.com/python-semantic-release/python-semantic-release/issues?q=state%3Aopen%20label%3A%22needs-docs%22
needs-updateNeeds status update from maintainershttps://github.com/python-semantic-release/python-semantic-release/issues?q=state%3Aopen%20label%3A%22needs-update%22
https://github.com/damnmso
https://github.com/damnmso
damnmsohttps://github.com/damnmso
on Sep 7, 2023https://github.com/python-semantic-release/python-semantic-release/issues/702#issue-1885415327
https://private-user-images.githubusercontent.com/117813624/266261350-2ea7c5a8-c975-4f6c-9978-faec1165483b.PNG?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzExOTIzNTgsIm5iZiI6MTc3MTE5MjA1OCwicGF0aCI6Ii8xMTc4MTM2MjQvMjY2MjYxMzUwLTJlYTdjNWE4LWM5NzUtNGY2Yy05OTc4LWZhZWMxMTY1NDgzYi5QTkc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwMjE1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDIxNVQyMTQ3MzhaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04ZDI3MWI2ZmUzNDVmMjdlNDI4OTUwOGNkZDIyNzEzMmZiZmQ0MDY5MDVkZGJkMjE1Y2E0NmRjMmNjM2E1MTdiJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.TWuieoc-OZohRRSVWLC53wXQe5xAgjoZ10SqY1I0d6Q
bugSomething isn't working properlyhttps://github.com/python-semantic-release/python-semantic-release/issues?q=state%3Aopen%20label%3A%22bug%22
confirmedPrevent from becoming stalehttps://github.com/python-semantic-release/python-semantic-release/issues?q=state%3Aopen%20label%3A%22confirmed%22
good first issuea good start point for new contributorshttps://github.com/python-semantic-release/python-semantic-release/issues?q=state%3Aopen%20label%3A%22good%20first%20issue%22
needs-docsDocumentation needs to be updatedhttps://github.com/python-semantic-release/python-semantic-release/issues?q=state%3Aopen%20label%3A%22needs-docs%22
needs-updateNeeds status update from maintainershttps://github.com/python-semantic-release/python-semantic-release/issues?q=state%3Aopen%20label%3A%22needs-update%22
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.