Seeed-Studio / Seeed_Platform

27 stars 24 forks source link

Where's source code repository? #7

Closed kekyo closed 6 years ago

kekyo commented 6 years ago

I wanna send PR :)

lanselambor commented 6 years ago

@kekyo Sorry we don't have each platform a independent repository, usually we change code in one way:

1.Clone this repository to local and extract the tar.bz package we want to modify., using command

 "tar -xvjf Seeeduino_Stalker_V3_1.0.2.tar.bz2".

2.After modification recompress it. Using command

"tar -cjvf Seeeduino_Stalker_V3_1.0.2.tar.bz Seeeduino_Stalker_V3_1.0.2"

the package version should be updated.

  1. Delete folder extracted before.
    rm -rf Seeeduino_Stalker_V3_1.0.2

    4.Calculate checksum,

    shasum -a 256 Seeeduino_Stalker_V3_1.0.2.tar.bz2
    e83f9547b33801e92426aa5b89cc04525908b2df1867f170be9fc73a09bd5358  Seeeduino_Stalker_V3_1.0.2.tar.bz2

    5.Get package size,

    ls -l Seeeduino_Stalker_V3_1.0.2.tar.bz2
    -rw-r--r--  1 lambor  staff  4890378  7 14 17:03 Seeeduino_Stalker_V3_1.0.2.tar.bz2

6.Copy the SHA code and package size to package_seeeduino_boards_index.json

{
                "name": "Seeeduino Stalker V3",
                "architecture": "Seeeduino_Stalker",
                "version": "1.0.2",
                "category": "Contributed",
                "help": {
                    "online": "http://www.seeedstudio.com/wiki/Main_Page"
                },
                "url": "https://raw.githubusercontent.com/Seeed-Studio/Seeed_Platform/master/Seeeduino_Stalker_V3_1.0.2.tar.bz2",
                "archiveFileName": "Seeeduino_Stalker_V3.tar.bz2",
                "checksum": "SHA-256:e83f9547b33801e92426aa5b89cc04525908b2df1867f170be9fc73a09bd5358",
                "size": "4890378",
                "boards": [
                    { "name": "Seeeduino Stalker V3" }
                ],
                "toolsDependencies": [{
                        "packager": "Seeeduino",
                        "name": "avr-gcc",
                        "version": "4.8.1-arduino5"
                    },
                    {
                        "packager": "Seeeduino",
                        "name": "avrdude",
                        "version": "6.0.1-arduino5"
                    }
                ]
            },
  1. Finally push new commit to repository.

If you are inconvenient to do so, please copy&past the code you modified in issues and leave a brief.

matsujirushi commented 6 years ago

@kekyo https://github.com/Seeed-Studio/Seeed_STM32F4