{"id":25177745,"url":"https://github.com/cppvolodya/configurefilesforpvsstudio","last_synced_at":"2026-05-09T01:02:16.099Z","repository":{"id":186179947,"uuid":"674292627","full_name":"cppVolodya/ConfigureFilesForPvsStudio","owner":"cppVolodya","description":"Is a script that can add and remove special text on the very beginning file with a certain extension (.h, .hpp, *.cpp or custom extension). This special text is required for the static analyzer code in c++. ","archived":false,"fork":false,"pushed_at":"2023-08-04T19:32:58.000Z","size":14188,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T14:49:23.239Z","etag":null,"topics":["configure","linux","python","text-generation","windows"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cppVolodya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-03T15:28:38.000Z","updated_at":"2023-08-04T20:12:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"25e3898c-e520-4dd8-85c6-ac241ebf93e4","html_url":"https://github.com/cppVolodya/ConfigureFilesForPvsStudio","commit_stats":null,"previous_names":["cppvolodya/configurefilesforpvsstudio"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cppVolodya%2FConfigureFilesForPvsStudio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cppVolodya%2FConfigureFilesForPvsStudio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cppVolodya%2FConfigureFilesForPvsStudio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cppVolodya%2FConfigureFilesForPvsStudio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cppVolodya","download_url":"https://codeload.github.com/cppVolodya/ConfigureFilesForPvsStudio/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247113785,"owners_count":20885798,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["configure","linux","python","text-generation","windows"],"created_at":"2025-02-09T14:49:27.973Z","updated_at":"2026-05-09T01:02:09.038Z","avatar_url":"https://github.com/cppVolodya.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Configure Files For Pvs Studio\n\n## Roadmap\n\n- About\n- Tech\n- Demo\n- Run locally\n- Documentation\n## About\n\n\"Configure Files For Pvs Studio\" is a script that can add and remove special text on the very beginning file with a certain extension (*.h, *.hpp, *.cpp or custom extension). This special text is required for the static analyzer code in c++.\n## Tech Stack\n\n- python(v3.11.3)\n- operating systems(Windows, Linux)\n\n## Demo\n\n- Using the -add option:\n\nhttps://github.com/cppVolodya/ConfigureFilesForPvsStudio/assets/103601559/0a0119d8-e558-404b-b47c-41c918ed9049\n\n- Using the -delete option:\n\nhttps://github.com/cppVolodya/ConfigureFilesForPvsStudio/assets/103601559/b22018fb-1e03-4ba8-a1c8-d7c9b931ff98\n\n- Using the -extension option:\n\nhttps://github.com/cppVolodya/ConfigureFilesForPvsStudio/assets/103601559/7f3469a2-f2aa-436d-bdac-4e50f575ac4b\n\n## Run Locally\n\n#### To test the script, follow these steps:\n\n1. Clone or download (rar or zip file) the project:\n\n  ```bash\n  git clone https://github.com/cppVolodya/ConfigureFilesForPvsStudio.git\n  ```\n\n2. Go to the directory with the script:\n\n  ```bash\n  configure_files_for_pvs_studio/program/\n  ```\n  \n3. Choose Linux or Windows, depending on your operating system:\n- Windows\n\n  ```bash\n  configure_files_for_pvs_studio/program/windows/\n  ```\n\n- Linux\n\n    ```bash\n  configure_files_for_pvs_studio/program/linux/\n  ```\n\n4. Run the executable file with parameters (refer to the documentation below):\n- Windows\n\n  ```bash\n  ./configure_files_for_pvs_studio [-add directory1, ...] or [-remove directory1, ...] [-extensions extensions1, ...]\n  ```\n\n- Linux\n  ```bash\n  .\\configure_files_for_pvs_studio [-add directory1, ...] or [-remove directory1, ...] [-extensions extensions1, ...]\n  ```\n\n## Documentation\n\n- You need to choose one of the options: [-add directory1, ...] or [-remove directory1, ...].\n\n- If the directory contains subdirectories with files, the option [-add directory1, ...] or [-remove directory1, ...] will also be applied to them.\n\n- [-add directory1, ...](mandatory option) - adds a special text to the beginning of the files found in the directory you specified, provided that the special text was not added.\n\n- [-remove directory1, ...](mandatory option) - removes the special text at the beginning of the files found in the directory you specified, provided that the special text is present.\n\n- [-extensions extensions1, ...](optional option) - applies the [-add directory1, ...] or [-remove directory1, ...] option to files with the final extension you entered, if if this option is not specified, the default file extensions \".hpp\" , \".h\", \".cpp\" will be selected.\n\n- Special text that will be added or deleted as follows:\n  ```bash\n  \"// This is a personal academic project. Dear PVS-Studio, please check it.\\n\"\n  \"// PVS-Studio Static Code Analyzer for C, C++, C#, and Java: https://pvs-studio.com\\n\\n\"\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcppvolodya%2Fconfigurefilesforpvsstudio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcppvolodya%2Fconfigurefilesforpvsstudio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcppvolodya%2Fconfigurefilesforpvsstudio/lists"}