Coder Social home page Coder Social logo

altosterino / adr-py Goto Github PK

View Code? Open in Web Editor NEW
28.0 2.0 1.0 147 KB

ADR Tools but using Python

Makefile 2.79% Python 97.21%
architecture architecture-decision-records architecture-decisions documentation library python python-3 python3 architecture-decision cli

adr-py's Introduction

Hi ๐Ÿ‘‹, I'm Daniel

Python enthusiast, hobbyist and developer. Passionate about clean architecture and software architecture in general.

altosterino

  • ๐ŸŒฑ Iโ€™m currently learning Architecture and TypeScript

  • ๐Ÿ’ฌ Ask me about Python, Application Architecture, Clean Architecture

  • ๐Ÿ“ซ How to reach me [email protected]

Languages and Tools:

aws chartjs circleci django docker firebase flask git heroku linux mongodb nginx postgresql postman python redis travisci

adr-py's People

Contributors

altosterino avatar vicmattos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

vicmattos

adr-py's Issues

Init process does not work.

Hello, I just found this package and tried to adr init and adir init docs/adr and I get this error:

โ”‚ C:\Users\WolfI\Anaconda3\envs\saga-3.11\Lib\site-packages\adrpy\repositories\adr\repository.py:2 โ”‚
โ”‚ 0 in create                                                                                      โ”‚
โ”‚                                                                                                  โ”‚
โ”‚   17 โ”‚                                                                                           โ”‚
โ”‚   18 โ”‚   def create(self, adr_name: str, template: RenderedTemplate) -> None:                    โ”‚
โ”‚   19 โ”‚   โ”‚   print(self.settings)                                                                โ”‚
โ”‚ โฑ 20 โ”‚   โ”‚   self.settings.adr_dir.mkdir(parents=True, exist_ok=True)                            โ”‚
โ”‚   21 โ”‚   โ”‚   with open(                                                                          โ”‚
โ”‚   22 โ”‚   โ”‚   โ”‚   self.settings.adr_dir / self.__get_filename_with_extension(name=adr_name), "    โ”‚
โ”‚   23 โ”‚   โ”‚   ) as file:                                                                          โ”‚
โ”‚                                                                                                  โ”‚
โ”‚ โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ locals โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ โ”‚
โ”‚ โ”‚ adr_name = '0001-record-architecture-decisions'                                              โ”‚ โ”‚
โ”‚ โ”‚     self = <adrpy.repositories.adr.repository.ADRFileRepository object at                    โ”‚ โ”‚
โ”‚ โ”‚            0x000001ECF7D664D0>                                                               โ”‚ โ”‚
โ”‚ โ”‚ template = RenderedTemplate(                                                                 โ”‚ โ”‚
โ”‚ โ”‚            โ”‚   name='initial-adr.md',                                                        โ”‚ โ”‚
โ”‚ โ”‚            โ”‚   content='# 1. Record architecture decisions\n\nDate: 08/07/2024 10:37\n\n##   โ”‚ โ”‚
โ”‚ โ”‚            Status\n\nACCEPTED\n'+324                                                         โ”‚ โ”‚
โ”‚ โ”‚            )                                                                                 โ”‚ โ”‚
โ”‚ โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
AttributeError: 'NoneType' object has no attribute 'mkdir'

From the documentation, my understanding is I just run this and initializes the report to use adr properly? Namely, looks like self.settings.adr_dir is not being set.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.