Skip to content

Howto use dedicated stage version #49

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
to-scho opened this issue Sep 4, 2017 · 15 comments
Closed

Howto use dedicated stage version #49

to-scho opened this issue Sep 4, 2017 · 15 comments

Comments

@to-scho
Copy link

to-scho commented Sep 4, 2017

Is there a way to install and select a dedicated commit# version from git? I want to use 2.4.0-RC1 but not floating latest git version. Regards Tobias


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@universam1
Copy link

universam1 commented Oct 17, 2017

same problem here @ivankravets , the git version bumped to rc2 which breaks a lot of stuff. So Staging is currently broken, can we somehow fix to a specific commit?

@ivankravets
Copy link
Member

@universam1 See https://travis-ci.org/esp8266/Arduino

How to reproduce your issue?

@universam1
Copy link

universam1 commented Oct 17, 2017

thanks @ivankravets here is my log output https://travis-ci.org/universam1/iSpindel

Currently ESPAsync is not compatible with 2.4 RC2, so my question is can we pin the stage to a commit like RC1 as a known good state?

The point is, since staging is actually development branch of Arduino, these things will happen over and over again. Thats why these issues are opened. Think there is no way around having this option.

@universam1
Copy link

universam1 commented Nov 1, 2017

Looks like I have to move away from PIO @ivankravets as building is broken now for a longer time. There are a number of open issues with https://github.com./me-no-dev/ESPAsyncTCP being outdated but important and we can't pin to a commit with PIO. So the only solution is using Arduino IDE again, too bad ...

@ivankravets
Copy link
Member

Could you try to use

lib_deps =
  https://github.com./me-no-dev/ESPAsyncTCP.git

Does it work with the development version?

@ivankravets
Copy link
Member

@me-no-dev could you publish a new release of https://github.com./me-no-dev/ESPAsyncTCP ?

Thanks!

@universam1
Copy link

@ivankravets This actually untied the knot, I'm extremly happy! 😄
Although it does not solve the original request, I can live with it for now and hope this does not return!

Thank you alot!

@me-no-dev
Copy link

@pfabri
Copy link

pfabri commented Nov 1, 2017

I'm really glad to see that a specific problem has been solved, nonetheless I would be very keen to know if there is a solution to the broader, original question:

Is it possible to use a specific staging version (like RC1) ?

Many thanks in advance!

@ivankravets
Copy link
Member

ivankravets commented Nov 1, 2017

@me-no-dev Thanks a lot!

@pfabri it is possible

  1. Fork https://github.com./platformio/platform-espressif8266
  2. Checkout to feature/stage branch
  3. Edit this line and replace something with this "version": "https://github.com./esp8266/Arduino.git#TAG", where TAG can be commit, branch or tag.

For example,

  • "version": "https://github.com./esp8266/Arduino.git#e68e3402fac85af65bf28473b4fa8dd8e0341763"

Now in your platformio.ini use

[env:...]
platform = https://github.com./MyUserName/platform-espressif8266.git#feature/stage

@ivankravets
Copy link
Member

I forgot, now in your platformio.ini use

[env:...]
platform = https://github.com./MyUserName/platform-espressif8266.git#feature/stage

@pfabri
Copy link

pfabri commented Nov 2, 2017

@ivankravets
That's really great, (and quick!) thank you for your help.

@tablatronix
Copy link

Why is this so hard? Surely there is an easier way to do this ?
Can we not just checkout any commit, and not have it overwritten by build process or something, or specify framework directory in platformio.ini

@pr8x
Copy link

pr8x commented Feb 17, 2018

So I tried the following:

platform = https://github.com./platformio/platform-espressif8266.git#feature/stage

But it won't run.

Unknown development platform 'espressif8266_stage'

@minida28
Copy link

For me, I need one more step:
In terminal, run pio update

@me-no-dev Thanks a lot!

@pfabri it is possible

  1. Fork https://github.com./platformio/platform-espressif8266
  2. Checkout to feature/stage branch
  3. Edit this line and replace something with this "version": "https://github.com./esp8266/Arduino.git#TAG", where TAG can be commit, branch or tag.

For example,

  • "version": "https://github.com./esp8266/Arduino.git#e68e3402fac85af65bf28473b4fa8dd8e0341763"

Now in your platformio.ini use

[env:...]
platform = https://github.com./MyUserName/platform-espressif8266.git#feature/stage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants